vmware-nsx/vmware_nsx/shell/admin/plugins/nsxv/resources
Kobi Samoray 0e97278c8a NSXv: admin util metadata breakage recovery
Due to neutron bug, some metadata components in the various backend Edge
appliances are missing. The patch is supposed to address these
issues.

Admin util command can run per Edge, per AZ or for the whole cloud.

Cases handled by the utility:
- Existing metadata proxies' internal IP is different than the IPs which are
defined in the Edge's loadbalancer object.
This case can happen when the metadata proxies are recreated for some reason.

- Edge appliance is lacking the metadata network connectivity, and the
loadbalancer objects.
This case can happen while a router or a DHCP was created by the Neutron
parent process, which failed to initialize with metadata due to a bug.

- The Edge is missing the metadata firewall rules.
This case can happen while the first interface attachment to the router was
done in the Neutron parent process context due to the bug described above.

Command syntax:
Update AZ:
    nsxadmin -r metadata -o nsx-update --property az-name=az123

Update single Edge appliance:
    nsxadmin -r metadata -o nsx-update --property edge-id=edge-15

Update entire cloud:
    nsxadmin -r metadata -o nsx-update

Change-Id: I77de9e0a0c627e43d3b1c95573d151e0414a34a9
2019-03-15 12:06:50 +02:00
..
__init__.py Move python_nsxadmin out of a top-level namespace 2015-12-17 15:34:45 -07:00
backup_edges.py Add script to clean up all backup edges owned by Neutron 2018-04-20 10:18:59 +08:00
config.py Use neutron-lib callbacks module 2017-04-25 10:36:26 +03:00
dhcp_binding.py NSX|V Do not share edges between tenants 2017-10-17 00:09:47 +03:00
edges.py NSX|V Fix orphaned networks and bindings 2018-11-11 09:00:08 +00:00
gw_edges.py NSX-V Admin Utils: List BGP GW edges 2018-02-20 14:26:03 +02:00
lbaas.py LBaaS legacy mode bugfix 2018-06-14 14:21:10 +03:00
metadata.py NSXv: admin util metadata breakage recovery 2019-03-15 12:06:50 +02:00
networks.py NSX|V Fix orphaned networks and bindings 2018-11-11 09:00:08 +00:00
routers.py NSX|V Do not share edges between tenants 2017-10-17 00:09:47 +03:00
securitygroups.py NSX|V New admin utility to list existing NSX policies 2018-11-29 07:22:17 +00:00
spoofguard_policy.py NSX|V admin utils: Find and fix spoofguard policies mismatches 2019-03-04 12:05:20 +02:00
utils.py NSX|V Fix AdminUtils get apis to use the right context 2018-12-04 11:29:45 +02:00