config-openstack: optimize port-list when filtered by device-ids

Bug #1418380 reported by Hampapur Ajay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R1.1
Fix Committed
High
Hampapur Ajay
R2.0
Fix Committed
High
Hampapur Ajay
R2.1
Fix Committed
High
Hampapur Ajay
Trunk
Fix Committed
High
Hampapur Ajay

Bug Description

When a neutron port list is issued with list of device-ids in filter (as happens during nova boot), currently the neutron backend code iterates over the device-ids and fetches the port info from api-server. In scale tests with lots of VMs this causes excessive round-trips. Reduce the round-trips and fetch info one-shot with anchor of the device-ids as back-ref.

Tags: config neutron
Hampapur Ajay (hajay)
Changed in juniperopenstack:
assignee: nobody → Hampapur Ajay (hajay)
importance: Undecided → High
tags: added: config
tags: added: neutron
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/7063
Committed: http://github.org/Juniper/contrail-controller/commit/eb402d0580f3f2133517bae786986273cb392276
Submitter: Zuul
Branch: R1.10

commit eb402d0580f3f2133517bae786986273cb392276
Author: Hampapur Ajay <email address hidden>
Date: Wed Feb 4 23:43:26 2015 -0800

config-openstack: reduce roundtrip in port-list by device-id filter

Reduce round-trip by fetching information about port-details with
backref anchor of device id. Also return matching routers (which too have a
device id) port.

Change-Id: Iacb5a48a7ccd5cf8207a397456a40b48a9889525
Closes-Bug: #1418380
(cherry picked from commit 81b8fbca1eb52f814019fe46ee551483b71015c6)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/7061
Committed: http://github.org/Juniper/contrail-controller/commit/1b051bcac37e599a74abcba948998571d81fdaca
Submitter: Zuul
Branch: R2.1

commit 1b051bcac37e599a74abcba948998571d81fdaca
Author: Hampapur Ajay <email address hidden>
Date: Wed Feb 4 23:43:26 2015 -0800

config-openstack: reduce roundtrip in port-list by device-id filter

Reduce round-trip by fetching information about port-details with
backref anchor of device id. Also return matching routers (which too have a
device id) port.

Change-Id: Iacb5a48a7ccd5cf8207a397456a40b48a9889525
Closes-Bug: #1418380
(cherry picked from commit 81b8fbca1eb52f814019fe46ee551483b71015c6)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/7060
Committed: http://github.org/Juniper/contrail-controller/commit/3bf41dda46ac45f0040b3c8a9a74422d455554c3
Submitter: Zuul
Branch: master

commit 3bf41dda46ac45f0040b3c8a9a74422d455554c3
Author: Hampapur Ajay <email address hidden>
Date: Wed Feb 4 23:43:26 2015 -0800

config-openstack: reduce roundtrip in port-list by device-id filter

Reduce round-trip by fetching information about port-details with
backref anchor of device id. Also return matching routers (which too have a
device id) port.

Change-Id: Iacb5a48a7ccd5cf8207a397456a40b48a9889525
Closes-Bug: #1418380

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/7062
Committed: http://github.org/Juniper/contrail-controller/commit/5ee810e747fc8f2ebe1871ca0983182efb84b242
Submitter: Zuul
Branch: R2.0

commit 5ee810e747fc8f2ebe1871ca0983182efb84b242
Author: Hampapur Ajay <email address hidden>
Date: Wed Feb 4 23:43:26 2015 -0800

config-openstack: reduce roundtrip in port-list by device-id filter

Reduce round-trip by fetching information about port-details with
backref anchor of device id. Also return matching routers (which too have a
device id) port.

Change-Id: Iacb5a48a7ccd5cf8207a397456a40b48a9889525
Closes-Bug: #1418380
(cherry picked from commit 81b8fbca1eb52f814019fe46ee551483b71015c6)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.