This is an automated email from the ASF dual-hosted git repository.

bhaisaab pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 6745f98  CLOUDSTACK-9999: vpc tiers do not work if vpc has more than 8 
tiers (#2180)
6745f98 is described below

commit 6745f984872b205b5a47ec230c832e981cd99ca0
Author: ustcweizhou <ustcweiz...@gmail.com>
AuthorDate: Sun Aug 13 01:19:51 2017 +0200

    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.
---
 systemvm/patches/debian/config/opt/cloud/bin/merge.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/systemvm/patches/debian/config/opt/cloud/bin/merge.py 
b/systemvm/patches/debian/config/opt/cloud/bin/merge.py
index 9c9b42a..1c9adf2 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/merge.py
+++ b/systemvm/patches/debian/config/opt/cloud/bin/merge.py
@@ -151,7 +151,7 @@ class updateDataBag:
         dp['add'] = d['add']
         dp['one_to_one_nat'] = False
         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 = PrivateGatewayHack.update_network_type_for_privategateway(dbag, 
dp)
         qf = QueueFile()

-- 
To stop receiving notification emails like this one, please contact
['"commits@cloudstack.apache.org" <commits@cloudstack.apache.org>'].

Reply via email to