diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-10-17 18:12:25 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-10-18 22:01:58 +0200 |
commit | c360b972649028d2613fc8561899c2c8b7f71832 (patch) | |
tree | 96fcde4c5ea5d189210f50aa3e0c91f336f769e9 /mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml | |
parent | 92530f89c061b0070766e431f839feb368e2e4ac (diff) |
[baremetal] PDF-based network config
This change extends current PDF/IDF support with:
- dynamic interface / vlan definition;
- dynamic interface and/or bridge allocation of installer networks on
top of interfaces (physical or vlans);
This allows us to drop hardcoded interface names and vlan / bridge
configuration in favor of a runtime determined model based on PDF/IDF.
For now, we duplicate common jinja variable definitions in each
template, but this will later be moved to a common include file.
JIRA: FUEL-275
Change-Id: Ia80a66dbdf898b0bd0a4fb99d069ce9ebe33fa65
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml')
-rw-r--r-- | mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml index 70546aa04..fb78d3467 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml @@ -8,11 +8,11 @@ --- classes: - cluster.baremetal-mcp-ocata-common.openstack_compute + - cluster.baremetal-mcp-ocata-odl-ha.openstack.compute_init - cluster.baremetal-mcp-ocata-odl-ha.infra - system.neutron.gateway.opendaylight.single parameters: _param: - tenant_nic: ${_param:opnfv_baremetal_secondary_nic} neutron_agents: - neutron-dhcp-agent - neutron-metadata-agent @@ -29,26 +29,3 @@ parameters: services: ${_param:neutron_agents} backend: router: ${_param:opendaylight_router} - linux: - network: - interface: - tenant_nic: - enabled: true - type: eth - proto: manual - name: ${_param:tenant_nic} - br-mesh: - enabled: true - type: bridge - address: ${_param:tenant_address} - netmask: 255.255.255.0 - mtu: 1500 - use_interfaces: - - ${_param:tenant_nic}.${_param:opnfv_net_tenant_vlan} - tenant-vlan: - enabled: true - proto: manual - type: vlan - name: ${_param:tenant_nic}.${_param:opnfv_net_tenant_vlan} - use_interfaces: - - ${_param:tenant_nic} |