rhtyd commented on a change in pull request #2180: CLOUDSTACK-9999: vpc tiers 
do not work if vpc has more than 8 tiers
URL: https://github.com/apache/cloudstack/pull/2180#discussion_r132818429
 
 

 ##########
 File path: systemvm/patches/debian/config/opt/cloud/bin/merge.py
 ##########
 @@ -151,7 +151,7 @@ def processGuestNetwork(self, dbag):
         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:]
 
 Review comment:
   LGTM, same logic used at line 261
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to