vmware-nsx/vmware_nsx/shell/admin/plugins/common
Gary Kotton 4b6add4aa9 Admin util: add support to get network morefs
Add a command that will make getting the network moref a lot
simpler.

nsxadmin -r networks -o list

Output:-

NSX Plugin in use: nsxv
==== [NEUTRON] List Networks ====
networks
+-----------------------------+----------------+--------------------------------------+
| type                        | moref          | name                                 |
+-----------------------------+----------------+--------------------------------------+
| DistributedVirtualPortgroup | dvportgroup-61 | edge-8-1-18d92ccd5-9f9f-4abf-9c5e-0e |
| DistributedVirtualPortgroup | dvportgroup-44 | edge-6-1-1d99f80d0-58af-436e-9f02-8b |
| Network                     | network-85     | none                                 |
| DistributedVirtualPortgroup | dvportgroup-71 | edge-9-1-113708c82-3a38-458c-80ce-8c |
| DistributedVirtualPortgroup | dvportgroup-65 | edge-7-1-17c1cc8da-0642-4014-abce-ba |
| Network                     | network-17     | VM Network                           |
| DistributedVirtualPortgroup | dvportgroup-81 | edge-14-1-1490d7f36-7558-4519-a602-3 |
| DistributedVirtualPortgroup | dvportgroup-39 | edge-4-1-13fdc6af0-f2f5-4335-9a2d-af |
| DistributedVirtualPortgroup | dvportgroup-32 | edge-2-1-1ba392d5a-66cc-4c6d-8a45-f4 |
| VirtualWire                 | virtualwire-3  | 9d0d1049-e1bf-473d-8489-5fe3d7679753 |
| DistributedVirtualPortgroup | dvportgroup-86 | edge-16-1-1ffc203ca-717d-4bb2-b7f9-e |
| VirtualWire                 | virtualwire-13 | 90a21c2d-2167-470e-b44f-34a3deb428f2 |
+-----------------------------+----------------+--------------------------------------+

Change-Id: I809a7b12c883fea22b8bacc77df924dad1a394e6
2016-02-17 02:22:03 -08:00
..
__init__.py Move python_nsxadmin out of a top-level namespace 2015-12-17 15:34:45 -07:00
constants.py Admin util: add support to get network morefs 2016-02-17 02:22:03 -08:00
formatters.py Move python_nsxadmin out of a top-level namespace 2015-12-17 15:34:45 -07:00
utils.py Move python_nsxadmin out of a top-level namespace 2015-12-17 15:34:45 -07:00