Implements support for OVS+DVR in an MNAIO
This patch implements support for deploying an MNAIO with Open vSwitch and DVR. Change-Id: I0fb03e2eb0ead198c64019eb0cdd06451e1e7c94 Implements: openvswitch+dvr
This commit is contained in:
parent
1ba435f78e
commit
23ec2726ab
@ -62,6 +62,7 @@ at this time include:
|
||||
|
||||
* ML2/LinuxBridge
|
||||
* ML2/Open Virtual Network (OVN)
|
||||
* ML2/Open vSwitch w/ DVR (OVS)
|
||||
|
||||
To deploy an MNAIO with support for OVN, set the following parameter(s) prior
|
||||
to executing the build:
|
||||
@ -71,6 +72,14 @@ to executing the build:
|
||||
export MNAIO_ANSIBLE_PARAMETERS="-e osa_enable_networking_ovn=true"
|
||||
./build.sh
|
||||
|
||||
To deploy an MNAIO with support for OVS+DVR, set the following parameter(s) prior
|
||||
to executing the build:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
export MNAIO_ANSIBLE_PARAMETERS="-e osa_enable_networking_ovs_dvr=true"
|
||||
./build.sh
|
||||
|
||||
When your ready, run the build script by executing ``bash ./build.sh``. The
|
||||
build script current executes a deployment of OpenStack Ansible using the master
|
||||
branch. If you want to do something other than deploy master you can set the
|
||||
|
@ -117,7 +117,8 @@
|
||||
group: root
|
||||
when:
|
||||
- pre_config_osa | default(true) | bool
|
||||
- osa_enable_networking_ovn | default(false) | bool
|
||||
- (osa_enable_networking_ovn | default(false) | bool) or
|
||||
(osa_enable_networking_ovs_dvr | default(false) | bool)
|
||||
|
||||
- name: Drop NEUTRON OVN env.d config
|
||||
template:
|
||||
|
@ -158,6 +158,7 @@ osa_enable_orchestration: true
|
||||
osa_enable_dashboard: true
|
||||
osa_enable_network: true
|
||||
osa_enable_networking_ovn: false
|
||||
osa_enable_networking_ovs_dvr: false
|
||||
osa_enable_meter: false
|
||||
osa_enable_object_storage: "{{ not (enable_ceph_storage | bool) }}"
|
||||
osa_enable_legacy_os_infra: "{{ (osa_enable_image | bool) and (osa_enable_orchestration | bool) and (osa_enable_dashboard | bool) and (osa_enable_compute | bool) }}"
|
||||
|
@ -60,6 +60,27 @@ global_overrides:
|
||||
net_name: "flat"
|
||||
group_binds:
|
||||
- neutron_ovn_controller
|
||||
{% elif osa_enable_networking_ovs_dvr | bool %}
|
||||
- network:
|
||||
container_bridge: "br-vxlan"
|
||||
container_type: "veth"
|
||||
container_interface: "eth10"
|
||||
ip_from_q: "tunnel"
|
||||
type: "vxlan"
|
||||
range: "1:1000"
|
||||
net_name: "vxlan"
|
||||
group_binds:
|
||||
- neutron_openvswitch_agent
|
||||
- network:
|
||||
container_bridge: "br-provider"
|
||||
container_type: "veth"
|
||||
container_interface: "eth11"
|
||||
network_interface: "br-vlan"
|
||||
type: "vlan"
|
||||
range: "1:1"
|
||||
net_name: "vlan"
|
||||
group_binds:
|
||||
- neutron_openvswitch_agent
|
||||
{% else %}
|
||||
- network:
|
||||
container_bridge: "br-vxlan"
|
||||
|
@ -196,7 +196,11 @@ magnum_api_uwsgi_ini_overrides:
|
||||
stats: "/tmp/magnum-api-uwsgi-stats.sock"
|
||||
{% endif %}
|
||||
|
||||
{% if osa_enable_networking_ovn | bool %}
|
||||
{% if osa_enable_networking_ovs_dvr | bool %}
|
||||
neutron_plugin_type: ml2.ovs.dvr
|
||||
neutron_ml2_drivers_type: "vlan,local,flat,vxlan"
|
||||
|
||||
{% elif osa_enable_networking_ovn | bool %}
|
||||
neutron_plugin_type: ml2.ovn
|
||||
|
||||
neutron_plugin_base:
|
||||
@ -204,3 +208,4 @@ neutron_plugin_base:
|
||||
|
||||
neutron_ml2_drivers_type: "vlan,local,flat,geneve"
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user