summaryrefslogtreecommitdiffstats
path: root/deploy/config/vm_environment
diff options
context:
space:
mode:
authorYao Lu <lu.yao135@zte.com.cn>2016-11-17 16:02:52 +0800
committerYao Lu <lu.yao135@zte.com.cn>2016-11-19 09:36:40 +0000
commitea776f2faf1d99c49d3dcf256fd0eda840c83639 (patch)
tree45429fe147e03fb99446faa688bf29242c416c04 /deploy/config/vm_environment
parent463ab9c7337079a68491d2eccb1e3778a8ec4479 (diff)
add common config and parse it to prepare deploy
Change-Id: I864082b885a4c7117f0b546da602e9580e8ccf46 Signed-off-by: Yao Lu <lu.yao135@zte.com.cn>
Diffstat (limited to 'deploy/config/vm_environment')
-rw-r--r--deploy/config/vm_environment/zte-virtual1/deploy.yml20
-rw-r--r--deploy/config/vm_environment/zte-virtual1/network.yml50
2 files changed, 70 insertions, 0 deletions
diff --git a/deploy/config/vm_environment/zte-virtual1/deploy.yml b/deploy/config/vm_environment/zte-virtual1/deploy.yml
new file mode 100644
index 00000000..5390ecf9
--- /dev/null
+++ b/deploy/config/vm_environment/zte-virtual1/deploy.yml
@@ -0,0 +1,20 @@
+hosts:
+- name: 'Node5'
+ roles:
+ - 'CONTROLLER_LB'
+ - 'COMPUTER'
+ ip: '192.168.122.152'
+ password: 'ossdbg1'
+ interface:
+ - 'ens3':
+ - name: 'MANAGEMENT'
+ ip: '192.168.122.152'
+ - name: 'PUBLICAPI'
+ ip:
+ - name: 'physnet1'
+ ip:
+ - name: 'STORAGE'
+ ip:
+ 'ens8':
+ - name: 'EXTERNAL'
+ ip:
diff --git a/deploy/config/vm_environment/zte-virtual1/network.yml b/deploy/config/vm_environment/zte-virtual1/network.yml
new file mode 100644
index 00000000..50fca1be
--- /dev/null
+++ b/deploy/config/vm_environment/zte-virtual1/network.yml
@@ -0,0 +1,50 @@
+##############################################################################
+# Copyright (c) 2016 ZTE Coreporation and others.
+# hu.zhijiang@zte.com.cn
+# sun.jing22@zte.com.cn
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+network-config-metadata:
+ title: 'zte-virtual1 network config'
+ version: '0.1'
+ created: 'Mon Oct 31 2016'
+ comment:
+networks:
+- cidr: '192.168.122.0/24'
+ gateway: '192.168.122.1'
+ ip_ranges:
+ - 'start': '192.168.122.1'
+ 'end': '192.168.122.254'
+ name: 'MANAGEMENT'
+- cidr: '192.168.122.0/24'
+ gateway: '192.168.122.1'
+ ip_ranges:
+ - start: '192.168.122.1'
+ end: '192.168.122.254'
+ name: 'STORAGE'
+- cidr: '192.168.2.0/24'
+ gateway: '192.168.2.1'
+ ip_ranges:
+ - 'start': '192.168.2.1'
+ 'end': '192.168.2.254'
+ 'name': 'EXTERNAL'
+- cidr: '192.168.122.0/24'
+ gateway: '192.168.122.1'
+ ip_ranges:
+ - 'start': '192.168.122.1'
+ 'end': '192.168.122.254'
+ name: 'PUBLICAPI'
+- cidr: '192.168.122.0/24'
+ gateway: '192.168.122.1'
+ ip_ranges:
+ - 'start': '192.168.122.1'
+ 'end': '192.168.122.254'
+ name: 'physnet1'
+
+internal_vip: '192.168.122.144'
+
+public_vip: '192.168.122.144'