Comment 4 for bug 1655917

Revision history for this message
Reedip (reedip-banerjee-deactivatedaccount) wrote : Re: Revision is not increased when updating "network router:external"

Cant replicate in stable/newton

[outofmemory@localhost devstack]$ neutron net-create Test2
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
neutroCreated a new network:
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| availability_zone_hints | |
| availability_zones | |
| created_at | 2017-01-12T15:25:27Z |
| description | |
| id | abfabc8a-7127-4bd3-83e8-205cd7f1d676 |
| ipv4_address_scope | |
| ipv6_address_scope | |
| mtu | 1450 |
| name | Test2 |
| port_security_enabled | True |
| project_id | 27ef7aeb8bca47dc823f294fa2a3ec2e |
| provider:network_type | vxlan |
| provider:physical_network | |
| provider:segmentation_id | 75 |
| qos_policy_id | |
| revision_number | 3 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tags | |
| tenant_id | 27ef7aeb8bca47dc823f294fa2a3ec2e |
| updated_at | 2017-01-12T15:25:27Z |
+---------------------------+--------------------------------------+
[outofmemory@localhost devstack]$ neutron net-update Test2 --router:external=True
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Updated network: Test2
[outofmemory@localhost devstack]$ neutron net-show test2
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| availability_zone_hints | |
| availability_zones | |
| created_at | 2017-01-12T15:25:27Z |
| description | |
| id | abfabc8a-7127-4bd3-83e8-205cd7f1d676 |
| ipv4_address_scope | |
| ipv6_address_scope | |
| is_default | False |
| mtu | 1450 |
| name | Test2 |
| port_security_enabled | True |
| project_id | 27ef7aeb8bca47dc823f294fa2a3ec2e |
| provider:network_type | vxlan |
| provider:physical_network | |
| provider:segmentation_id | 75 |
| qos_policy_id | |
| revision_number | 4 |
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | |
| tags | |
| tenant_id | 27ef7aeb8bca47dc823f294fa2a3ec2e |
| updated_at | 2017-01-12T15:25:49Z |
+---------------------------+--------------------------------------+
[outofmemory@localhost devstack]$