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 2016/10/25 10:22:08 UTC

[1/4] git commit: updated refs/heads/4.9 to 770397c

Repository: cloudstack
Updated Branches:
  refs/heads/4.9 1f50c27fc -> 770397c0a


CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical network

fix to ensure only physical network with guest traffic is picked up for
creating a private network for vpc private gateway


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

Branch: refs/heads/4.9
Commit: 5728ad03caf0580970f2c8226cae4440e12f4d92
Parents: fae9034
Author: Murali Reddy <mu...@gmail.com>
Authored: Mon Oct 24 15:15:35 2016 +0530
Committer: Murali Reddy <mu...@gmail.com>
Committed: Mon Oct 24 15:15:35 2016 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_privategw_acl.py | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5728ad03/test/integration/smoke/test_privategw_acl.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_privategw_acl.py b/test/integration/smoke/test_privategw_acl.py
index 33a5d3f..1a86175 100644
--- a/test/integration/smoke/test_privategw_acl.py
+++ b/test/integration/smoke/test_privategw_acl.py
@@ -867,5 +867,12 @@ class TestPrivateGwACL(cloudstackTestCase):
         if not physical_networks:
             return None
         for physical_network in physical_networks:
-            if physical_network.vlan:
-                return physical_network
+            if not physical_network.removed and physical_network.vlan:
+                traffic_type_list = self.dbclient.execute(
+                    "select traffic_type from physical_network_traffic_types where physical_network_id=\
+                    (select id from physical_network where uuid='%s');" % physical_network.id
+                )
+                for traffic_type in traffic_type_list:
+                    if "Guest" in  str(traffic_type[0]):
+                        return physical_network
+        return None


[2/4] git commit: updated refs/heads/4.9 to 770397c

Posted by bh...@apache.org.
CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical network

fix to ensure only physical network with guest traffic is picked up for
creating a private network for vpc private gateway

Signed-off-by: Murali Reddy <mu...@gmail.com>

This closes #1724


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

Branch: refs/heads/4.9
Commit: e1202a0b06d687438203af4917badef3b3618e21
Parents: fae9034
Author: Murali Reddy <mu...@gmail.com>
Authored: Mon Oct 24 15:15:35 2016 +0530
Committer: Murali Reddy <mu...@gmail.com>
Committed: Tue Oct 25 13:31:35 2016 +0530

----------------------------------------------------------------------
 test/integration/smoke/test_privategw_acl.py | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e1202a0b/test/integration/smoke/test_privategw_acl.py
----------------------------------------------------------------------
diff --git a/test/integration/smoke/test_privategw_acl.py b/test/integration/smoke/test_privategw_acl.py
index 33a5d3f..1a86175 100644
--- a/test/integration/smoke/test_privategw_acl.py
+++ b/test/integration/smoke/test_privategw_acl.py
@@ -867,5 +867,12 @@ class TestPrivateGwACL(cloudstackTestCase):
         if not physical_networks:
             return None
         for physical_network in physical_networks:
-            if physical_network.vlan:
-                return physical_network
+            if not physical_network.removed and physical_network.vlan:
+                traffic_type_list = self.dbclient.execute(
+                    "select traffic_type from physical_network_traffic_types where physical_network_id=\
+                    (select id from physical_network where uuid='%s');" % physical_network.id
+                )
+                for traffic_type in traffic_type_list:
+                    if "Guest" in  str(traffic_type[0]):
+                        return physical_network
+        return None


[4/4] git commit: updated refs/heads/4.9 to 770397c

Posted by bh...@apache.org.
Merge branch '4.8' into 4.9


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

Branch: refs/heads/4.9
Commit: 770397c0a1c6d10d66331ffe96732bfd0c780ba7
Parents: 1f50c27 5a2a2f4
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Tue Oct 25 15:51:44 2016 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Tue Oct 25 15:51:44 2016 +0530

----------------------------------------------------------------------

----------------------------------------------------------------------



[3/4] git commit: updated refs/heads/4.9 to 770397c

Posted by bh...@apache.org.
Merge pull request #1724 from murali-reddy/test_privategw_acl

CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical network
fix to ensure only physical network with guest traffic is picked up for
creating a private network for vpc private gateway

* pr/1724:
  CLOUDSTACK-9511: fix test_privategw_acl.py to handle multiple physical network

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


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

Branch: refs/heads/4.9
Commit: 5a2a2f41b696bba7a43e528fcf2f1c0571d52b16
Parents: e1202a0 5728ad0
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Tue Oct 25 15:50:44 2016 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Tue Oct 25 15:50:44 2016 +0530

----------------------------------------------------------------------

----------------------------------------------------------------------