You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2017/08/12 23:19:57 UTC

[cloudstack] branch master updated: CLOUDSTACK-9999: vpc tiers do not work if vpc has more than 8 tiers (#2180)

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 <us...@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" <co...@cloudstack.apache.org>'].