cloudstack/plugins
Rohit Yadav 1f2184800b Merge pull request #1681 from murali-reddy/router_eth_device_index
CLOUDSTACK-9491: incorrect parsing of device list to find ethernet index of plugged NICIn VmwareResource, findRouterEthDeviceIndex() method find ethernet interface index given
the mac address. This method is used, once a nic is plugged to determine ethernet interface.
"/proc/sys/net/ipv4/conf" from the VR and looped through the devices to find the right
ethernet interface. Howver current logic read it once, and loops through the device list.
Its observerd device may not show up '/proc/sys/net/ipv4/conf' immediatly once NIC is plugged
in the VM from vCenter.

Fix ensured, while waiting for 15 sec in the loop, read the latest content from /proc/sys/net/ipv4/conf
, so that right device list is processed.

Manual tested VPC scenarios of adding new tiers which uses findRouterEthDeviceIndex, to find the guest/public network ethernet index.

* pr/1681:
  CLOUDSTACK-9491: incorrect parsing of device list to find ethernet index of plugged NIC

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-11-23 14:28:12 +05:30
..
acl Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
affinity-group-processors Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
alert-handlers Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
api Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
database Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
dedicated-resources Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
deployment-planners Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
event-bus Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
file-systems/netapp Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
ha-planners/skip-heurestics Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
host-allocators/random Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
hypervisors Merge pull request #1681 from murali-reddy/router_eth_device_index 2016-11-23 14:28:12 +05:30
network-elements Merge branch '4.8' into 4.9 2016-11-03 16:52:08 +05:30
outofbandmanagement-drivers/ipmitool Updating pom.xml version numbers for release 4.9.1.0-SNAPSHOT 2016-08-19 13:53:39 +05:30
storage Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
storage-allocators/random Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
user-authenticators Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
pom.xml Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30