From 8c90b92f54a197b1177674589d42c884330b43a8 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 23 Jun 2017 16:13:12 -0700 Subject: Fix Yamllint Violations JIRA: PHAROS-298 Change-Id: I1c9afc9bfee4a60144b95bc38e2333260c95167a Signed-off-by: Trevor Bramwell --- config/pod1.yaml | 62 +++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 21 deletions(-) (limited to 'config') diff --git a/config/pod1.yaml b/config/pod1.yaml index c0314319..af5ada46 100644 --- a/config/pod1.yaml +++ b/config/pod1.yaml @@ -1,3 +1,4 @@ +--- ### POD descriptor file ### details: @@ -11,28 +12,40 @@ details: jumphost: name: pod1-jump node: - type: {baremetal|virtual} # can be virtual or baremetal + # type can be virtual or baremetal + type: {baremetal|virtual} vendor: supermicro model: S2600JF arch: {x86_64|aarch64} cpus: 2 - cpu_cflags: {broadwell|hasewell|etc} # add values based on CFLAGS in GCC - cores: 10 # physical cores, not including hyper-threads + # add values based on CFLAGS in GCC + cpu_cflags: {broadwell|hasewell|etc} + # physical cores, not including hyper-threads + cores: 10 memory: 32G - disks: # disk list - - name: {disk#number} # first disk - disk_capacity: {M|MB|G|GB|T|TB} # volume - disk_type: {hdd|ssd|cdrom|tape} # several disk types possible - disk_interface: {sata|sas|ssd|nvme} # several interface types possible - disk_rotation: {5400|7200|10000|15000} # define rotation speed of disk - - name: 'disk2' # second disk + # disk list + disks: + # first disk + - name: {disk#number} + # volume + disk_capacity: {M|MB|G|GB|T|TB} + # several disk types possible + disk_type: {hdd|ssd|cdrom|tape} + # several interface types possible + disk_interface: {sata|sas|ssd|nvme} + # define rotation speed of disk + disk_rotation: {5400|7200|10000|15000} + # second disk + - name: 'disk2' disk_capacity: 2048G disk_type: hdd disk_interface: sas disk_rotation: 15000 - os: ubuntu-14.04 #operation system installed + # operation system installed + os: ubuntu-14.04 remote_para: &remoteparas - type: {ipmi|amt} # hardware manggement tool + # hardware manggement tool + type: {ipmi|amt} versions: - 1.0 - 2.0 @@ -42,17 +55,23 @@ jumphost: <<: *remoteparas address: 10.4.7.3/24 mac_address: "10:23:45:67:89:AC" - interfaces: # physical interface list - - nic: {nic#number} # first interface - address: 192.168.100.1 # ip address of nic + # physical interface list + interfaces: + # first interface + - nic: {nic#number} + # ip address of nic + address: 192.168.100.1 mac_address: "10:23:45:67:89:AC" - vlan: {native|1-4095} # vlan tag, may have multiple tags - - nic: 'nic2' # second interface + # vlan tag, may have multiple tags + vlan: {native|1-4095} + # second interface + - nic: 'nic2' address: 10.20.0.1/24 mac_address: "10:23:45:67:89:5B" nodes: - name: pod1-node1 - node: &nodeparas # for nodes in the same pod may have the same configuration + # for nodes in the same pod may have the same configuration + node: &nodeparas type: baremetal vendor: supermicro model: S2600JF @@ -61,7 +80,8 @@ nodes: cpu_cflags: hasewell cores: 12 memory: 128G - disks: &disks # for nodes in the same pod may have the same configuration + # for nodes in the same pod may have the same configuration + disks: &disks - name: 'disk1' disk_capacity: 4906G disk_type: hdd @@ -106,7 +126,8 @@ nodes: vlan: 204 - name: pod1-node2 node: *nodeparas - disks: *disks # disks are same as pod1-node1 + # disks are same as pod1-node1 + disks: *disks remote_mangement: <<: *remoteparas address: 10.4.7.8/24 @@ -133,4 +154,3 @@ nodes: speed: 10gb features: 'dpdk|sriov' mac_address: "00:1b:21:22:f8:b5" - -- cgit 1.2.3-korg