summaryrefslogtreecommitdiffstats
path: root/deploy/template/network
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-08-10 23:02:31 -0400
committercarey.xu <carey.xuhan@huawei.com>2015-08-13 04:24:03 -0400
commit10e776642a16b2584be88e5be8740f05535d7d06 (patch)
treebf386defd6cde54c6003a3855fb852fe1806bdd7 /deploy/template/network
parent5aedf594112c0749b6e9039d15b9fe70d210a942 (diff)
Add deploy scripts for compass
JIRA: COMPASS-11 Change-Id: Id588912c73b424228b6f01cd47fd282d040f7b8f Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/template/network')
-rw-r--r--deploy/template/network/bridge.xml5
-rw-r--r--deploy/template/network/nat.xml10
2 files changed, 15 insertions, 0 deletions
diff --git a/deploy/template/network/bridge.xml b/deploy/template/network/bridge.xml
new file mode 100644
index 00000000..0555a4e0
--- /dev/null
+++ b/deploy/template/network/bridge.xml
@@ -0,0 +1,5 @@
+<network ipv6='no'>
+ <name>REPLACE_NAME</name>
+ <forward mode='bridge'>
+ </forward>
+</network>
diff --git a/deploy/template/network/nat.xml b/deploy/template/network/nat.xml
new file mode 100644
index 00000000..358fb50d
--- /dev/null
+++ b/deploy/template/network/nat.xml
@@ -0,0 +1,10 @@
+<network ipv6='yes'>
+ <name>REPLACE_NAME</name>
+ <forward mode='nat'/>
+ <bridge name='REPLACE_BRIDGE'/>
+ <ip address='REPLACE_GATEWAY' netmask='REPLACE_MASK'>
+ <!--dhcp>
+ <range start='REPLACE_START' end='REPLACE_END'/>
+ </dhcp-->
+ </ip>
+</network>