← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1451669] [NEW] [network] Neutron advance services should support service_plugins and service_provider auto configuration

 

You have been subscribed to a public bug:

When we enable Neutron advance services(LBaaS, VPNaaS, FWaaS)
we need to change enablement section to be true or 'True'. And beside this, we also need to configure the service_provider and service_plugin, or there will be problems when missing the service_provider and service_plugin.

When we hard code to configure the service_provider and service_plugin
for advance services in attribute, there will be problems too.

Neutron advance services should auto configuration the service_provider
and service_plugin, when the enablement section is true or 'True'

example:
=================================================================
when enbale LBaaS, we need change below in our environment(VPNaaS, FWaaS is the same):

1, we should configure this: override enabled to True
"lbaas": {
          "enabled": "True",
        },
2, Then add "neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin" in service_plugins
"service_plugins": [
          "neutron.services.l3_router.l3_router_plugin.L3RouterPlugin",
          "neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin"
        ],
3, Last add the service provider 
"service_provider": [ "LOADBALANCER:Haproxy:neutron_lbaas.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default"
        ],

disadvantage: customers should always remember to configuration the
service_plugins and service_provider when enabling advance services, and
remove the configuration when disabling the service. Or there will be
errors in Neutron.

To resolve the inconvenience, we take these changes:
1, add default values of the plugin and provider in attribute, then we can override them when it need to change.
2, change the code of cookbook-openstack-network/recipe/default and cookbook-openstack-network/templates/default/neutron.conf.erb to override the service_plugins and service_provider automatically.

with above change, users will not have to configure the service_provider
and service_plugins when he want to enable advance services, just change
the enabled section. our code will handle the override for users

** Affects: neutron
     Importance: Medium
     Assignee: Song Li (lisong-cruise)
         Status: In Progress


** Tags: network
-- 
[network] Neutron advance services should support service_plugins and service_provider auto configuration
https://bugs.launchpad.net/bugs/1451669
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.