vmware-nsx/vmware_nsx
Gary Kotton a96d83ece6 NSX|V3: prevent duplicate default FW sections
When the plugin starts it will check if the global NS group and
OS DFW section are created on the NSX. If not it will create these.
There is a edge case where two servers are started in parallel and
they both create the default section. This will lead to traffic
being dropped.

This is dealt with in the following way:
1. We store the default OS section and NS group in the database
2. If the entries do not exist then we create them, the DB will
   indicate if there is a duplicate and then the plugin will do a
   cleanup of the incorrect resources.

In order to do this we need asecurity group. A default global one
with ID 00000000-def0-0000-0fed-000000000000 is created.

If the admin wishes to delete the global section then she/he should:
1. delete the NSX section
2. delete the security group
3. restart the neutron service

Change-Id: Ide7a7c75efac3e49d51e522a11c77e754f3d1447
2018-03-06 00:39:29 -08:00
..
api_client Drop log translations 2017-03-26 05:09:02 -07:00
api_replay TVD: Admin utility for migrating a project 2018-02-21 10:58:14 +02:00
common NSX|V3: prevent duplicate default FW sections 2018-03-06 00:39:29 -08:00
db use plugin common utils from neutron-lib 2018-03-04 09:53:45 +00:00
dhcp_meta use common agent topics from neutron-lib 2018-02-28 13:10:15 -07:00
dvs NSX|V: ensure that only LAG is configured and not standby 2018-01-22 00:54:40 -08:00
extension_drivers NSXv DNS integration 2018-02-07 01:54:42 +00:00
extensions NSX|TV: validate plugin is available 2018-01-30 07:38:19 +00:00
nsxlib Drop log translations 2017-03-26 05:09:02 -07:00
osc resource2 is depracted, use resource 2018-02-13 06:23:50 -08:00
plugins NSX|V3: prevent duplicate default FW sections 2018-03-06 00:39:29 -08:00
services use plugin common utils from neutron-lib 2018-03-04 09:53:45 +00:00
shell AdminUtils: Improve NSXv security admin utils 2018-03-01 14:11:38 +00:00
tests NSX|V3: prevent duplicate default FW sections 2018-03-06 00:39:29 -08:00
__init__.py Add Apache 2.0 license to source file 2016-11-30 15:15:03 +07:00
_i18n.py Drop log translations 2017-03-26 05:09:02 -07:00
check_nsx_config.py Use the correct _ from vmware_nsx._i18n file 2015-12-06 07:04:17 -08:00
nsx_cluster.py Drop log translations 2017-03-26 05:09:02 -07:00
opts.py Automatically generate vmware-nsx configuration files 2016-04-13 07:24:06 +00:00
plugin.py NSX TVD: V, T and simple DVS Coexist in the same plugin 2017-12-17 01:31:43 -08:00
version.py Add reno for release notes management 2015-12-03 00:08:14 -08:00