Create a new object instead of querying the default one
Currently, a WMI Setting Data (Port VLAN, Port Security) is created
by querying the default object. Under large scale environments,
this can lead to huge execution times, as the query takes longer to
complete. This can lead to late port binding and missed DHCP
requests, leaving the VM with no IP.
A solution for this is to create the needed object (.new()) instead
of querying the default one.
(cherry picked from commit 9f6241e0a63a2bd36392eeb3c997786d53119a39)
Reviewed: https:/ /review. openstack. org/281877 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=c9b8284df30 29d400a977d7cc9 def4c0565cede7
Committed: https:/
Submitter: Jenkins
Branch: master
commit c9b8284df3029d4 00a977d7cc9def4 c0565cede7
Author: Claudiu Belu <email address hidden>
Date: Thu Feb 18 15:59:36 2016 +0200
Create a new object instead of querying the default one
Currently, a WMI Setting Data (Port VLAN, Port Security) is created
by querying the default object. Under large scale environments,
this can lead to huge execution times, as the query takes longer to
complete. This can lead to late port binding and missed DHCP
requests, leaving the VM with no IP.
A solution for this is to create the needed object (.new()) instead
of querying the default one.
(cherry picked from commit 9f6241e0a63a2bd 36392eeb3c99778 6d53119a39)
Change-Id: Ib492afe5387373 a40d964e76fa6b4 b0ee3b5666d
Partial-Bug: #1505196