cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [2/7] git commit: updated refs/heads/master to 11dd9fb
Date Thu, 08 Dec 2016 11:49:11 GMT
CLOUDSTACK-9659: mismatch in traffic type in ip_associations.json and ips.json

As part of the bug 'CLOUDSTACK-9339 Virtual Routers don't handle Multiple Public Interfaces
correctly'
issue of mismatch of traffic type represented by 'nw_type' in config sent by management server
in
ip_associations.json and how it is persisted in the ips.json data bag are differnet,
is addressed, however missed the change in final merge.
this bug is to add the functionality in cs_ip.py, to lower the traffic type sent by management
server before persisting in the ips.json databag


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8b4c36ef
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8b4c36ef
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8b4c36ef

Branch: refs/heads/master
Commit: 8b4c36ef501a96742c52b4d532cc3adda25aa71b
Parents: de7a06e
Author: Murali Reddy <muralimmreddy@gmail.com>
Authored: Thu Dec 8 14:19:01 2016 +0530
Committer: Murali Reddy <muralimmreddy@gmail.com>
Committed: Thu Dec 8 14:19:01 2016 +0530

----------------------------------------------------------------------
 systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8b4c36ef/systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py
----------------------------------------------------------------------
diff --git a/systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py b/systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py
index c34fc01..1ce78f9 100755
--- a/systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py
+++ b/systemvm/patches/debian/config/opt/cloud/bin/cs_ip.py
@@ -41,6 +41,8 @@ def merge(dbag, ip):
     ip['network'] = str(ipo.network) + '/' + str(ipo.prefixlen)
     if 'nw_type' not in ip.keys():
         ip['nw_type'] = 'public'
+    else:
+        ip['nw_type'] = ip['nw_type'].lower()
     if ip['nw_type'] == 'control':
         dbag['eth' + str(nic_dev_id)] = [ip]
     else:


Mime
View raw message