← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1603292] Re: Neutron network tags should not be empty string

 

** Changed in: neutron
       Status: Fix Committed => 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/1603292

Title:
  Neutron network tags should not be empty string

Status in neutron:
  Fix Released

Bug description:
  Now neutron network tags can be empty string, but I think there is no
  use case for a empty string tag, so we should add a check for tags.

  root@server201:~# neutron tag-add --resource-type network --resource test --tag 'test_tag'
  root@server201:~# neutron tag-add --resource-type network --resource test --tag '   '
  root@server201:~# neutron net-show test
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | True                                 |
  | availability_zone_hints   |                                      |
  | availability_zones        |                                      |
  | created_at                | 2016-07-15T01:45:51                  |
  | description               |                                      |
  | id                        | f1060382-c7fa-43d5-a214-e8525184e7f0 |
  | ipv4_address_scope        |                                      |
  | ipv6_address_scope        |                                      |
  | mtu                       | 1450                                 |
  | name                      | test                                 |
  | port_security_enabled     | True                                 |
  | provider:network_type     | vxlan                                |
  | provider:physical_network |                                      |
  | provider:segmentation_id  | 26                                   |
  | router:external           | False                                |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   |                                      |
  | tags                      |                                      |
  |                           | test_tag                             |
  | tenant_id                 | 9e211e5ad3c0407aaf6c5803dc307c27     |
  | updated_at                | 2016-07-15T01:45:51                  |
  +---------------------------+--------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1603292/+subscriptions



References