Caches switch port, VLAN, VSID setting data WMI objects
The Hyper-V Neutron Agent, during its first loop, will iterate
over all the switch ports, checking their proper setup. In order
to avoid wasting time querying the necessary WMI objects for each
port, they are cached first.
Initialises the cache for the mentioned objects. Thus, they will be
retrieved from the cache while processing 'foo' port.
This will also improve the general performance of the agent.
Reviewed: https:/ /review. openstack. org/233655 /git.openstack. org/cgit/ stackforge/ networking- hyperv/ commit/ ?id=2abeee743ca 02b1263bf7fdea3 6509bab52b23d8
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2abeee743ca02b1 263bf7fdea36509 bab52b23d8
Author: Claudiu Belu <email address hidden>
Date: Mon Oct 12 15:58:23 2015 +0300
Caches switch port, VLAN, VSID setting data WMI objects
The Hyper-V Neutron Agent, during its first loop, will iterate
over all the switch ports, checking their proper setup. In order
to avoid wasting time querying the necessary WMI objects for each
port, they are cached first.
Initialises the cache for the mentioned objects. Thus, they will be
retrieved from the cache while processing 'foo' port.
This will also improve the general performance of the agent.
Partial-Bug: #1505196
Change-Id: I5a70600ffdb1aa 29d113972f13485 bbbb3138a47