yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #85126
[Bug 1915309] [NEW] Resource name and collection name for address groups are incorrectly defined in neutron-lib
Public bug reported:
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
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1915309
Title:
Resource name and collection name for address groups are incorrectly
defined in neutron-lib
Status in neutron:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1915309/+subscriptions