CLOUDSTACK-9999: vpc tiers do not work if vpc has more than 8 tiers (#2180)

In the VR, deviceid of eth1X should be 1X (eth10->10, eth11->11), not 1.
This commit is contained in:
ustcweizhou 2017-08-13 01:19:51 +02:00 committed by Rohit Yadav
parent 17bc6afc82
commit 6745f98487

View File

@ -151,7 +151,7 @@ class updateDataBag:
dp['add'] = d['add'] dp['add'] = d['add']
dp['one_to_one_nat'] = False dp['one_to_one_nat'] = False
dp['gateway'] = d['router_guest_gateway'] dp['gateway'] = d['router_guest_gateway']
dp['nic_dev_id'] = d['device'][3] dp['nic_dev_id'] = d['device'][3:]
dp['nw_type'] = 'guest' dp['nw_type'] = 'guest'
dp = PrivateGatewayHack.update_network_type_for_privategateway(dbag, dp) dp = PrivateGatewayHack.update_network_type_for_privategateway(dbag, dp)
qf = QueueFile() qf = QueueFile()