Added import for l2 configuration that was missing and cause the core to
crash on unknown config.
Also added some more v3 unittests for the admin utils to help us catch
similar problems in the future
Change-Id: Ieb2fde77e0be4e32a0976cdeedb9680fda19001d
Commit I0095e160481f1d4572e38ad1d3bbc8e183039b84 introduced some
changes to the VPNaaS driver and validator apis.
This patch closses this gap.
Change-Id: I46d2381e3a0b05551518d41a3f9957a1b9d2b834
Both NSX backend does not support adding a static route with destination
0.0.0.0/0.
The prefered way to change the default gw is to change the gw-ip of the
external subnet.
Change-Id: Ibb4f81a484de48f7ea65cb2bb6968e55eae087ad
Make sure the TVD plugin and services drivers will not crash in case one
of the core plugins is disabled.
Also generelize the code used by the different drivers to select their
plugin
Change-Id: I85dc35b9f516e0df9c9d5e19f90284b4942558e5
The BGP plugin and driver used for NSX-v should be used for TVD as well.
This plugin suports only NSX-V under the TVD plugin.
Change-Id: I95be40fe0f58f0ff2b06590400d708ee95294b82
Creating a wrapper driver for l2gw for hte TVD plugin
This driver choose the actual driver based on the project id.
Change-Id: I2edda8c780b7e14b36e3033108186ad63dd0449e
Before getting the router availability zones in get/list actions, we
need to get the availability zone hints.
The get_router method of the plugin is no longer needed becasue it
was originally created only to avoid thios prroblem.
In addition, the availability zones list should also return the router
zones.
Change-Id: Ief40b36955bae771fb1efd72d49be0e5a0d55cc6
New configuration parameter under [nsx_tvd] named default_plugin.
It can be one of 'nsx-t', 'nsx-v', 'dvs, with the default of default
'nsx-t'.
When an unknown/new project uses one of the core plugin methods, without
a project-plugin mapping in the DB, it will be automatically mapped to
the default plugin.
Change-Id: I850a4cc00ee11a9c5e0d0aac385a8bae79018958
Previously LBaaS reused exclusive router's Edge appliance so this protection
was required.
Once we removed this dependance, this check is not required anymore.
Change-Id: Ice7bc8824776a7d089513e3a145842f8289e6539
Implements a generic mechanism to cleanup and fix various breakages and
issues between neutron, plugin and backend.
Also adds a housekeeping job which detects and handles broken DHCP edge
issues.
Change-Id: I5324befbe2c7740b8ed47e0a20586f8aca0726f1
Adding unitests the to NSX-TVD plugin, to make sure the correct sub plugin
is being called, all plugins are initialized, and plugins seperation
is enforced.
Also fixing some problems discovered during those tests.
Change-Id: I76392451b3542f6682dfd594992f0d1c0e550ac0
If there is any inconsistence between neutron db and nsx backend,
don't raise exception and continue withg healthmonitor deletion.
Change-Id: I5929b09b62cf71ffff19ca4e35bf933906c993cf
Do not add an empty project to the database. There may be cases
when the calling application uses a admin context - via
get_admin_context (which does not have a project/tenant id).
The general use case for this is reading all resources. Here we
will be able to get the specific project for each individual
resource.
Change-Id: Icbebc776c3431f571745fa47718e9d7e494ed352
The extensions list should include the initially defined ones as well
as those from the different plugins.
Change-Id: I96857f814668d7c39c5c9ed335ac12fc648bbd90
NSX-V md proxy creates some neutron objects with an internal tenant.
For the TCD support we need this tenant to be mapped to the nsx-v
plugin
Change-Id: Iae96ef2483b97c81dc7a8e95e83a35c2ab3d0efe
Adding admin utility to map projects to a plugin.
when starting to use the TVD plugin, you should use this utility for all the old
projects/tenants.
New projects/tenants will later be added to the nsx-t plugin as default
usage:
nsxadmin -r projects -o import --property plugin=nsx-v --property project=<>
to automatically add all existing projects, run this command as an admin user:
for project in `openstack project list | grep -v Name | awk '{print $2}'`;
do nsxadmin -r projects -o import --property plugin=nsx-v --property project=$project;
done
Change-Id: I15e0cbe731628829af436ed265fbaa85f1c4d439
Drivers for FWaaS V1/V2 for the NSX-TV plugin
Those drivers are just wrappers calling the right driver according to
the project of the firewall object.
Change-Id: Ia073da9c91cb4d69d772b3e0d0ab6f5c3fd60795