← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1524602] [NEW] Return availability_zone_hints as string when net-create

 

Public bug reported:

In neutron with availability zone extensions, we receive the return
value with string as availability_zone_hints although we expect list.


   $ neutron net-create --availability-zone-hint zone-1 --availability-zone-hint zone-2 net1
    Created a new network:
    +---------------------------+--------------------------------------+
    | Field                     | Value                                |
    +---------------------------+--------------------------------------+
    | admin_state_up            | True                                 |
    | availability_zone_hints   | ["zone-1", "zone-2"]                 |
    | id                        | 0ef0597c-4aab-4235-8513-bf5d8304fe64 |
    | mtu                       | 0                                    |
    | name                      | net1                                 |
    | port_security_enabled     | True                                 |
    | provider:network_type     | vxlan                                |
    | provider:physical_network |                                      |
    | provider:segmentation_id  | 1054                                 |
    | router:external           | False                                |
    | shared                    | False                                |
    | status                    | ACTIVE                               |
    | subnets                   |                                      |
    | tenant_id                 | 32f5512c7b3f47fb8924588ff9ad603b     |
    +---------------------------+--------------------------------------+

** Affects: neutron
     Importance: Undecided
     Assignee: Hirofumi Ichihara (ichihara-hirofumi)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Hirofumi Ichihara (ichihara-hirofumi)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1524602

Title:
  Return availability_zone_hints as string when net-create

Status in neutron:
  New

Bug description:
  In neutron with availability zone extensions, we receive the return
  value with string as availability_zone_hints although we expect list.

  
     $ neutron net-create --availability-zone-hint zone-1 --availability-zone-hint zone-2 net1
      Created a new network:
      +---------------------------+--------------------------------------+
      | Field                     | Value                                |
      +---------------------------+--------------------------------------+
      | admin_state_up            | True                                 |
      | availability_zone_hints   | ["zone-1", "zone-2"]                 |
      | id                        | 0ef0597c-4aab-4235-8513-bf5d8304fe64 |
      | mtu                       | 0                                    |
      | name                      | net1                                 |
      | port_security_enabled     | True                                 |
      | provider:network_type     | vxlan                                |
      | provider:physical_network |                                      |
      | provider:segmentation_id  | 1054                                 |
      | router:external           | False                                |
      | shared                    | False                                |
      | status                    | ACTIVE                               |
      | subnets                   |                                      |
      | tenant_id                 | 32f5512c7b3f47fb8924588ff9ad603b     |
      +---------------------------+--------------------------------------+

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


Follow ups