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.
(cherry picked from commit 2abeee743ca02b1263bf7fdea36509bab52b23d8)
Reviewed: https:/ /review. openstack. org/268262 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=6952aea5289 24e6033c370cd7d 75f0a27db96993
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6952aea528924e6 033c370cd7d75f0 a27db96993
Author: Claudiu Belu <email address hidden>
Date: Fri Jan 15 19:49:22 2016 +0200
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.
(cherry picked from commit 2abeee743ca02b1 263bf7fdea36509 bab52b23d8)
Partial-Bug: #1505196
Change-Id: I5a70600ffdb1aa 29d113972f13485 bbbb3138a47