aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-08-02 13:10:26 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-08-02 13:10:26 +0400
commit7c10d85252c7573af400f37c8d31007c356d44bb (patch)
tree1cbcc6b4282c4ef60608f2a976baaae6181d8a9e /mcp/reclass
parentb0370b31d3649893d57b1729979b1124a47a6f05 (diff)
[odl-router] Bring up public network on computes
* apply provider mappings on compute nodes as well * set default route of computes to gateway node Change-Id: I5715e34fd8ecbed87bd7f1b1ed488766af711bae Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/compute.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/compute.yml b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/compute.yml
index e25f41742..ba710a36e 100644
--- a/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/compute.yml
+++ b/mcp/reclass/classes/cluster/virtual-mcp-ocata-odl-router/openstack/compute.yml
@@ -46,9 +46,11 @@ parameters:
ovsdb_server_iface: ptcp:6639:127.0.0.1
ovsdb_odl_iface: tcp:${_param:opendaylight_service_host}:6640
tunnel_ip: ${_param:tenant_address}
+ provider_mappings: physnet1:br-floating
linux:
network:
bridge: openvswitch
+ gateway: ${_param:openstack_gateway_address}
interface:
dhcp_int:
enabled: true
@@ -68,6 +70,12 @@ parameters:
mtu: ${_param:interface_mtu}
proto: manual
type: eth
+ external_interface:
+ enabled: true
+ name: ${_param:external_interface}
+ mtu: ${_param:interface_mtu}
+ proto: manual
+ type: eth
br-mgmt:
enabled: true
type: bridge
@@ -82,5 +90,25 @@ parameters:
proto: static
address: ${_param:tenant_address}
netmask: 255.255.255.0
+ gateway: 10.1.0.110
use_interfaces:
- ${_param:tenant_interface}
+ 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_interface}
+ use_ovs_ports:
+ - float-to-ex