Unable to filter using same cidr value as used for subnet create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Harald Jensås |
Bug Description
When subnets are created using a cidr the value provided is normalized/
https:/
818 # turn the CIDR into a proper subnet
819 net = netaddr.
820 subnet[
I.e if the user create using `192.168.100.1/24` as the cidr the subnet create is successfull. The cidr is turned into the proper subnet `192.168.100.0/24` internally in the pre-commit.
When listing subnets and filtering using the same value for the cidr the return is an empty list. Example:
$ curl -s -H "X-Auth-Token: $(openstack token issue -c id -f value)" -H "Content-Type: application/json" http://
{
"subnets": [
]
}
A user should be able to find the subnet by filtering using the same `192.168.100.1/24` value used when creating the subnet.
Changed in neutron: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/663464
Review: https:/