diff options
-rw-r--r-- | .yamllint | 8 | ||||
-rw-r--r-- | INFO | 6 | ||||
-rw-r--r-- | config/installers/fuel/pod_config.yml.j2 | 228 | ||||
-rw-r--r-- | config/pdf/pod1.encrypted.yaml | 4 | ||||
-rw-r--r-- | config/pdf/pod1.yaml | 4 | ||||
-rw-r--r-- | labs/arm/idf-pod6.yaml | 92 | ||||
-rw-r--r-- | labs/bii/pod1.yaml | 4 | ||||
-rw-r--r-- | labs/lf/idf-pod2.yaml | 73 | ||||
-rw-r--r-- | labs/lf/idf-pod5.yaml | 70 | ||||
-rw-r--r-- | labs/lf/pod2.yaml | 58 | ||||
-rw-r--r-- | labs/lf/pod5.yaml | 58 | ||||
-rw-r--r-- | labs/zte/pod1.yaml | 4 | ||||
-rw-r--r-- | labs/zte/pod2.yaml | 4 | ||||
-rw-r--r-- | labs/zte/pod3.yaml | 2 |
14 files changed, 332 insertions, 283 deletions
diff --git a/.yamllint b/.yamllint new file mode 100644 index 00000000..4402f17f --- /dev/null +++ b/.yamllint @@ -0,0 +1,8 @@ +--- +extends: default + +rules: + # 120 chars should be enough and don't fail if a line is longer + line-length: + max: 120 + level: warning @@ -12,12 +12,16 @@ Repository: pharos Committers: - +Alexandru Avadanii <Alexandru.Avadanii@enea.com> +Aric Gardner <agardner@linuxfoundation.org> Fatih Degirmenci <fatih.degirmenci@ericsson.com> +Guillermo Herrero <guillermo.herrero@enea.com> Jack Morgan <jack.morgan@intel.com> Jose Lausuch <jalausuch@suse.com> Julien Zhang <zhang.jun3g@zte.com.cn> Morgan Richomme <morgan.richomme@orange.com> +Parker Berberian <pberberian@iol.unh.edu> +Trevor Bramwell <tbramwell@linuxfoundation.org> Trevor Cooper <trevor.cooper@intel.com> Wenjing Chu <wenjing.chu@huawei.com> diff --git a/config/installers/fuel/pod_config.yml.j2 b/config/installers/fuel/pod_config.yml.j2 index 28c61888..06836e9f 100644 --- a/config/installers/fuel/pod_config.yml.j2 +++ b/config/installers/fuel/pod_config.yml.j2 @@ -1,97 +1,96 @@ -{%- if conf.net_config is defined -%} - {%- set net_admin = conf['net_config']['admin']['network'] -%} - {%- set net_mgmt = conf['net_config']['mgmt']['network'] -%} - {%- set net_private = conf['net_config']['private']['network'] -%} - {%- set net_public = conf['net_config']['public']['network'] -%} - {%- set vlan_mgmt = conf['net_config']['mgmt']['vlan'] -%} - {%- set vlan_private = conf['net_config']['private']['vlan'] -%} - {%- if conf.net_config.public.dns is defined -%} - {%- set dns_public = conf['net_config']['public']['dns'] -%} - {%- endif -%} - {%- set pxe_interface = conf['net_config']['admin']['interface'] -%} - {%- if conf.net_config.public.gateway is defined -%} - {%- set net_public_gw = conf['net_config']['public']['gateway'] -%} - {%- endif -%} -{%- else -%} - {%- set net_admin = '192.168.11.0' -%} - {%- set net_mgmt = '172.16.10.0' -%} - {%- set net_private = '10.1.0.0' -%} - {%- set net_public = '172.30.10.0' -%} - {%- set vlan_mgmt = '300' -%} - {%- set vlan_private = '1000' -%} - {%- set pxe_interface = 0 -%} -{%- endif -%} +{%- if conf.idf.fuel is defined -%} + {%- if conf.net_config is defined -%} + {%- set net_admin = conf.net_config.admin.network -%} + {%- set net_mgmt = conf.net_config.mgmt.network -%} + {%- set net_private = conf.net_config.private.network -%} + {%- set net_public = conf.net_config.public.network -%} + {%- set vlan_mgmt = conf.net_config.mgmt.vlan -%} + {%- set vlan_private = conf.net_config.private.vlan -%} + {%- if conf.net_config.public.dns is defined -%} + {%- set dns_public = conf.net_config.public.dns -%} + {%- endif -%} + {%- set pxe_interface = conf.net_config.admin.interface -%} + {%- if conf.net_config.public.gateway is defined -%} + {%- set net_public_gw = conf.net_config.public.gateway -%} + {%- endif -%} + {%- else -%} + {%- set net_admin = '192.168.11.0' -%} + {%- set net_mgmt = '172.16.10.0' -%} + {%- set net_private = '10.1.0.0' -%} + {%- set net_public = '172.30.10.0' -%} + {%- set vlan_mgmt = '300' -%} + {%- set vlan_private = '1000' -%} + {%- set pxe_interface = 0 -%} + {%- endif -%} -{%- if dns_public is not defined -%} - {%- set dns_public = [ '8.8.8.8', '8.8.4.4' ] -%} -{%- endif -%} -{%- if net_public_gw is not defined -%} - {%- set net_public_gw = net_public | ipaddr_index('1') -%} -{%- endif -%} + {%- if dns_public is not defined -%} + {%- set dns_public = [ '8.8.8.8', '8.8.4.4' ] -%} + {%- endif -%} + {%- if net_public_gw is not defined -%} + {%- set net_public_gw = net_public | ipaddr_index('1') -%} + {%- endif -%} --- parameters: _param: -{%- if conf.idf is defined %} - opnfv_jump_bridge_admin: {{ conf['idf']['fuel']['jumphost']['bridges']['admin'] }} - opnfv_jump_bridge_mgmt: {{ conf['idf']['fuel']['jumphost']['bridges']['mgmt'] }} - opnfv_jump_bridge_private: {{ conf['idf']['fuel']['jumphost']['bridges']['private'] }} - opnfv_jump_bridge_public: {{ conf['idf']['fuel']['jumphost']['bridges']['public'] }} -{%- endif %} + opnfv_jump_bridge_admin: {{ conf.idf.fuel.jumphost.bridges.admin }} + opnfv_jump_bridge_mgmt: {{ conf.idf.fuel.jumphost.bridges.mgmt }} + opnfv_jump_bridge_private: {{ conf.idf.fuel.jumphost.bridges.private }} + opnfv_jump_bridge_public: {{ conf.idf.fuel.jumphost.bridges.public }} - opnfv_infra_config_address: {{ net_mgmt | ipaddr_index('100') }} - opnfv_infra_maas_node01_address: {{ net_mgmt | ipaddr_index('3') }} - opnfv_infra_maas_node01_deploy_address: {{ net_admin | ipaddr_index('3') }} - opnfv_infra_kvm_address: {{ net_mgmt | ipaddr_index('140') }} - opnfv_infra_kvm_node01_address: {{ net_mgmt | ipaddr_index('141') }} - opnfv_infra_kvm_node02_address: {{ net_mgmt | ipaddr_index('142') }} - opnfv_infra_kvm_node03_address: {{ net_mgmt | ipaddr_index('143') }} + opnfv_infra_config_address: {{ net_mgmt | ipaddr_index(100) }} + opnfv_infra_maas_node01_address: {{ net_mgmt | ipaddr_index(3) }} + opnfv_infra_maas_node01_deploy_address: {{ net_admin | ipaddr_index(3) }} + opnfv_infra_kvm_address: {{ net_mgmt | ipaddr_index(140) }} + opnfv_infra_kvm_node01_address: {{ net_mgmt | ipaddr_index(141) }} + opnfv_infra_kvm_node02_address: {{ net_mgmt | ipaddr_index(142) }} + opnfv_infra_kvm_node03_address: {{ net_mgmt | ipaddr_index(143) }} opnfv_infra_maas_pxe_network_address: {{ net_admin }} - opnfv_infra_maas_pxe_address: {{ net_admin | ipaddr_index('3') }} - opnfv_infra_maas_pxe_start_address: {{ net_admin | ipaddr_index('5') }} - opnfv_infra_maas_pxe_end_address: {{ net_admin | ipaddr_index('250') }} + opnfv_infra_maas_pxe_address: {{ net_admin | ipaddr_index(3) }} + opnfv_infra_maas_pxe_start_address: {{ net_admin | ipaddr_index(5) }} + opnfv_infra_maas_pxe_end_address: {{ net_admin | ipaddr_index(250) }} - opnfv_openstack_gateway_node01_address: {{ net_mgmt | ipaddr_index('124') }} - opnfv_openstack_gateway_node02_address: {{ net_mgmt | ipaddr_index('125') }} - opnfv_openstack_gateway_node03_address: {{ net_mgmt | ipaddr_index('126') }} - opnfv_openstack_gateway_node01_tenant_address: {{ net_private | ipaddr_index('6') }} - opnfv_openstack_gateway_node02_tenant_address: {{ net_private | ipaddr_index('7') }} - opnfv_openstack_gateway_node03_tenant_address: {{ net_private | ipaddr_index('9') }} - opnfv_openstack_proxy_address: {{ net_public | ipaddr_index('103') }} - opnfv_openstack_proxy_node01_address: {{ net_public | ipaddr_index('104') }} - opnfv_openstack_proxy_node02_address: {{ net_public | ipaddr_index('105') }} - opnfv_openstack_proxy_node01_control_address: {{ net_mgmt | ipaddr_index('104') }} - opnfv_openstack_proxy_node02_control_address: {{ net_mgmt | ipaddr_index('105') }} - opnfv_openstack_control_address: {{ net_mgmt | ipaddr_index('10') }} - opnfv_openstack_control_node01_address: {{ net_mgmt | ipaddr_index('11') }} - opnfv_openstack_control_node02_address: {{ net_mgmt | ipaddr_index('12') }} - opnfv_openstack_control_node03_address: {{ net_mgmt | ipaddr_index('13') }} - opnfv_openstack_database_address: {{ net_mgmt | ipaddr_index('50') }} - opnfv_openstack_database_node01_address: {{ net_mgmt | ipaddr_index('51') }} - opnfv_openstack_database_node02_address: {{ net_mgmt | ipaddr_index('52') }} - opnfv_openstack_database_node03_address: {{ net_mgmt | ipaddr_index('53') }} - opnfv_openstack_message_queue_address: {{ net_mgmt | ipaddr_index('40') }} - opnfv_openstack_message_queue_node01_address: {{ net_mgmt | ipaddr_index('41') }} - opnfv_openstack_message_queue_node02_address: {{ net_mgmt | ipaddr_index('42') }} - opnfv_openstack_message_queue_node03_address: {{ net_mgmt | ipaddr_index('43') }} - opnfv_openstack_telemetry_address: {{ net_mgmt | ipaddr_index('75') }} - opnfv_openstack_telemetry_node01_address: {{ net_mgmt | ipaddr_index('76') }} - opnfv_openstack_telemetry_node02_address: {{ net_mgmt | ipaddr_index('77') }} - opnfv_openstack_telemetry_node03_address: {{ net_mgmt | ipaddr_index('78') }} - opnfv_openstack_compute_node01_single_address: {{ net_mgmt | ipaddr_index('101') }} - opnfv_openstack_compute_node02_single_address: {{ net_mgmt | ipaddr_index('102') }} - opnfv_openstack_compute_node03_single_address: {{ net_mgmt | ipaddr_index('103') }} - opnfv_openstack_compute_node01_control_address: {{ net_mgmt | ipaddr_index('101') }} - opnfv_openstack_compute_node02_control_address: {{ net_mgmt | ipaddr_index('102') }} - opnfv_openstack_compute_node03_control_address: {{ net_mgmt | ipaddr_index('103') }} - opnfv_openstack_compute_node01_tenant_address: {{ net_private | ipaddr_index('101') }} - opnfv_openstack_compute_node02_tenant_address: {{ net_private | ipaddr_index('102') }} - opnfv_openstack_compute_node03_tenant_address: {{ net_private | ipaddr_index('103') }} - opnfv_openstack_compute_node01_external_address: {{ net_public | ipaddr_index('101') }} - opnfv_openstack_compute_node02_external_address: {{ net_public | ipaddr_index('102') }} + opnfv_openstack_gateway_node01_address: {{ net_mgmt | ipaddr_index(124) }} + opnfv_openstack_gateway_node02_address: {{ net_mgmt | ipaddr_index(125) }} + opnfv_openstack_gateway_node03_address: {{ net_mgmt | ipaddr_index(126) }} + opnfv_openstack_gateway_node01_tenant_address: {{ net_private | ipaddr_index(6) }} + opnfv_openstack_gateway_node02_tenant_address: {{ net_private | ipaddr_index(7) }} + opnfv_openstack_gateway_node03_tenant_address: {{ net_private | ipaddr_index(9) }} + opnfv_openstack_proxy_address: {{ net_public | ipaddr_index(103) }} + opnfv_openstack_proxy_node01_address: {{ net_public | ipaddr_index(104) }} + opnfv_openstack_proxy_node02_address: {{ net_public | ipaddr_index(105) }} + opnfv_openstack_proxy_node01_control_address: {{ net_mgmt | ipaddr_index(104) }} + opnfv_openstack_proxy_node02_control_address: {{ net_mgmt | ipaddr_index(105) }} + opnfv_openstack_control_address: {{ net_mgmt | ipaddr_index(10) }} + opnfv_openstack_control_node01_address: {{ net_mgmt | ipaddr_index(11) }} + opnfv_openstack_control_node02_address: {{ net_mgmt | ipaddr_index(12) }} + opnfv_openstack_control_node03_address: {{ net_mgmt | ipaddr_index(13) }} + opnfv_openstack_database_address: {{ net_mgmt | ipaddr_index(50) }} + opnfv_openstack_database_node01_address: {{ net_mgmt | ipaddr_index(51) }} + opnfv_openstack_database_node02_address: {{ net_mgmt | ipaddr_index(52) }} + opnfv_openstack_database_node03_address: {{ net_mgmt | ipaddr_index(53) }} + opnfv_openstack_message_queue_address: {{ net_mgmt | ipaddr_index(40) }} + opnfv_openstack_message_queue_node01_address: {{ net_mgmt | ipaddr_index(41) }} + opnfv_openstack_message_queue_node02_address: {{ net_mgmt | ipaddr_index(42) }} + opnfv_openstack_message_queue_node03_address: {{ net_mgmt | ipaddr_index(43) }} + opnfv_openstack_telemetry_address: {{ net_mgmt | ipaddr_index(75) }} + opnfv_openstack_telemetry_node01_address: {{ net_mgmt | ipaddr_index(76) }} + opnfv_openstack_telemetry_node02_address: {{ net_mgmt | ipaddr_index(77) }} + opnfv_openstack_telemetry_node03_address: {{ net_mgmt | ipaddr_index(78) }} + opnfv_openstack_compute_node01_single_address: {{ net_mgmt | ipaddr_index(101) }} + opnfv_openstack_compute_node02_single_address: {{ net_mgmt | ipaddr_index(102) }} + opnfv_openstack_compute_node03_single_address: {{ net_mgmt | ipaddr_index(103) }} + opnfv_openstack_compute_node01_control_address: {{ net_mgmt | ipaddr_index(101) }} + opnfv_openstack_compute_node02_control_address: {{ net_mgmt | ipaddr_index(102) }} + opnfv_openstack_compute_node03_control_address: {{ net_mgmt | ipaddr_index(103) }} + opnfv_openstack_compute_node01_tenant_address: {{ net_private | ipaddr_index(101) }} + opnfv_openstack_compute_node02_tenant_address: {{ net_private | ipaddr_index(102) }} + opnfv_openstack_compute_node03_tenant_address: {{ net_private | ipaddr_index(103) }} + opnfv_openstack_compute_node01_external_address: {{ net_public | ipaddr_index(101) }} + opnfv_openstack_compute_node02_external_address: {{ net_public | ipaddr_index(102) }} - opnfv_opendaylight_server_node01_single_address: {{ net_mgmt | ipaddr_index('111') }} + opnfv_opendaylight_server_node01_single_address: {{ net_mgmt | ipaddr_index(111) }} opnfv_net_public_gw: {{ net_public_gw }} opnfv_name_servers: {{ dns_public }} @@ -100,37 +99,38 @@ parameters: opnfv_net_mgmt_vlan: {{ vlan_mgmt }} opnfv_net_tenant_vlan: {{ vlan_private }} - opnfv_maas_node01_architecture: '{{ conf['nodes'][0]['node']['arch'] | dpkg_arch }}/generic' - opnfv_maas_node01_power_address: {{ conf['nodes'][0]['remote_management']['address'].rsplit('/')[0]}} - opnfv_maas_node01_power_type: {{ conf['nodes'][0]['remote_management']['type'] }} - opnfv_maas_node01_power_user: {{ conf['nodes'][0]['remote_management']['user'] }} - opnfv_maas_node01_power_password: {{ conf['nodes'][0]['remote_management']['pass'] }} - opnfv_maas_node01_interface_mac: '{{ conf['nodes'][0]['interfaces'][pxe_interface]['mac_address'] }}' + opnfv_maas_node01_architecture: '{{ conf.nodes.0.node.arch | dpkg_arch }}/generic' + opnfv_maas_node01_power_address: {{ conf.nodes.0.remote_management.address.rsplit('/')[0] }} + opnfv_maas_node01_power_type: {{ conf.nodes.0.remote_management.type }} + opnfv_maas_node01_power_user: {{ conf.nodes.0.remote_management.user }} + opnfv_maas_node01_power_password: {{ conf.nodes.0.remote_management.pass }} + opnfv_maas_node01_interface_mac: '{{ conf.nodes.0.interfaces[pxe_interface].mac_address }}' - opnfv_maas_node02_architecture: '{{ conf['nodes'][1]['node']['arch'] | dpkg_arch }}/generic' - opnfv_maas_node02_power_address: {{ conf['nodes'][1]['remote_management']['address'].rsplit('/')[0] }} - opnfv_maas_node02_power_type: {{ conf['nodes'][1]['remote_management']['type'] }} - opnfv_maas_node02_power_user: {{ conf['nodes'][1]['remote_management']['user'] }} - opnfv_maas_node02_power_password: {{ conf['nodes'][1]['remote_management']['pass'] }} - opnfv_maas_node02_interface_mac: '{{ conf['nodes'][1]['interfaces'][pxe_interface]['mac_address'] }}' + opnfv_maas_node02_architecture: '{{ conf.nodes.1.node.arch | dpkg_arch }}/generic' + opnfv_maas_node02_power_address: {{ conf.nodes.1.remote_management.address.rsplit('/')[0] }} + opnfv_maas_node02_power_type: {{ conf.nodes.1.remote_management.type }} + opnfv_maas_node02_power_user: {{ conf.nodes.1.remote_management.user }} + opnfv_maas_node02_power_password: {{ conf.nodes.1.remote_management.pass }} + opnfv_maas_node02_interface_mac: '{{ conf.nodes.1.interfaces[pxe_interface].mac_address }}' - opnfv_maas_node03_architecture: '{{ conf['nodes'][2]['node']['arch'] | dpkg_arch }}/generic' - opnfv_maas_node03_power_address: {{ conf['nodes'][2]['remote_management']['address'].rsplit('/')[0] }} - opnfv_maas_node03_power_type: {{ conf['nodes'][2]['remote_management']['type'] }} - opnfv_maas_node03_power_user: {{ conf['nodes'][2]['remote_management']['user'] }} - opnfv_maas_node03_power_password: {{ conf['nodes'][2]['remote_management']['pass'] }} - opnfv_maas_node03_interface_mac: '{{ conf['nodes'][2]['interfaces'][pxe_interface]['mac_address'] }}' + opnfv_maas_node03_architecture: '{{ conf.nodes.2.node.arch | dpkg_arch }}/generic' + opnfv_maas_node03_power_address: {{ conf.nodes.2.remote_management.address.rsplit('/')[0] }} + opnfv_maas_node03_power_type: {{ conf.nodes.2.remote_management.type }} + opnfv_maas_node03_power_user: {{ conf.nodes.2.remote_management.user }} + opnfv_maas_node03_power_password: {{ conf.nodes.2.remote_management.pass }} + opnfv_maas_node03_interface_mac: '{{ conf.nodes.2.interfaces[pxe_interface].mac_address }}' - opnfv_maas_node04_architecture: '{{ conf['nodes'][3]['node']['arch'] | dpkg_arch }}/generic' - opnfv_maas_node04_power_address: {{ conf['nodes'][3]['remote_management']['address'].rsplit('/')[0] }} - opnfv_maas_node04_power_type: {{ conf['nodes'][3]['remote_management']['type'] }} - opnfv_maas_node04_power_user: {{ conf['nodes'][3]['remote_management']['user'] }} - opnfv_maas_node04_power_password: {{ conf['nodes'][3]['remote_management']['pass'] }} - opnfv_maas_node04_interface_mac: '{{ conf['nodes'][3]['interfaces'][pxe_interface]['mac_address'] }}' + opnfv_maas_node04_architecture: '{{ conf.nodes.3.node.arch | dpkg_arch }}/generic' + opnfv_maas_node04_power_address: {{ conf.nodes.3.remote_management.address.rsplit('/')[0] }} + opnfv_maas_node04_power_type: {{ conf.nodes.3.remote_management.type }} + opnfv_maas_node04_power_user: {{ conf.nodes.3.remote_management.user }} + opnfv_maas_node04_power_password: {{ conf.nodes.3.remote_management.pass }} + opnfv_maas_node04_interface_mac: '{{ conf.nodes.3.interfaces[pxe_interface].mac_address }}' - opnfv_maas_node05_architecture: '{{ conf['nodes'][4]['node']['arch'] | dpkg_arch }}/generic' - opnfv_maas_node05_power_address: {{ conf['nodes'][4]['remote_management']['address'].rsplit('/')[0] }} - opnfv_maas_node05_power_type: {{ conf['nodes'][4]['remote_management']['type'] }} - opnfv_maas_node05_power_user: {{ conf['nodes'][4]['remote_management']['user'] }} - opnfv_maas_node05_power_password: {{ conf['nodes'][4]['remote_management']['pass'] }} - opnfv_maas_node05_interface_mac: '{{ conf['nodes'][4]['interfaces'][pxe_interface]['mac_address'] }}' + opnfv_maas_node05_architecture: '{{ conf.nodes.4.node.arch | dpkg_arch }}/generic' + opnfv_maas_node05_power_address: {{ conf.nodes.4.remote_management.address.rsplit('/')[0] }} + opnfv_maas_node05_power_type: {{ conf.nodes.4.remote_management.type }} + opnfv_maas_node05_power_user: {{ conf.nodes.4.remote_management.user }} + opnfv_maas_node05_power_password: {{ conf.nodes.4.remote_management.pass }} + opnfv_maas_node05_interface_mac: '{{ conf.nodes.4.interfaces[pxe_interface].mac_address }}' +{%- endif -%} diff --git a/config/pdf/pod1.encrypted.yaml b/config/pdf/pod1.encrypted.yaml index 31548ea2..8693647d 100644 --- a/config/pdf/pod1.encrypted.yaml +++ b/config/pdf/pod1.encrypted.yaml @@ -19,7 +19,7 @@ jumphost: arch: {x86_64|aarch64} cpus: 2 # add values based on CFLAGS in GCC - cpu_cflags: {broadwell|hasewell|etc} + cpu_cflags: {broadwell|haswell|etc} # physical cores, not including hyper-threads cores: 10 memory: 32G @@ -96,7 +96,7 @@ nodes: model: S2600JF arch: x86_64 cpus: 2 - cpu_cflags: hasewell + cpu_cflags: haswell cores: 12 memory: 128G # for nodes in the same pod may have the same configuration diff --git a/config/pdf/pod1.yaml b/config/pdf/pod1.yaml index 77533bb2..d9028c23 100644 --- a/config/pdf/pod1.yaml +++ b/config/pdf/pod1.yaml @@ -19,7 +19,7 @@ jumphost: arch: {x86_64|aarch64} cpus: 2 # add values based on CFLAGS in GCC - cpu_cflags: {broadwell|hasewell|etc} + cpu_cflags: {broadwell|haswell|etc} # physical cores, not including hyper-threads cores: 10 memory: 32G @@ -77,7 +77,7 @@ nodes: model: S2600JF arch: x86_64 cpus: 2 - cpu_cflags: hasewell + cpu_cflags: haswell cores: 12 memory: 128G # for nodes in the same pod may have the same configuration diff --git a/labs/arm/idf-pod6.yaml b/labs/arm/idf-pod6.yaml index db03686d..d21ec92a 100644 --- a/labs/arm/idf-pod6.yaml +++ b/labs/arm/idf-pod6.yaml @@ -1,46 +1,46 @@ -##############################################################################
-# Copyright (c) 2017 Enea AB and others.
-# 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
-##############################################################################
----
-### ARM POD 6 installer descriptor file ###
-
-idf:
- version: 0.1
- fuel:
- jumphost:
- bridges:
- admin: 'admin14_br0'
- mgmt: 'mgmt14_br0'
- private: ''
- public: 'public14_br0'
- network:
- node:
- # Ordered-list, index should be in sync with node index in PDF
- - interfaces: &interfaces
- # Ordered-list, index should be in sync with interface index in PDF
- - 'enP5p144s0'
- - 'enP2p1s0f1'
- - 'enP2p1s0f2'
- - 'enP2p1s0f3'
- - 'enP2p1s0f4'
- - 'enP2p1s0f5'
- busaddr: &busaddr
- # Bus-info reported by `ethtool -i ethX`
- - '0005:90:00.0'
- - '0002:01:00.1'
- - '0002:01:00.2'
- - '0002:01:00.3'
- - '0002:01:00.4'
- - '0002:01:00.5'
- - interfaces: *interfaces
- busaddr: *busaddr
- - interfaces: *interfaces
- busaddr: *busaddr
- - interfaces: *interfaces
- busaddr: *busaddr
- - interfaces: *interfaces
- busaddr: *busaddr
+############################################################################## +# Copyright (c) 2017 Enea AB and others. +# 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 +############################################################################## +--- +### ARM POD 6 installer descriptor file ### + +idf: + version: 0.1 + fuel: + jumphost: + bridges: + admin: 'admin14_br0' + mgmt: 'mgmt14_br0' + private: '' + public: 'public14_br0' + network: + node: + # Ordered-list, index should be in sync with node index in PDF + - interfaces: &interfaces + # Ordered-list, index should be in sync with interface index in PDF + - 'enP5p144s0' + - 'enP2p1s0f1' + - 'enP2p1s0f2' + - 'enP2p1s0f3' + - 'enP2p1s0f4' + - 'enP2p1s0f5' + busaddr: &busaddr + # Bus-info reported by `ethtool -i ethX` + - '0005:90:00.0' + - '0002:01:00.1' + - '0002:01:00.2' + - '0002:01:00.3' + - '0002:01:00.4' + - '0002:01:00.5' + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr diff --git a/labs/bii/pod1.yaml b/labs/bii/pod1.yaml index 1f5046b4..29d9a4e2 100644 --- a/labs/bii/pod1.yaml +++ b/labs/bii/pod1.yaml @@ -45,7 +45,7 @@ jumphost: model: powerEdge 720 arch: x86_64 cpus: 2 - cpu_cflags: hasewell # add values based on CFLAGS in GCC + cpu_cflags: haswell # add values based on CFLAGS in GCC cores: 8 # physical cores, not including hyper-threads memory: 16G disks: # disk list @@ -100,7 +100,7 @@ nodes: model: powerEdge 720 arch: x86_64 cpus: 2 - cpu_cflags: hasewell # add values based on CFLAGS in GCC + cpu_cflags: haswell # add values based on CFLAGS in GCC cores: 8 # physical cores, not including hyper-threads memory: 32G disks: &disk_A # disk list diff --git a/labs/lf/idf-pod2.yaml b/labs/lf/idf-pod2.yaml new file mode 100644 index 00000000..78c916ef --- /dev/null +++ b/labs/lf/idf-pod2.yaml @@ -0,0 +1,73 @@ +############################################################################## +# Copyright (c) 2017 Enea AB and others. +# 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 +############################################################################## +--- +### LF POD 5 installer descriptor file ### + +idf: + version: 0.1 + net_config: + # NOTE: Network names are likely to change after the PDF spec is updated + oob: + interface: 0 + ip-range: 172.30.8.65-172.30.8.75 + vlan: 410 + admin: + interface: 0 + vlan: native + network: 192.168.11.0 # Untagged, 'PXE/Admin' on wiki, different IP + mask: 24 + mgmt: + interface: 0 + vlan: 300 + network: 10.167.4.0 # Tagged, 'vlan 300' on wiki + mask: 24 + storage: + interface: 3 + vlan: 301 + network: 10.2.0.0 # Tagged, not the same with 'storage' on wiki + mask: 24 + private: + interface: 1 + vlan: 1000 + network: 10.1.0.0 # Tagged, not the same with 'private' on wiki + mask: 24 + public: + interface: 2 + vlan: native + network: 172.30.10.0 # Untagged, 'public' on wiki + mask: 24 + gateway: 172.30.10.1 + dns: + - 8.8.8.8 + - 8.8.4.4 + fuel: + jumphost: + bridges: + admin: '' + mgmt: '' + private: '' + public: '' + network: + node: + # Ordered-list, index should be in sync with node index in PDF + - interfaces: &interfaces + # Ordered-list, index should be in sync with interface index in PDF + - '' + - '' + busaddr: &busaddr + # Bus-info reported by `ethtool -i ethX` + - '' + - '' + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr diff --git a/labs/lf/idf-pod5.yaml b/labs/lf/idf-pod5.yaml new file mode 100644 index 00000000..e0e4af28 --- /dev/null +++ b/labs/lf/idf-pod5.yaml @@ -0,0 +1,70 @@ +############################################################################## +# Copyright (c) 2017 Enea AB and others. +# 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 +############################################################################## +--- +### LF POD 5 installer descriptor file ### + +idf: + version: 0.1 + net_config: + oob: + interface: 0 + ip-range: 172.30.8.89-172.30.8.94 + vlan: 410 + admin: + interface: 0 + vlan: native + network: 10.20.0.128 + mask: 25 + gateway: 10.20.0.129 + dns: 10.20.0.129 + mgmt: + interface: 1 + vlan: 450 + network: 192.168.0.128 + mask: 25 + storage: + interface: 2 + vlan: 451 + network: 192.168.1.128 + mask: 25 + private: + interface: 1 + vlan: 452 + network: 192.168.2.128 + mask: 25 + public: + interface: 2 + vlan: 415 + network: 172.30.13.64 + mask: 26 + fuel: + jumphost: + bridges: + admin: '' + mgmt: '' + private: '' + public: '' + network: + node: + # Ordered-list, index should be in sync with node index in PDF + - interfaces: &interfaces + # Ordered-list, index should be in sync with interface index in PDF + - '' + - '' + busaddr: &busaddr + # Bus-info reported by `ethtool -i ethX` + - '' + - '' + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr + - interfaces: *interfaces + busaddr: *busaddr diff --git a/labs/lf/pod2.yaml b/labs/lf/pod2.yaml index e9ede116..6f684735 100644 --- a/labs/lf/pod2.yaml +++ b/labs/lf/pod2.yaml @@ -9,42 +9,6 @@ details: type: production link: https://wiki.opnfv.org/display/pharos/LF+POD+2 ############################################################################## -net_config: - # NOTE: Network names are likely to change after the PDF spec is updated - oob: - interface: 0 - ip-range: 172.30.8.65-172.30.8.75 - vlan: 410 - admin: - interface: 0 - vlan: native - network: 192.168.11.0 # Untagged, 'PXE/Admin' on wiki, different IP - mask: 24 - mgmt: - interface: 0 - vlan: 300 - network: 10.167.4.0 # Tagged, 'vlan 300' on wiki - mask: 24 - storage: - interface: 3 - vlan: 301 - network: 10.2.0.0 # Tagged, not the same with 'storage' on wiki - mask: 24 - private: - interface: 1 - vlan: 1000 - network: 10.1.0.0 # Tagged, not the same with 'private' on wiki - mask: 24 - public: - interface: 2 - vlan: native - network: 172.30.10.0 # Untagged, 'public' on wiki - mask: 24 - gateway: 172.30.10.1 - dns: - - 8.8.8.8 - - 8.8.4.4 -############################################################################## jumphost: name: pod2-jump node: @@ -67,26 +31,8 @@ jumphost: type: ipmi versions: - 2.0 - user: > - ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw - DQYJKoZIhvcNAQEBBQAEggEAKn4rdxFJum3vgvpjT4c64gkXzbMog4LyrBb0 - pHeASLqwiuJqCdELWl4e7d4SMp3QBzHqd6aGHJqywDt09L7axFaW9PmdUEVx - KxIZ8NUdDjl7HtuG8D9irU2n5VMHXVyDosMEZe9pRYhQTkuAggR7EDoDjdDj - 0myGFy/UVH3/fxpdySWhyg9kqAYb1ReMgYBudVfm2gw4bjtjJviwASXi8hj6 - 8isdJPf25U6wrvbqQi5J5WVD4Q3PaGy8GACTZ8n+LFyPSwBl3QJ5jfMmzHmq - Po0cqa4MoKi3xQ8Y8z6DxhUrV0yoYWoHvIcpQBu3YCZVzpOqVPZwsapBl963 - 0d0kWzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAoo59BSqp1DBCu05h+ - /1BZgBDdOvlZ5JlDtpkh73ujYZXR] - pass: > - ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw - DQYJKoZIhvcNAQEBBQAEggEA4pnLYg4U/39mKdytYH1CJYJuJ/qjNrS+KoON - oPU6G9lMJ5U5J7NUuGyBD7O1NTt8VBE+LaBEqmXK5/SQ6mAdns9qs5QLOVSm - r3WKroZdqH3hmW26LuPsXNUfTaCVNOqWPAf6U6Q1fHr1vi09n3mIV/Ph03Kv - /aNeeRsJbBPAtHgCL6aRs+4WoxxYS0eUAVCo4yPDiSN5UFmSg6O304NM2qzi - av2b/gmNFN8AxE5CVi+C/fVGBhdpwmmdC0KmtkY38pYa/hf8Pks4jsFtKNDw - 3KW+pP+BTsgKs/o/WrwCFm4LIJj/E6Pf9qZ/mZ8bAxKlVf+gQj2bgxzT3aa1 - hHhD0TA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBAx3f5XDjWzYJA4Jn5H - KJOBgBDq/YBNdEeyT+dCuH59ZE6L] + user: admin + pass: octopus remote_management: <<: *remote_params address: 172.30.8.83 diff --git a/labs/lf/pod5.yaml b/labs/lf/pod5.yaml index 7da6abcd..ffb1b90d 100644 --- a/labs/lf/pod5.yaml +++ b/labs/lf/pod5.yaml @@ -8,40 +8,6 @@ details: location: Portland, Oregon, USA type: development link: https://wiki.opnfv.org/display/pharos/LF+POD+5 - -net_config: - oob: - interface: 0 - ip-range: 172.30.8.89-172.30.8.94 - vlan: 410 - admin: - interface: 0 - vlan: native - network: 10.20.0.128 - mask: 25 - gateway: 10.20.0.129 - dns: 10.20.0.129 - mgmt: - interface: 1 - vlan: 450 - network: 192.168.0.128 - mask: 25 - storage: - interface: 2 - vlan: 451 - network: 192.168.1.128 - mask: 25 - private: - interface: 1 - vlan: 452 - network: 192.168.2.128 - mask: 25 - public: - interface: 2 - vlan: 415 - network: 172.30.13.64 - mask: 26 - jumphost: name: pod5-jump node: &nodeparas @@ -64,32 +30,14 @@ jumphost: type: ipmi versions: - 2.0 - user: > - ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw - DQYJKoZIhvcNAQEBBQAEggEAR9BS+HE2rTstFbsIQBPMWkmza7bcE+g+6jJG - luOe/dNPi5Ez/ut7fZ28rb4+3cUgvXDLLVDNiBSjUpKa0QbJrybfSNoEuX+f - Sjaxom36hjHDn7J8wTG2T9KAPTxL1Kmc16T2i6cdpv8NUMOKhgwnhgqtYDco - MnOTDJve0tNh4kLDSWo26+KbnQ1HejfGLfNtG6R1fjg6BQMYp8lFo3q7ZRq4 - nR34/mXW39eeiySmMoMmAQg2t21LW5GiHEBSphrUcoPchU6nl/oWOvc2agxb - Tf3hN75vumxN+3PpW8B7hj6TdaNCfmm1OL2WhrSTW1EpQEO0UXxAq7oLAF0D - K62KaTA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBbeaV0wWXX3M668Mh1 - CN+igBBApURxRAFMWQXtgAnbxlhr] - pass: > - ENC[PKCS7,MIIBeQYJKoZIhvcNAQcDoIIBajCCAWYCAQAxggEhMIIBHQIBADAFMAACAQEw - DQYJKoZIhvcNAQEBBQAEggEAFwQbOO4grEw452H7WOAwXN2sb566gisUNhNk - oOPdae4QLTD8Yu/pAjKIoQjyBgtmPwRJlocioIFJ2SpZfjlrVC4fIMULvmFJ - 0CfuG77o950+XIFLdDrxqlEfOg7GetlByi6FdE+x4Cd4bc3SS4o1BIMFFn5R - NP/QeCJGS5RkEi+AcRLzS04Jq+CM0YCbeK0/M5EDBtgSpcQqNSxG9uARKVHy - bXaPso5/1RLwyEMXyMDtTSSJK6etjk4MxZjvMcKDCzSXq1SnrPS+VgjRhI2R - 4Nx1aTm+0mRPtfwsXaaU6YZQLClS93QBQMHb3YsBO7/KqGL5jTpoT6K8AMyc - Q7r/JzA8BgkqhkiG9w0BBwEwHQYJYIZIAWUDBAEqBBBO116CsJoAZzgnxo0Q - R8HRgBBYArsrg4jLeOnZNJP4/yOK] + user: admin + pass: octopus remote_management: <<: *remote_params address: 172.30.8.89 mac_address: "a4:bf:01:01:ad:73" interfaces: - - mac_address: "00:1e:67:fd:ad:71" + - mac_address: "a4:bf:01:01:ad:71" speed: 1gb features: 'dpdk|sriov' - mac_address: "00:1e:67:fd:9c:c2" diff --git a/labs/zte/pod1.yaml b/labs/zte/pod1.yaml index c88990b5..950c2d89 100644 --- a/labs/zte/pod1.yaml +++ b/labs/zte/pod1.yaml @@ -53,7 +53,7 @@ jumphost: model: R5300 arch: x86_64 cpus: 2 - cpu_cflags: hasewell + cpu_cflags: haswell cores: 12 memory: 128G disks: @@ -116,7 +116,7 @@ nodes: model: E9000 arch: x86_64 cpus: 2 - cpu_cflags: hasewell + cpu_cflags: haswell cores: 10 memory: 128G disks: &disks diff --git a/labs/zte/pod2.yaml b/labs/zte/pod2.yaml index 9cf629f3..5b3915fe 100644 --- a/labs/zte/pod2.yaml +++ b/labs/zte/pod2.yaml @@ -53,7 +53,7 @@ jumphost: model: R5300 arch: x86_64 cpus: 2 - cpu_cflags: hasewell + cpu_cflags: haswell cores: 12 memory: 128G disks: @@ -116,7 +116,7 @@ nodes: model: E9000 arch: x86_64 cpus: 2 - cpu_cflags: hasewell + cpu_cflags: haswell cores: 10 memory: 128G disks: &disks diff --git a/labs/zte/pod3.yaml b/labs/zte/pod3.yaml index d930d52c..b44602f2 100644 --- a/labs/zte/pod3.yaml +++ b/labs/zte/pod3.yaml @@ -53,7 +53,7 @@ jumphost: model: R5300 arch: x86_64 cpus: 1 - cpu_cflags: hasewell + cpu_cflags: haswell cores: 6 memory: 80G disks: |