aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorliyuenan <liyuenan@huawei.com>2016-12-27 17:44:34 +0800
committerliyuenan <liyuenan@huawei.com>2017-01-05 09:42:35 +0800
commit92f6ca7bb6d7b2f295406aab34094b1dba76ff94 (patch)
treec4e62927a3bf9862f7ba9ce286cbece2c4335ef4 /config
parent6072a49adb33f2bce3f48b9c7b8be7d96cf8501c (diff)
Yamllint test
JIRA: COMPASS-516 Change-Id: I482ce9bc86f4f963258c5b8823e0b00e83556eef Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'config')
-rw-r--r--config/deploy.yml1
-rw-r--r--config/network.yml20
-rw-r--r--config/pod-config.yml17
3 files changed, 23 insertions, 15 deletions
diff --git a/config/deploy.yml b/config/deploy.yml
index 212a423..65d9b5f 100644
--- a/config/deploy.yml
+++ b/config/deploy.yml
@@ -1,3 +1,4 @@
+---
global_settins:
name: example_deployment
installer: compass
diff --git a/config/network.yml b/config/network.yml
index 4c7e95f..46ac87c 100644
--- a/config/network.yml
+++ b/config/network.yml
@@ -1,7 +1,9 @@
+---
node_network:
nic_mappings:
- name: eth0
- bdf: 02:00.1 #pci bus/device/function
+ # pci bus/device/function
+ bdf: 02:00.1
- name: eth1
bdf: 02:00.2
@@ -59,27 +61,27 @@ node_network:
subnets:
- name: install
ip_ranges:
- - - "10.1.0.1"
- - "10.1.0.254"
+ - - "10.1.0.1"
+ - "10.1.0.254"
cidr: "10.1.0.0/24"
- name: mgmt
ip_ranges:
- - - "172.16.1.1"
- - "172.16.1.254"
+ - - "172.16.1.1"
+ - "172.16.1.254"
cidr: "172.16.1.0/24"
vip: 172.16.1.222
- name: storage
ip_ranges:
- - - "172.16.2.1"
- - "172.16.2.254"
+ - - "172.16.2.1"
+ - "172.16.2.254"
cidr: "172.16.2.0/24"
- name: public
ip_ranges:
- - - "192.168.50.210"
- - "192.168.50.220"
+ - - "192.168.50.210"
+ - "192.168.50.220"
cidr: "192.168.50.0/24"
gw: "192.168.50.1"
vip: 192.168.50.240
diff --git a/config/pod-config.yml b/config/pod-config.yml
index 49c90cb..34498ff 100644
--- a/config/pod-config.yml
+++ b/config/pod-config.yml
@@ -1,9 +1,10 @@
-
+---
nodes:
- name: host1
tags: control
arch: "x86_64"
- mac_address: '11:22:33:44:55' # PXE install nic MAC
+ # PXE install nic MAC
+ mac_address: '11:22:33:44:55'
# for virtual deployment
cpus: 2
@@ -20,7 +21,8 @@ nodes:
- name: host2
tags: control
arch: "x86_64"
- mac_address: '11:22:33:44:56' # PXE install nic MAC
+ # PXE install nic MAC
+ mac_address: '11:22:33:44:56'
# for virtual deployment
cpus: 2
@@ -37,7 +39,8 @@ nodes:
- name: host3
tags: control
arch: "x86_64"
- mac_address: '11:22:33:44:57' # PXE install nic MAC
+ # PXE install nic MAC
+ mac_address: '11:22:33:44:57'
# for virtual deployment
cpus: 2
@@ -54,7 +57,8 @@ nodes:
- name: host4
tags: compute
arch: "x86_64"
- mac_address: '11:22:33:44:57' # PXE install nic MAC
+ # PXE install nic MAC
+ mac_address: '11:22:33:44:57'
# for virtual deployment
cpus: 2
@@ -71,7 +75,8 @@ nodes:
- name: host5
tags: compute
arch: "x86_64"
- mac_address: '11:22:33:44:58' # PXE install nic MAC
+ # PXE install nic MAC
+ mac_address: '11:22:33:44:58'
# for virtual deployment
cpus: 2