From 5517d697c17eadd102758898c9dfbb61f09dbdc0 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Sun, 24 Dec 2017 14:26:30 +0200 Subject: [PATCH] TVD: Update devstack doc with different services Change-Id: Iaf6fb4227df7c919d6bd757a8b47d1c96b289758 --- doc/source/devstack.rst | 82 +++++++++++++++++++++++++++++++++++++++++ setup.cfg | 4 +- 2 files changed, 84 insertions(+), 2 deletions(-) diff --git a/doc/source/devstack.rst b/doc/source/devstack.rst index aee535cd40..8e677423c7 100644 --- a/doc/source/devstack.rst +++ b/doc/source/devstack.rst @@ -210,3 +210,85 @@ Configure the service provider:: [[post-config|$NEUTRON_LBAAS_CONF]] [service_providers] service_provider = LOADBALANCERV2:VMWareEdge:neutron_lbaas.drivers.vmware.edge_driver_v2.EdgeLoadBalancerDriverV2:default + +NSX-TVD +------- + +LBaaS v2 Driver +~~~~~~~~~~~~~~~ + +Add lbaas repo as an external repository and configure following flags in ``local.conf``:: + + [[local]|[localrc]] + enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas + enable_service q-lbaasv2 + +Configure the service provider:: + [[post-config|$NEUTRON_LBAAS_CONF]] + [service_providers] + service_provider = LOADBALANCERV2:VMWareEdge:neutron_lbaas.drivers.vmware.edge_driver_v2.EdgeLoadBalancerDriverV2:default + +FWaaS (V1) Driver: +~~~~~~~~~~~~~ + +Add neutron-fwaas repo as an external repository and configure following flags in ``local.conf``:: + + [[local|localrc]] + enable_plugin neutron-fwaas https://git.openstack.org/openstack/neutron-fwaas + ENABLED_SERVICES+=,q-fwaas + Q_SERVICE_PLUGIN_CLASSES=neutron_fwaas.services.firewall.fwaas_plugin.FirewallPlugin + + [[post-config|$NEUTRON_CONF]] + [fwaas] + enabled = True + driver = vmware_nsxtvd_edge_v1 + + +FWaaS (V2) Driver +~~~~~~~~~~~~~~~~~ + +Add neutron-fwaas repo as an external repository and configure following flags in ``local.conf``:: + + [[local|localrc]] + enable_plugin neutron-fwaas https://git.openstack.org/openstack/neutron-fwaas + ENABLED_SERVICES+=,q-fwaas-v2 + Q_SERVICE_PLUGIN_CLASSES=neutron_fwaas.services.firewall.fwaas_plugin_v2.FirewallPluginV2 + + [[post-config|$NEUTRON_CONF]] + [fwaas] + enabled = True + driver = vmware_nsxtvd_edge_v2 + +L2GW Driver +~~~~~~~~~~~ + +Add networking-l2gw repo as an external repository and configure following flags in ``local.conf``:: + + [[local|localrc]] + enable_plugin networking-l2gw https://github.com/openstack/networking-l2gw + ENABLED_SERVICES+=l2gw-plugin + NETWORKING_L2GW_SERVICE_DRIVER=L2GW:vmware-nsx-l2gw:vmware_nsx.services.l2gateway.nsx_tvd.driver.NsxTvdL2GatewayDriver:default + DEFAULT_BRIDGE_CLUSTER_UUID= + +QoS Driver +~~~~~~~~~~ + +Enable the qos in ``local.conf``:: + + [[local|localrc]] + ENABLED_SERVICES+=,q-qos + Q_SERVICE_PLUGIN_CLASSES=neutron.services.qos.qos_plugin.QoSPlugin + +Neutron dynamic routing plugin (bgp) +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Add neutron-dynamic-routing repo as an external repository and configure following flags in ``local.conf``:: + + [[local|localrc]] + enable_plugin neutron-dynamic-routing https://git.openstack.org/openstack/neutron-dynamic-routing + DR_MODE=dr_plugin + BGP_PLUGIN=vmware_nsx.services.dynamic_routing.bgp_plugin.NSXBgpPlugin + + [[post-config|$NEUTRON_CONF]] + [DEFAULT] + api_extensions_path = $DEST/neutron-dynamic-routing/neutron_dynamic_routing/extensions diff --git a/setup.cfg b/setup.cfg index a0111d9b9b..273279206f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,8 +39,8 @@ firewall_drivers = vmware_nsxv3_edge = vmware_nsx.services.fwaas.nsx_v3.edge_fwaas_driver_v1:EdgeFwaasV3DriverV1 vmware_nsxv3_edge_v1 = vmware_nsx.services.fwaas.nsx_v3.edge_fwaas_driver_v1:EdgeFwaasV3DriverV1 vmware_nsxv3_edge_v2 = vmware_nsx.services.fwaas.nsx_v3.edge_fwaas_driver_v2:EdgeFwaasV3DriverV2 - vmware_nsxtv_edge_v1 = vmware_nsx.services.fwaas.nsx_tv.edge_fwaas_driver_v1:EdgeFwaasTVDriverV1 - vmware_nsxtv_edge_v2 = vmware_nsx.services.fwaas.nsx_tv.edge_fwaas_driver_v2:EdgeFwaasTVDriverV2 + vmware_nsxtvd_edge_v1 = vmware_nsx.services.fwaas.nsx_tv.edge_fwaas_driver_v1:EdgeFwaasTVDriverV1 + vmware_nsxtvd_edge_v2 = vmware_nsx.services.fwaas.nsx_tv.edge_fwaas_driver_v2:EdgeFwaasTVDriverV2 neutron.service_plugins = vmware_nsxv_qos = vmware_nsx.services.qos.nsx_v.plugin:NsxVQosPlugin neutron.qos.notification_drivers =