From 0cd3c6cef32adb1bf9d26414ed73bd9373b0c407 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Thu, 15 Mar 2018 19:44:39 -0400 Subject: Enable nosdn-fdio scenarios for Fraser release - Update neutron NSDriver patch - Update os-net-config to fix config errors for vpp uio-driver - Update puppet-tripleo to add configuration of physnets and type_driver in vpp agent - Update THT to change VPP environment file for vpp-agent, and add common.yaml for vpp interface mapping - Update VPP and networking-vpp version to 18.01 - Fix networking-vpp rpm build to enable proper uninstall. - Update networking settings file to use ovs_bridge as default external interface type JIRA: APEX-578 JIRA: APEX-568 JIRA: APEX-576 JIRA: APEX-577 apex-os-net-config: I915d5455acb8d496438b9c9e851639d3a43e6fa9 apex-puppet-tripleo: I472879b8f67e64b571638a0385943597a9120e6c apex-tripleo-heat-templates: I5dfaf85d67fb038109edaf5c5d8a3e901b9148f4 Change-Id: I369bee232bfafef260d2ef19ac32614fdc487271 Signed-off-by: Feng Pan --- ...ppet-neutron-vpp-ml2-type_drivers-setting.patch | 80 +++++++++++++++------- 1 file changed, 55 insertions(+), 25 deletions(-) (limited to 'build/patches/puppet-neutron-vpp-ml2-type_drivers-setting.patch') diff --git a/build/patches/puppet-neutron-vpp-ml2-type_drivers-setting.patch b/build/patches/puppet-neutron-vpp-ml2-type_drivers-setting.patch index a84ab83f..00e7183b 100644 --- a/build/patches/puppet-neutron-vpp-ml2-type_drivers-setting.patch +++ b/build/patches/puppet-neutron-vpp-ml2-type_drivers-setting.patch @@ -1,18 +1,20 @@ -From 8e37e0fae6195ec177828a9e9d36c6ee009cd372 Mon Sep 17 00:00:00 2001 +From 8676df91883d52e53f2762107267e106ce8c1c64 Mon Sep 17 00:00:00 2001 From: Feng Pan -Date: Thu, 18 May 2017 17:39:42 -0400 -Subject: [PATCH] Add ml2 type_drivers setting +Date: Fri, 16 Mar 2018 08:47:30 -0400 +Subject: [PATCH] Add vpp ml2 type_driver config -Change-Id: Ie47a1ace6302d7eccd3ead676c4e1cde7e82c5d2 +Change-Id: I60fb724f2a61377f65df7608c4d70f534c5539f5 +Signed-off-by: Feng Pan --- - manifests/agents/ml2/vpp.pp | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) + manifests/agents/ml2/vpp.pp | 14 +++++++++++++- + manifests/plugins/ml2/vpp.pp | 6 ++++++ + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/manifests/agents/ml2/vpp.pp b/manifests/agents/ml2/vpp.pp -index f17d67e8..08427833 100644 +index f8204024..ca3a333b 100644 --- a/manifests/agents/ml2/vpp.pp +++ b/manifests/agents/ml2/vpp.pp -@@ -42,6 +42,11 @@ +@@ -42,6 +42,15 @@ # in the vpp config. # Defaults to false. # @@ -20,33 +22,61 @@ index f17d67e8..08427833 100644 +# (optional) List of network type driver entrypoints to be loaded +# Could be an array that can contain flat, vlan or vxlan +# Defaults to $::os_service_default. ++# ++# [*service_plugins*] ++# (optional) service plugins config ++# Defaults to $::os_service_default. +# class neutron::agents::ml2::vpp ( - $package_ensure = 'present', - $enabled = true, -@@ -51,6 +56,7 @@ class neutron::agents::ml2::vpp ( - $etcd_port = $::os_service_default, - $etcd_user = $::os_service_default, - $etcd_pass = $::os_service_default, -+ $type_drivers = $::os_service_default, - $purge_config = false, + $package_ensure = 'present', + $enabled = true, +@@ -51,6 +60,8 @@ class neutron::agents::ml2::vpp ( + $etcd_port = $::os_service_default, + $etcd_user = $::os_service_default, + $etcd_pass = $::os_service_default, ++ $type_drivers = $::os_service_default, ++ $service_plugins = $::os_service_default, + $purge_config = false, ) { include ::neutron::deps -@@ -61,12 +67,12 @@ class neutron::agents::ml2::vpp ( - } - - neutron_agent_vpp { -- 'ml2_vpp/physnets': value => $physnets; -+ 'ml2_vpp/physnets': value => $physnets; - 'ml2_vpp/etcd_host': value => $etcd_host; +@@ -66,7 +77,8 @@ class neutron::agents::ml2::vpp ( 'ml2_vpp/etcd_port': value => $etcd_port; 'ml2_vpp/etcd_user': value => $etcd_user; 'ml2_vpp/etcd_pass': value => $etcd_pass; -- 'DEFAULT/host': value => $::hostname; +- 'DEFAULT/host': value => $::hostname; + 'ml2/type_drivers': value => join(any2array($type_drivers), ','); ++ 'DEFAULT/service_plugins': value => $service_plugins; } package { 'neutron-vpp-agent': +diff --git a/manifests/plugins/ml2/vpp.pp b/manifests/plugins/ml2/vpp.pp +index 0410a43e..b0c3c4d8 100644 +--- a/manifests/plugins/ml2/vpp.pp ++++ b/manifests/plugins/ml2/vpp.pp +@@ -20,11 +20,16 @@ + # (optional) Password for etcd authentication + # Defaults to $::os_service_default. + # ++# [*l3_hosts*] ++# (optional) L3 vpp-routing hosts ++# Defaults to $::os_service_default. ++# + class neutron::plugins::ml2::vpp ( + $etcd_host = $::os_service_default, + $etcd_port = $::os_service_default, + $etcd_user = $::os_service_default, + $etcd_pass = $::os_service_default, ++ $l3_hosts = $::os_service_default, + ) { + include ::neutron::deps + require ::neutron::plugins::ml2 +@@ -34,5 +39,6 @@ class neutron::plugins::ml2::vpp ( + 'ml2_vpp/etcd_port': value => $etcd_port; + 'ml2_vpp/etcd_user': value => $etcd_user; + 'ml2_vpp/etcd_pass': value => $etcd_pass, secret => true; ++ 'ml2_vpp/l3_hosts': value => $l3_hosts; + } + } -- -2.13.3 +2.14.3 -- cgit 1.2.3-korg