From 703661ef36220c299c215585958ebc0709b516ec Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Mon, 18 Sep 2017 20:21:35 +0200 Subject: config/installers: Add PDF installer adapters Previously, PDF installer adapters resided in securedlab git repo, but since we want to be able to use it in both securedlab (for validation of new PDF files during verify jobs) and installer projects (for actually parsing the PDF file into usable installer inputs), we decided to move them to a common location, also available for regular users. This change merely replicates the current adapter files from securedlab git repo for the following projects: - apex; - compass4nfv; - daisy; - joid; Change-Id: Ic4bd75e1b2dc339c15cd4943dfc5a1c74c68b094 Signed-off-by: Alexandru Avadanii (cherry picked from commit 1a1c03d865c55872d5912ac60ce4a1af5e814de2) --- config/installers/joid/pod_config.yaml.j2 | 167 ++++++++++++++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 config/installers/joid/pod_config.yaml.j2 (limited to 'config/installers/joid') diff --git a/config/installers/joid/pod_config.yaml.j2 b/config/installers/joid/pod_config.yaml.j2 new file mode 100644 index 00000000..4bb49d56 --- /dev/null +++ b/config/installers/joid/pod_config.yaml.j2 @@ -0,0 +1,167 @@ +--- +lab: + location: intel + racks: + - rack: pod5 + nodes: + - name: {{ conf['nodes'][0]['name'] }} + architecture: {{ conf['nodes'][0]['node']['arch'] }} + roles: [network, control] + nics: + - ifname: {{ conf['nodes'][0]['interfaces'][0]['name'] }} + spaces: [data] + mac: ["{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][0]['interfaces'][0]['name'] }}.{{ conf['nodes'][0]['interfaces'][0]['vlan'] }} + spaces: [floating] + mac: ["{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][0]['interfaces'][1]['name'] }}.{{ conf['nodes'][0]['interfaces'][1]['vlan'] }} + spaces: [public] + mac: ["{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][0]['interfaces'][1]['name'] }} + spaces: [storage] + mac: ["{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][0]['interfaces'][2]['name'] }} + spaces: [admin] + mac: ["{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}"] + power: + type: {{ conf['jumphost']['remote_params']['type'] }} + address: {{ conf['nodes'][0]['remote_management']['address'] }} + user: {{ conf['jumphost']['remote_params']['user'] }} + pass: {{ conf['jumphost']['remote_params']['pass'] }} + - name: {{ conf['nodes'][1]['name'] }} + architecture: {{ conf['nodes'][1]['node']['arch'] }} + roles: [compute, control, storage] + nics: + - ifname: {{ conf['nodes'][1]['interfaces'][0]['name'] }} + spaces: [data] + mac: ["{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][1]['interfaces'][0]['name'] }}.{{ conf['nodes'][1]['interfaces'][0]['vlan'] }} + spaces: [floating] + mac: ["{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][1]['interfaces'][1]['name'] }}.{{ conf['nodes'][1]['interfaces'][1]['vlan'] }} + spaces: [public] + mac: ["{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][1]['interfaces'][1]['name'] }} + spaces: [storage] + mac: ["{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][1]['interfaces'][2]['name'] }} + spaces: [admin] + mac: ["{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}"] + power: + type: {{ conf['jumphost']['remote_params']['type'] }} + address: {{ conf['nodes'][1]['remote_management']['address'] }} + user: {{ conf['jumphost']['remote_params']['user'] }} + pass: {{ conf['jumphost']['remote_params']['pass'] }} + - name: {{ conf['nodes'][2]['name'] }} + architecture: {{ conf['nodes'][2]['node']['arch'] }} + roles: [compute, control, storage] + nics: + - ifname: {{ conf['nodes'][2]['interfaces'][0]['name'] }} + spaces: [data] + mac: ["{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][2]['interfaces'][0]['name'] }}.{{ conf['nodes'][2]['interfaces'][0]['vlan'] }} + spaces: [floating] + mac: ["{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][2]['interfaces'][1]['name'] }}.{{ conf['nodes'][2]['interfaces'][1]['vlan'] }} + spaces: [public] + mac: ["{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][2]['interfaces'][1]['name'] }} + spaces: [storage] + mac: ["{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][2]['interfaces'][2]['name'] }} + power: + type: {{ conf['jumphost']['remote_params']['type'] }} + address: {{ conf['nodes'][2]['remote_management']['address'] }} + user: {{ conf['jumphost']['remote_params']['user'] }} + pass: {{ conf['jumphost']['remote_params']['pass'] }} + - name: {{ conf['nodes'][3]['name'] }} + architecture: {{ conf['nodes'][3]['node']['arch'] }} + roles: [compute, storage] + nics: + - ifname: {{ conf['nodes'][3]['interfaces'][0]['name'] }} + spaces: [data] + mac: ["{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][3]['interfaces'][0]['name'] }}.{{ conf['nodes'][3]['interfaces'][0]['vlan'] }} + spaces: [floating] + mac: ["{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][3]['interfaces'][1]['name'] }}.{{ conf['nodes'][3]['interfaces'][1]['vlan'] }} + spaces: [public] + mac: ["{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][3]['interfaces'][1]['name'] }} + spaces: [storage] + mac: ["{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][3]['interfaces'][2]['name'] }} + power: + type: ipmi + address: {{ conf['nodes'][3]['remote_management']['address'] }} + user: {{ conf['jumphost']['remote_params']['user'] }} + pass: {{ conf['jumphost']['remote_params']['pass'] }} + - name: {{ conf['nodes'][4]['name'] }} + architecture: {{ conf['nodes'][4]['node']['arch'] }} + roles: [compute, storage] + nics: + - ifname: {{ conf['nodes'][4]['interfaces'][0]['name'] }} + spaces: [data] + mac: ["{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][4]['interfaces'][0]['name'] }}.{{ conf['nodes'][4]['interfaces'][0]['vlan'] }} + spaces: [floating] + mac: ["{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}"] + - ifname: {{ conf['nodes'][4]['interfaces'][1]['name'] }}.{{ conf['nodes'][4]['interfaces'][1]['vlan'] }} + spaces: [public] + mac: ["{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][4]['interfaces'][1]['name'] }} + spaces: [storage] + mac: ["{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}"] + - ifname: {{ conf['nodes'][1]['interfaces'][2]['name'] }} + power: + type: {{ conf['jumphost']['remote_params']['type'] }} + address: {{ conf['nodes'][4]['remote_management']['address'] }} + user: {{ conf['jumphost']['remote_params']['user'] }} + pass: {{ conf['jumphost']['remote_params']['pass'] }} + floating-ip-range: 10.5.15.6,10.5.15.250,10.5.15.1,10.5.15.0/24 + ext-port: "ens785f0.505" + dns: 8.8.8.8 + osdomainname: +opnfv: + release: c + distro: trusty + type: nonha + openstack: liberty + sdncontroller: + - type: nosdn + storage: + - type: ceph + disk: /dev/sdb + feature: odl_l2 + spaces: + - type: admin + bridge: brAdm + cidr: 10.5.1.0/24 + gateway: 10.5.1.1 + vlan: + - type: data + bridge: brData + cidr: 10.5.12.0/24 + gateway: + vlan: + - type: storage + bridge: brStor + cidr: 10.5.13.0/24 + gateway: + vlan: + - type: public + bridge: brMgmt + cidr: 10.5.14.0/24 + gateway: + vlan: 504 + - type: floating + bridge: brPublic + cidr: 10.5.15.0/24 + gateway: + vlan: 505 + - type: external + bridge: brExt + cidr: + gateway: + ipaddress: 10.2.117.92 + vlan: -- cgit 1.2.3-korg