summaryrefslogtreecommitdiffstats
path: root/deploy/template/network
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-08-13 08:26:05 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-08-13 08:26:05 +0000
commitade17ce57eb08dbf262cb9b6f1893367e2832dc1 (patch)
tree3f6c489086ca0f002f15114e71f4d64d1564f2b8 /deploy/template/network
parent7951b094df92c40417ec66c4be58871911bbed07 (diff)
parent10e776642a16b2584be88e5be8740f05535d7d06 (diff)
Merge "Add deploy scripts for compass"
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>