diff --git a/doc/source/usage.rst b/doc/source/usage.rst index 66a594bca1..dbc2eadc31 100644 --- a/doc/source/usage.rst +++ b/doc/source/usage.rst @@ -4,4 +4,4 @@ Usage To use in a project:: - import vmware \ No newline at end of file + import vmware_nsx diff --git a/vmware_nsx/shell/admin/README.rst b/vmware_nsx/shell/admin/README.rst index 01faaaffb7..945064cd93 100644 --- a/vmware_nsx/shell/admin/README.rst +++ b/vmware_nsx/shell/admin/README.rst @@ -45,7 +45,7 @@ Adding new functions is fairly straightforward: * To test, do :: - cd python-nsxadmin/ + cd vmware-nsx/shell sudo pip install -e . @@ -106,12 +106,13 @@ Example | default - 261343f8-4f35-4e57-9cc7-6c4fc7723b72 | 2e5b5ca1-f687-4556-8130-9524b313474b | | default - 823247b6-bdb3-47be-8bac-0d1114fc1ad7 | b5cd9ae4-42b5-47a7-a1bf-9767ac62466e | +------------------------------------------------+--------------------------------------+ - ==== [NEUTRON] List Security Groups ==== - Security Groups - +--------+------+ - | name | id | - |--------+------| - +--------+------+ + ==== [NEUTRON] List Security Groups Mappings ==== + security-groups + +---------+--------------------------------------+-----------------------------------------------------------+----------------------+ + | name | id | section-uri | nsx-securitygroup-id | + +---------+--------------------------------------+-----------------------------------------------------------+----------------------+ + | default | f785c82a-5b28-42ac-aa0a-ad56720ccbbc | /api/4.0/firewall/globalroot-0/config/layer3sections/1006 | securitygroup-12 | + +---------+--------------------------------------+-----------------------------------------------------------+----------------------+ $ nsxadmin -r security-groups -o list -f json ==== [NSX] List Security Groups ==== @@ -151,12 +152,18 @@ Example } ] } - ==== [NEUTRON] List Security Groups ==== + ==== [NEUTRON] List Security Groups Mappings ==== + security-groups { - "Security Groups": [] + "security-groups": [ + { + "id": "f785c82a-5b28-42ac-aa0a-ad56720ccbbc", + "name": "default", + "nsx-securitygroup-id": "securitygroup-12", + "section-uri": "/api/4.0/firewall/globalroot-0/config/layer3sections/1006" + } } - Upgrade Steps (Version 1.0.0 to Version 1.1.0) ----------------------------------------------