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.
Reviewed: https:/ /review. openstack. org/253625 /git.openstack. org/cgit/ openstack/ networking- hyperv/ commit/ ?id=9f6241e0a63 a2bd36392eeb3c9 97786d53119a39
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9f6241e0a63a2bd 36392eeb3c99778 6d53119a39
Author: Claudiu Belu <email address hidden>
Date: Fri Dec 4 19:13:00 2015 +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.
Change-Id: Ib492afe5387373 a40d964e76fa6b4 b0ee3b5666d
Partial-Bug: #1505196