summaryrefslogtreecommitdiffstats
path: root/compass/deploy/template/network
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-07-06 16:45:40 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-07-08 10:18:44 +0800
commit99c363dbd827c430cf2bed2cd27c66be4642bae2 (patch)
treef6af62c3301d58d8c7d49f2a34ef73c3112309e3 /compass/deploy/template/network
parented3731988cdc90066aa4c8e6147f1acbc6622df8 (diff)
speed up the installation of compass
BGS-83 Change-Id: I0dada0a6c4fc6b9dda9fe586b0371ba543045057 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'compass/deploy/template/network')
-rw-r--r--compass/deploy/template/network/bridge.xml5
-rw-r--r--compass/deploy/template/network/nat.xml10
2 files changed, 15 insertions, 0 deletions
diff --git a/compass/deploy/template/network/bridge.xml b/compass/deploy/template/network/bridge.xml
new file mode 100644
index 0000000..6202cf1
--- /dev/null
+++ b/compass/deploy/template/network/bridge.xml
@@ -0,0 +1,5 @@
+<network ipv6='no'>
+ <name>REPLACE_NAME</name>
+ <forward mode='bridge'>
+ </forward>
+</network>
diff --git a/compass/deploy/template/network/nat.xml b/compass/deploy/template/network/nat.xml
new file mode 100644
index 0000000..90ce888
--- /dev/null
+++ b/compass/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>