diff options
Diffstat (limited to 'mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack')
3 files changed, 33 insertions, 56 deletions
diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml index 18a7a0bb2..070ab7865 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml @@ -5,7 +5,7 @@ classes: - system.nova.compute.cluster - system.nova.compute.nfv.hugepages - system.nova.compute.nfv.cpu_pinning -- system.neutron.compute.cluster +- system.neutron.gateway.cluster - system.ceilometer.agent.cluster - cluster.baremetal-mcp-ocata-ovs-ha.infra parameters: @@ -21,7 +21,11 @@ parameters: nova_vncproxy_url: https://${_param:cluster_public_host}:6080 mgmt_nic: enp6s0 tenant_nic: enp7s0 + external_nic: enp8s0 linux_system_codename: xenial + interface_mtu: 1500 + keepalived_vip_interface: br-ctl + keepalived_vip_virtual_router_id: 69 linux: network: bridge: openvswitch @@ -36,6 +40,12 @@ parameters: type: eth proto: manual name: ${_param:tenant_nic} + external_nic: + enabled: true + name: ${_param:external_nic} + mtu: ${_param:interface_mtu} + proto: manual + type: eth br-mesh: enabled: true type: bridge @@ -66,3 +76,22 @@ parameters: netmask: 255.255.255.0 use_interfaces: - ${_param:mgmt_nic}.300 + br-floating: + enabled: true + type: ovs_bridge + mtu: ${_param:interface_mtu} + float-to-ex: + enabled: true + type: ovs_port + mtu: ${_param:interface_mtu} + bridge: br-floating + br-ex: + enabled: true + type: bridge + mtu: ${_param:interface_mtu} + address: ${_param:external_address} + netmask: 255.255.255.0 + use_interfaces: + - ${_param:external_nic} + use_ovs_ports: + - float-to-ex diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/gateway.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/gateway.yml deleted file mode 100644 index b9dcf724b..000000000 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/gateway.yml +++ /dev/null @@ -1,54 +0,0 @@ -classes: -- system.linux.system.repo.mcp.openstack -- system.linux.system.repo.mcp.extra -- system.linux.system.repo.saltstack.xenial -- system.neutron.gateway.cluster -- cluster.baremetal-mcp-ocata-ovs-ha.infra -parameters: - _param: - interface_mtu: 1500 - cluster_vip_address: ${_param:openstack_control_address} - - linux_system_codename: xenial - keepalived_vip_interface: br-ctl - keepalived_vip_virtual_router_id: 69 - primary_first_nic: eno2 - linux: - network: - bridge: openvswitch - interface: - primary_first_nic: - enabled: true - type: slave - proto: manual - name: ${_param:primary_first_nic} - master: bond0 - bond0: - enabled: true - proto: manual - ovs_bridge: br-floating - ovs_type: OVSPort - type: bond - use_interfaces: - - ${_param:primary_first_nic} - slaves: ${_param:primary_first_nic} - mode: active-backup - br-floating: - enabled: true - type: ovs_bridge - br-ctl: - enabled: true - type: ovs_port - bridge: br-floating - proto: static - ovs_options: tag=2408 - address: ${_param:single_address} - netmask: 255.255.255.0 - br-mesh: - enabled: true - type: ovs_port - bridge: br-floating - proto: static - ovs_options: tag=2409 - address: ${_param:tenant_address} - netmask: 255.255.255.0 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml index 4036be13d..9c2bc7b40 100644 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml @@ -51,6 +51,8 @@ parameters: openstack_compute_node01_tenant_address: 10.1.0.101 openstack_compute_node02_tenant_address: 10.1.0.102 openstack_compute_node03_tenant_address: 10.1.0.103 + openstack_compute_node01_external_address: 172.30.10.2 + openstack_compute_node02_external_address: 172.30.10.3 # openstack service hostnames openstack_proxy_hostname: prx @@ -85,7 +87,7 @@ parameters: neutron_gateway_agent_mode: legacy neutron_compute_dvr: False neutron_compute_agent_mode: legacy - neutron_compute_external_access: False + neutron_compute_external_access: True galera_server_cluster_name: openstack_cluster galera_server_maintenance_password: opnfv_secret galera_server_admin_password: opnfv_secret |