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/compass4nfv/network_ocl.yml.j2 | 100 +++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 config/installers/compass4nfv/network_ocl.yml.j2 (limited to 'config/installers/compass4nfv/network_ocl.yml.j2') diff --git a/config/installers/compass4nfv/network_ocl.yml.j2 b/config/installers/compass4nfv/network_ocl.yml.j2 new file mode 100644 index 00000000..68144b62 --- /dev/null +++ b/config/installers/compass4nfv/network_ocl.yml.j2 @@ -0,0 +1,100 @@ +############################################################################## +# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD 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 +############################################################################## + +--- +nic_mappings: [] +bond_mappings: [] + +provider_net_mappings: + - name: br-prv + network: physnet + interface: eth1 + type: ovs + role: + - controller + - compute + +sys_intf_mappings: + - name: mgmt + interface: eth3 + vlan_tag: {{ conf['nodes'][0]['interfaces'][2]['vlan'] }} #not a good fit + type: vlan + role: + - controller + - compute + + - name: storage + interface: eth2 + vlan_tag: {{ conf['nodes'][0]['interfaces'][1]['vlan'] }} + type: vlan + role: + - controller + - compute + + - name: external + interface: br-prv + type: ovs + role: + - controller + - compute + +ip_settings: + - name: mgmt + ip_ranges: + - - "10.8.14.10" + - "10.8.14.30" + cidr: "10.8.14.0/24" + role: + - controller + - compute + + - name: storage + ip_ranges: + - - "10.8.12.10" + - "10.8.12.30" + cidr: "10.8.12.0/24" + role: + - controller + - compute + + - name: external + ip_ranges: + - - "10.8.15.10" + - "10.8.15.30" + cidr: "10.8.15.0/24" + gw: "10.8.15.1" + role: + - controller + - compute + +internal_vip: + ip: 10.8.14.222 + netmask: "24" + interface: mgmt + +public_vip: + ip: 10.8.15.222 + netmask: "24" + interface: external + +onos_nic: eth4 +public_net_info: + enable: "True" + network: ext-net + type: flat + segment_id: 10 + subnet: ext-subnet + provider_network: physnet + router: router-ext + enable_dhcp: "False" + no_gateway: "False" + external_gw: "10.8.15.1" + floating_ip_cidr: "10.8.15.0/24" + floating_ip_start: "10.8.15.100" + floating_ip_end: "10.8.15.200" -- cgit 1.2.3-korg