Resource name and collection name for address groups are incorrectly defined in neutron-lib

Bug #1915310 reported by Miguel Lavalle
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Miguel Lavalle

Bug Description

RESOURCE_NAME and COLLECTION_NAME are incorrectly defined in neutron-lib: https://github.com/openstack/neutron-lib/blob/2dabcc5cf7d68bf2a4640f07d5e170aa8b911390/neutron_lib/api/definitions/address_group.py#L25-L26

Their definitions should have '_' instead of '-'. This incorrect definition prevents the proper setup in policy FieldCheck, which uses the policy engine match to look for the resource in the API attributes table: https://github.com/openstack/neutron/blob/a3dc80b509d72c8d1a3ea007cb657a9e217ba66a/neutron/policy.py#L359-L377

Miguel Lavalle (minsel)
Changed in neutron:
assignee: nobody → Miguel Lavalle (minsel)
importance: Undecided → Medium
Revision history for this message
Miguel Lavalle (minsel) wrote :
Changed in neutron:
status: New → Fix Committed
Changed in neutron:
milestone: none → wallaby-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-lib 2.9.0

This issue was fixed in the openstack/neutron-lib 2.9.0 release.

Changed in neutron:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.