You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ts...@apache.org on 2012/09/12 15:24:10 UTC

[11/37] git commit: IP ranges for public network in an EIP enabled zone

IP ranges for public network in an EIP enabled zone


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

Branch: refs/heads/master
Commit: 3eb75b57af4efd1772882caf84947e8ae7130dab
Parents: cd77e42
Author: Prasanna Santhanam <ts...@apache.org>
Authored: Tue Sep 4 11:02:33 2012 +0530
Committer: Prasanna Santhanam <ts...@apache.org>
Committed: Wed Sep 12 18:48:33 2012 +0530

----------------------------------------------------------------------
 tools/marvin/marvin/configGenerator.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/3eb75b57/tools/marvin/marvin/configGenerator.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/configGenerator.py b/tools/marvin/marvin/configGenerator.py
index 7cda6ae..11fbce9 100644
--- a/tools/marvin/marvin/configGenerator.py
+++ b/tools/marvin/marvin/configGenerator.py
@@ -384,6 +384,14 @@ def describe_setup_in_eip_mode():
         z.internaldns2 = "192.168.110.253"
         z.name = "test"+str(l)
         z.networktype = 'Basic'
+
+        ips = iprange()
+        ips.vlan = "49"
+        ips.startip = "10.147.49.200"
+        ips.endip = "10.147.49.250"
+        ips.gateway = "10.147.49.1"
+        ips.netmask = "255.255.255.0"
+        z.ipranges.append(ips)
         
         #If security groups are reqd
         sgprovider = provider()