← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1691340] [NEW] create default network show wrong

 

Public bug reported:

when i create a network use  --default --internal. It's resp is 
"is_default                | True "
When i show it, in fact it is None.

[root@localhost auto_allocate]# openstack network create ysm_test --default --internal
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2017-05-17T05:43:55Z                 |
| description               |                                      |
| dns_domain                | None                                 |
| id                        | d508fafa-25c7-4bd8-bfc4-25903f79aa53 |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | True                                 |
| mtu                       | 1450                                 |
| name                      | ysm_test                             |
| port_security_enabled     | True                                 |
| project_id                | bca504c769234d4db32e05142428fd64     |
| provider:network_type     | vxlan                                |
| provider:physical_network | None                                 |
| provider:segmentation_id  | 37                                   |
| qos_policy_id             | None                                 |
| revision_number           | 3                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| updated_at                | 2017-05-17T05:43:55Z                 |
+---------------------------+--------------------------------------+
[root@localhost auto_allocate]# openstack network show d508fafa-25c7-4bd8-bfc4-25903f79aa53
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | UP                                   |
| availability_zone_hints   |                                      |
| availability_zones        |                                      |
| created_at                | 2017-05-17T05:43:55Z                 |
| description               |                                      |
| dns_domain                | None                                 |
| id                        | d508fafa-25c7-4bd8-bfc4-25903f79aa53 |
| ipv4_address_scope        | None                                 |
| ipv6_address_scope        | None                                 |
| is_default                | None                                 |
| mtu                       | 1450                                 |
| name                      | ysm_test                             |
| port_security_enabled     | True                                 |
| project_id                | bca504c769234d4db32e05142428fd64     |
| provider:network_type     | vxlan                                |
| provider:physical_network | None                                 |
| provider:segmentation_id  | 37                                   |
| qos_policy_id             | None                                 |
| revision_number           | 3                                    |
| router:external           | Internal                             |
| segments                  | None                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   |                                      |
| updated_at                | 2017-05-17T05:43:55Z                 |
+---------------------------+--------------------------------------+
[root@localhost auto_allocate]#

** Affects: neutron
     Importance: Undecided
     Assignee: Yan Songming (songmingyan)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Yan Songming (songmingyan)

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

Title:
  create default network show wrong

Status in neutron:
  New

Bug description:
  when i create a network use  --default --internal. It's resp is 
  "is_default                | True "
  When i show it, in fact it is None.

  [root@localhost auto_allocate]# openstack network create ysm_test --default --internal
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | UP                                   |
  | availability_zone_hints   |                                      |
  | availability_zones        |                                      |
  | created_at                | 2017-05-17T05:43:55Z                 |
  | description               |                                      |
  | dns_domain                | None                                 |
  | id                        | d508fafa-25c7-4bd8-bfc4-25903f79aa53 |
  | ipv4_address_scope        | None                                 |
  | ipv6_address_scope        | None                                 |
  | is_default                | True                                 |
  | mtu                       | 1450                                 |
  | name                      | ysm_test                             |
  | port_security_enabled     | True                                 |
  | project_id                | bca504c769234d4db32e05142428fd64     |
  | provider:network_type     | vxlan                                |
  | provider:physical_network | None                                 |
  | provider:segmentation_id  | 37                                   |
  | qos_policy_id             | None                                 |
  | revision_number           | 3                                    |
  | router:external           | Internal                             |
  | segments                  | None                                 |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   |                                      |
  | updated_at                | 2017-05-17T05:43:55Z                 |
  +---------------------------+--------------------------------------+
  [root@localhost auto_allocate]# openstack network show d508fafa-25c7-4bd8-bfc4-25903f79aa53
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | UP                                   |
  | availability_zone_hints   |                                      |
  | availability_zones        |                                      |
  | created_at                | 2017-05-17T05:43:55Z                 |
  | description               |                                      |
  | dns_domain                | None                                 |
  | id                        | d508fafa-25c7-4bd8-bfc4-25903f79aa53 |
  | ipv4_address_scope        | None                                 |
  | ipv6_address_scope        | None                                 |
  | is_default                | None                                 |
  | mtu                       | 1450                                 |
  | name                      | ysm_test                             |
  | port_security_enabled     | True                                 |
  | project_id                | bca504c769234d4db32e05142428fd64     |
  | provider:network_type     | vxlan                                |
  | provider:physical_network | None                                 |
  | provider:segmentation_id  | 37                                   |
  | qos_policy_id             | None                                 |
  | revision_number           | 3                                    |
  | router:external           | Internal                             |
  | segments                  | None                                 |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   |                                      |
  | updated_at                | 2017-05-17T05:43:55Z                 |
  +---------------------------+--------------------------------------+
  [root@localhost auto_allocate]#

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


Follow ups