Merge "Add creating br-ex for compute node in ovn"

This commit is contained in:
Zuul 2019-06-06 16:22:28 +00:00 committed by Gerrit Code Review
commit ebcc709330
7 changed files with 24 additions and 1 deletions

View File

@ -155,7 +155,8 @@ resources:
get_param: {{network.name}}InterfaceDefaultRoute
{%- endif %}
{%- endif %}
{%- elif network.name in role.networks or role.name == 'Networker' or role.name == 'ComputeDVR' %}
{#- We need bridge also for ComputeDVR and Computes with OVN #}
{%- elif network.name in role.networks or 'external_bridge' in role.tags %}
- type: ovs_bridge
{%- if network.name == "External" %}
name: bridge_name

View File

@ -0,0 +1,9 @@
---
features:
- |
Introduce new tag into roles that will create external_bridge (usable only
for multiple-nics).
upgrade:
- |
During upgrade user will need to create custom roles_data.yaml and remove
external_bridge from tags to be sure that bridge will be not added.

View File

@ -5,6 +5,9 @@
description: |
Basic Compute Node role
CountDefault: 1
# Create external Neutron bridge (unset if using ML2/OVS without DVR)
tags:
- external_bridge
networks:
InternalApi:
subnet: internal_api_subnet

View File

@ -5,6 +5,8 @@
description: |
DVR enabled Compute Node role
CountDefault: 1
tags:
- external_bridge
networks:
InternalApi:
subnet: internal_api_subnet

View File

@ -9,6 +9,8 @@
subnet: internal_api_subnet
Tenant:
subnet: tenant_subnet
tags:
- external_bridge
HostnameFormatDefault: '%stackname%-networker-%index%'
ServicesDefault:
- OS::TripleO::Services::Aide

View File

@ -60,6 +60,9 @@ Role Options
with both 'primary' and 'controller' is used as the primary role for the
deployment process. If no roles have 'primary' and 'controller', the
first role in this file is used as the primary role.
The third tag that can be defined here is external_bridge, which is used
to define which node must have a bridge created in a multiple-nic network
config.
* description: (string) as few sentences describing the role and information
pertaining to the usage of the role.

View File

@ -193,6 +193,9 @@
description: |
Basic Compute Node role
CountDefault: 1
# Create external Neutron bridge (unset if using ML2/OVS without DVR)
tags:
- external_bridge
networks:
InternalApi:
subnet: internal_api_subnet