Adit Sarfaty ad425b90b1 [Admin-Util] list/delete orphaned backend edges in NSX-v
Usage for listing the orphaned networks: nsxadmin -r orphaned-networks -o list

Output example:
==== [LIST] Orphaned Networks ====
orphaned-networks
+-----------------------------+-----------------+------------------------------------------------------+
| type                        | moref           | name                                                 |
+-----------------------------+-----------------+------------------------------------------------------+
| DistributedVirtualPortgroup | dvportgroup-340 | dvs-22-net-vlan-0d0ad825-4907-4e8f-9bd8-690007dadf3b |
| VirtualWire                 | virtualwire-33  | a7fd0856-923e-43a6-97c7-9980e7fabd08                 |
+-----------------------------+-----------------+------------------------------------------------------+

Usage for deleting a backend network:
nsxadmin -r orphaned-networks -o nsx-clean --property moref=<moref>

Output example:
==== [DELETE] Backend Network ====
Backend network dvportgroup-340 was deleted

Change-Id: I3141c490dc47b06fd5315b2f4bfb7144360e11ac
2016-07-12 15:15:06 +03:00
..
2014-12-21 23:24:18 -08:00
2014-12-21 23:24:18 -08:00
2014-12-21 23:24:18 -08:00
2014-12-21 23:24:18 -08:00
2014-12-21 23:24:18 -08:00
2014-12-21 23:24:18 -08:00