cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seb...@apache.org
Subject [05/50] cloudstack-ec2stack git commit: Add vpc templates
Date Tue, 05 May 2015 13:25:58 GMT
Add vpc templates


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

Branch: refs/heads/master
Commit: bd274046910b2901333711ff5396d61ae98340e2
Parents: 2260ea0
Author: BroganD1993 <darrenbrogan@hotmail.com>
Authored: Tue Jul 15 20:20:17 2014 +0100
Committer: BroganD1993 <darrenbrogan@hotmail.com>
Committed: Tue Jul 15 20:20:17 2014 +0100

----------------------------------------------------------------------
 ec2stack/templates/create_vpc.xml |  9 +++++++++
 ec2stack/templates/vpcs.xml       | 13 +++++++++++++
 2 files changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/bd274046/ec2stack/templates/create_vpc.xml
----------------------------------------------------------------------
diff --git a/ec2stack/templates/create_vpc.xml b/ec2stack/templates/create_vpc.xml
new file mode 100644
index 0000000..99f8624
--- /dev/null
+++ b/ec2stack/templates/create_vpc.xml
@@ -0,0 +1,9 @@
+{% extends "response.xml" %}
+{% block response_content %}
+   <vpc>
+      <vpcId>{{ vpc.id }}</vpcId>
+      <state>{{ vpc.state}}</state>
+      <cidrBlock>{{ vpc.cidr }}</cidrBlock>
+      <tagSet/>
+   </vpc>
+{% endblock %}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cloudstack-ec2stack/blob/bd274046/ec2stack/templates/vpcs.xml
----------------------------------------------------------------------
diff --git a/ec2stack/templates/vpcs.xml b/ec2stack/templates/vpcs.xml
new file mode 100644
index 0000000..036e1bb
--- /dev/null
+++ b/ec2stack/templates/vpcs.xml
@@ -0,0 +1,13 @@
+{% extends "response.xml" %}
+{% block response_content %}
+    <vpcSet>
+        {% for vpc in response.vpc %}
+        <item>
+            <vpcId>{{ vpc.id }}</vpcId>
+            <state>{{ vpc.state}}</state>
+            <cidrBlock>{{ vpc.cidr }}</cidrBlock>
+            <tagSet/>
+        </item>
+        {% endfor %}
+    </vpcSet>
+{% endblock %}


Mime
View raw message