"neutron help port-update" missing some help info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Fix Released
|
Low
|
Amandeep |
Bug Description
OpenStack version: Juno
ubuntu@
2015.1.0
Issue: "neutron help port-update" missing the following help info
--name
--admin_state_up
--device_id
--device_owner
ubuntu@
usage: neutron port-update [-h] [--request-format {json,xml}]
Update port's information.
positional arguments:
PORT ID or name of port to update.
optional arguments:
-h, --help show this help message and exit
--request-format {json,xml}
--security-group SECURITY_GROUP
--no-
--extra-dhcp-opt EXTRA_DHCP_OPTS
<1> User is able to update "name":
=======
ubuntu@
+------
| id | name | mac_address | fixed_ips |
+------
| 904f3dff-
+------
ubuntu@
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "3f5b84c5-
| id | 904f3dff-
| mac_address | fa:16:3e:ff:b4:c8 |
| name | |
| network_id | b18a4a3f-
| security_groups | b65b1238-
| status | DOWN |
| tenant_id | db81f81239f54d5
+------
ubuntu@
Updated port: 904f3dff-
ubuntu@
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "3f5b84c5-
| id | 904f3dff-
| mac_address | fa:16:3e:ff:b4:c8 |
| name | TEST_PORT | <<< "name" updated
| network_id | b18a4a3f-
| security_groups | b65b1238-
| status | DOWN |
| tenant_id | db81f81239f54d5
+------
<2> User is able to update "admin_state_up":
=======
ubuntu@
Updated port: 904f3dff-
ubuntu@
+------
| Field | Value |
+------
| admin_state_up | False | <<< "admin_state_up" updated
| allowed_
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | |
| device_owner | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "3f5b84c5-
| id | 904f3dff-
| mac_address | fa:16:3e:ff:b4:c8 |
| name | TEST_PORT |
| network_id | b18a4a3f-
| security_groups | b65b1238-
| status | DOWN |
| tenant_id | db81f81239f54d5
+------
<3> User is able to update "device_id":
=======
ubuntu@
Updated port: 904f3dff-
ubuntu@
+------
| Field | Value |
+------
| admin_state_up | False |
| allowed_
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | 1df2b3a0-
| device_owner | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "3f5b84c5-
| id | 904f3dff-
| mac_address | fa:16:3e:ff:b4:c8 |
| name | TEST_PORT |
| network_id | b18a4a3f-
| security_groups | b65b1238-
| status | DOWN |
| tenant_id | db81f81239f54d5
+------
<4> User is able to update "device_owner":
=======
ubuntu@
Updated port: 904f3dff-
ubuntu@
+------
| Field | Value |
+------
| admin_state_up | False |
| allowed_
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| device_id | 1df2b3a0-
| device_owner | network:
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "3f5b84c5-
| id | 904f3dff-
| mac_address | fa:16:3e:ff:b4:c8 |
| name | TEST_PORT |
| network_id | b18a4a3f-
| security_groups | b65b1238-
| status | DOWN |
| tenant_id | db81f81239f54d5
+------
Changed in python-neutronclient: | |
assignee: | nobody → Amandeep (rattenpal-amandeep) |
Changed in python-neutronclient: | |
assignee: | Amandeep (rattenpal-amandeep) → nobody |
Changed in python-neutronclient: | |
assignee: | nobody → tcs_openstack_group (tcs-openstack-group) |
Changed in python-neutronclient: | |
assignee: | tcs_openstack_group (tcs-openstack-group) → P. Watsalya Mishra (watsalya-mishra) |
Changed in python-neutronclient: | |
milestone: | none → 2.3.9 |
importance: | Undecided → Low |
Changed in python-neutronclient: | |
milestone: | 2.3.9 → 2.3.10 |
Changed in python-neutronclient: | |
milestone: | 2.3.10 → 2.3.11 |
Changed in python-neutronclient: | |
assignee: | P. Watsalya Mishra (watsalya-mishra) → Amandeep (rattenpal-amandeep) |
Changed in python-neutronclient: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/134882
Review: https:/