yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70344
[Bug 1672629] Re: when port admin-state-up=False, the port status should be DOWN
Reviewed: https://review.openstack.org/524985
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ce01b70ef86e723bc343819ceaf6aa7d96829c0c
Submitter: Zuul
Branch: master
commit ce01b70ef86e723bc343819ceaf6aa7d96829c0c
Author: OmarM <omar.muhtaseb@xxxxxxxx>
Date: Sun Dec 3 09:42:50 2017 -0500
[OVS] Shut down the port on changing the admin-state to false
On changing the port-admin-state to false, the port goes down.
Change-Id: Ica46e39d8858f4235a8a1b9caeb696346a86f38b
Closes-bug: #1672629
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1672629
Title:
when port admin-state-up=False, the port status should be DOWN
Status in neutron:
Fix Released
Bug description:
I found when port admin-state-up=False, the related port status should be DOWN rather than ACTIVE.
tested under ocata.
===========================
[root@EXTENV-10-254-8-14 tmp]# neutron port-update ff896560-b758-4f1f-8ab6-aa2f427234c0 --admin-state-up False
neutron Updated port: ff896560-b758-4f1f-8ab6-aa2f427234c0
[root@EXTENV-10-254-8-14 tmp]# neutron port-show ff896560-b758-4f1f-8ab6-aa2f427234c0
+-----------------------+------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------------+
| admin_state_up | False |
| allowed_address_pairs | |
| binding:host_id | EXTENV-10-254-8-14 |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| created_at | 2017-03-02T01:59:43Z |
| description | |
| device_id | dhcp93479c3a-a910-59eb-86a4-1cb397118fba-997bcf91-ea0c-4e7b-8267-f2384b583eed |
| device_owner | network:dhcp |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "4c73634c-3638-4238-a2e3-2699ad589ff0", "ip_address": "192.168.3.2"} |
| id | ff896560-b758-4f1f-8ab6-aa2f427234c0 |
| mac_address | fa:16:3e:3e:31:b9 |
| name | |
| network_id | 997bcf91-ea0c-4e7b-8267-f2384b583eed |
| port_security_enabled | False |
| project_id | 44d18f4a104941299243da0f0c9cc7cd |
| qos_policy_id | |
| revision_number | 151 |
| security_groups | |
| status | ACTIVE |
| tags | |
| tenant_id | 44d18f4a104941299243da0f0c9cc7cd |
| updated_at | 2017-03-14T07:39:36Z |
+-----------------------+------------------------------------------------------------------------------------+
[root@EXTENV-10-254-8-14 tmp]#
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1672629/+subscriptions
References