vmware-nsx/vmware_nsx
Gary Kotton 338d47e058 NSX|V: add support for host groups for DRS HA
The code adds support for host_groups. This allows the plugin
to place the edge VMs host_groups to provide HA.

In order to get the fire cell anti affinity, we do the following:

1. Admin out of band: create two ‘Virtual machine to Hosts’ rules.
    These are listed in the host_groups parameter(s)
    a. HOST-GROUP-A – all hosts in fire cell A
    b. HOST-GROUP-B – all hosts in fire cell B
2. The plugin does the following:
    a. Create 2 VM groups (each one will be a placeholder for the edges).
    The VM group name is of the following format:
    'neutron-group-%s-%s' % (edge_id, index)
    b. Create 2 VM/Host rules. This will contain the VM group from above
    The Host group name is of the following format:
    'neutron-rule-%s-%s' % (edge_id, index)
    c. Plugin deletes above when the edges are deleted.

An admin utility method has been added that configures the host groups:
nsxadmin -o nsx-update -r edges -p edge-id=edge-55 --property hostgroup=True|False

Depends-On: I494a1d19341f30f22803a3fe6baf020a67ad6b08
Change-Id: I9bf3c280c37c02081c11ac8abacc424db6cac09f
2017-02-12 05:51:50 -08:00
..
api_client Removed redundant 'the' 2016-11-18 17:44:38 +08:00
api_replay Merge "TrivialFix: typos in cli.py" 2016-09-22 12:04:05 +00:00
common NSX|V: add support for host groups for DRS HA 2017-02-12 05:51:50 -08:00
db NSXv: Add metadata configuration to the availability zones 2017-02-12 08:44:33 +02:00
dhcp_meta python3: make unit tests pass 2016-07-07 14:42:35 -07:00
dvs NSX|V: add support for host groups for DRS HA 2017-02-12 05:51:50 -08:00
extension_drivers NSXV+NSXV3: Add support for dns-integration extension 2017-01-15 09:06:09 -08:00
extensions Use https for *.openstack.org references 2017-02-06 15:45:18 -08:00
nsxlib Integration with nsxlib 2016-11-03 05:56:36 +00:00
osc Merge "Add security group policy extension to OSC" 2016-11-10 16:15:07 +00:00
plugins NSX|V: add support for host groups for DRS HA 2017-02-12 05:51:50 -08:00
services NSX: Add devstack.rst to contain all devstack config 2017-02-12 01:27:02 -08:00
shell NSX|V: add support for host groups for DRS HA 2017-02-12 05:51:50 -08:00
tests NSX|V: add support for host groups for DRS HA 2017-02-12 05:51:50 -08:00
__init__.py Add Apache 2.0 license to source file 2016-11-30 15:15:03 +07:00
_i18n.py Update translation setup 2016-01-29 07:15:35 +09:00
check_nsx_config.py Use the correct _ from vmware_nsx._i18n file 2015-12-06 07:04:17 -08:00
nsx_cluster.py Use the correct _ from vmware_nsx._i18n file 2015-12-06 07:04:17 -08:00
opts.py Automatically generate vmware-nsx configuration files 2016-04-13 07:24:06 +00:00
plugin.py Divide vmware_nsx/plugins into plugin-specific subdirectories 2015-09-16 16:14:47 -07:00
version.py Add reno for release notes management 2015-12-03 00:08:14 -08:00