config-perf: Simplify port-list implementation and fetch exactly needed nets/ips/VMs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Hampapur Ajay | ||
R2.0 |
Fix Committed
|
High
|
Hampapur Ajay | ||
R2.1 |
Fix Committed
|
High
|
Hampapur Ajay |
Bug Description
Instead of different callers of _port_list() gathering the needed nets/ips/VMs implement this fetch for memo needs within _port_list() definition. So a port list will always involve constant order round-trip times and the fetch is exactly for the data that is needed (fixes the bug where incorrectly all VMs were fetched in below snippet)
- for vmi_obj in all_port_objs:
- if vmi_obj.
- device_
- port_net_objs, port_vm_objs = self._port_
- device_ids)
Changed in juniperopenstack: | |
assignee: | nobody → Hampapur Ajay (hajay) |
Changed in juniperopenstack: | |
importance: | Undecided → High |
tags: | added: config |
Review in progress for https:/ /review. opencontrail. org/8380
Submitter: Hampapur Ajay (<email address hidden>)