← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1707819] [NEW] Allowed address pairs allows update with invalid cidr

 

Public bug reported:

Subnet info:
$ neutron subnet-show 68a42a05-2024-44b3-9086-e97704452724
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+-------------------+----------------------------------------------+
| Field             | Value                                        |
+-------------------+----------------------------------------------+
| allocation_pools  | {"start": "10.20.0.2", "end": "10.20.0.254"} |
| cidr              | 10.20.0.0/24                                 |
| created_at        | 2017-04-21T07:08:39Z                         |
| description       |                                              |
| dns_nameservers   |                                              |
| enable_dhcp       | False                                        |
| gateway_ip        | 10.20.0.1                                    |
| host_routes       |                                              |
| id                | 68a42a05-2024-44b3-9086-e97704452724         |
| ip_version        | 4                                            |
| ipv6_address_mode |                                              |
| ipv6_ra_mode      |                                              |
| name              | test_subnet                                  |
| network_id        | 9cd01eb4-906a-4c68-b705-0520bfe1b1e6         |
| project_id        | 6d0a93fb8cfc4c2f84e3936d95a17bad             |
| revision_number   | 2                                            |
| service_types     |                                              |
| subnetpool_id     |                                              |
| tags              |                                              |
| tenant_id         | 6d0a93fb8cfc4c2f84e3936d95a17bad             |
| updated_at        | 2017-04-21T07:08:39Z                         |
+-------------------+----------------------------------------------+


$ neutron port-update 31250c3c-69ec-462c-8ec8-195beeeff3f2  --allowed-address-pairs type=dict list=true ip_address=10.20.0.201/24
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Updated port: 31250c3c-69ec-462c-8ec8-195beeeff3f2

** Affects: neutron
     Importance: Undecided
     Assignee: Dongcan Ye (hellochosen)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Dongcan Ye (hellochosen)

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

Title:
  Allowed address pairs allows update with invalid cidr

Status in neutron:
  New

Bug description:
  Subnet info:
  $ neutron subnet-show 68a42a05-2024-44b3-9086-e97704452724
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  +-------------------+----------------------------------------------+
  | Field             | Value                                        |
  +-------------------+----------------------------------------------+
  | allocation_pools  | {"start": "10.20.0.2", "end": "10.20.0.254"} |
  | cidr              | 10.20.0.0/24                                 |
  | created_at        | 2017-04-21T07:08:39Z                         |
  | description       |                                              |
  | dns_nameservers   |                                              |
  | enable_dhcp       | False                                        |
  | gateway_ip        | 10.20.0.1                                    |
  | host_routes       |                                              |
  | id                | 68a42a05-2024-44b3-9086-e97704452724         |
  | ip_version        | 4                                            |
  | ipv6_address_mode |                                              |
  | ipv6_ra_mode      |                                              |
  | name              | test_subnet                                  |
  | network_id        | 9cd01eb4-906a-4c68-b705-0520bfe1b1e6         |
  | project_id        | 6d0a93fb8cfc4c2f84e3936d95a17bad             |
  | revision_number   | 2                                            |
  | service_types     |                                              |
  | subnetpool_id     |                                              |
  | tags              |                                              |
  | tenant_id         | 6d0a93fb8cfc4c2f84e3936d95a17bad             |
  | updated_at        | 2017-04-21T07:08:39Z                         |
  +-------------------+----------------------------------------------+

  
  $ neutron port-update 31250c3c-69ec-462c-8ec8-195beeeff3f2  --allowed-address-pairs type=dict list=true ip_address=10.20.0.201/24
  neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
  Updated port: 31250c3c-69ec-462c-8ec8-195beeeff3f2

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


Follow ups