← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1672629] Re: when port admin-state-up=False, the port status should be DOWN

 

Correction to my previous comment: ...so if that's NOT happening, this
is a valid bug...

** Changed in: neutron
       Status: Invalid => In Progress

** Changed in: neutron
       Status: In Progress => Incomplete

-- 
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:
  Incomplete

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