summaryrefslogtreecommitdiffstats
path: root/build/nics-compute.yaml.jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'build/nics-compute.yaml.jinja2')
-rw-r--r--build/nics-compute.yaml.jinja212
1 files changed, 2 insertions, 10 deletions
diff --git a/build/nics-compute.yaml.jinja2 b/build/nics-compute.yaml.jinja2
index 12d90596..3a73bbd8 100644
--- a/build/nics-compute.yaml.jinja2
+++ b/build/nics-compute.yaml.jinja2
@@ -106,20 +106,12 @@ resources:
{%- set nic_index = 2 %}
{%- if 'private_network' in enabled_networks %}
-
- # Create a bridge which can also be used for VLAN-mode bridge mapping
- type: ovs_bridge
- name: br-tenant
+ type: interface
+ name: nic{{ nic_index }}{% set nic_index = nic_index + 1 %}
use_dhcp: false
addresses:
-
ip_netmask: {get_param: TenantIpSubnet}
- members:
- -
- type: interface
- name: nic{{ nic_index }}{% set nic_index = nic_index + 1 %}
- use_dhcp: false
- # force the MAC address of the bridge to this interface
- primary: true
{%- endif %}
{%- if external_net_type == "interface" %}
-