From 270720d0a7a040424c9cf8ff000d5262cfa60d29 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Tue, 3 Apr 2018 19:24:12 +0400 Subject: Add ports to ovs bridge config To avoid race with interfaces initialization specify all the ports that belong to a bridge in the config file. Change-Id: Ie4f48e7a81d4659a0f43749cdd518dbeffe2e35f Signed-off-by: Michael Polenchuk (cherry picked from commit 9c9a1adc6f2501507a68b1926ea93efcb40782d1) --- .../classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mcp/reclass/classes') diff --git a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 index 412ca4811..998253c8f 100644 --- a/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 +++ b/mcp/reclass/classes/cluster/mcp-pike-common-ha/openstack_compute_pdf.yml.j2 @@ -80,6 +80,8 @@ parameters: proto: static address: ${_param:external_address} netmask: ${_param:opnfv_net_public_mask} + use_interfaces: + - {{ nm.cmp001.nic_public }}{% if nm.vlan_public | int > 0 %}.{{ nm.vlan_public }}{% endif %} route: public: address: 0.0.0.0 -- cgit 1.2.3-korg