diff --git a/neutron/extensions/qos_fip.py b/neutron/extensions/qos_fip.py index cbd42148343..a8c3431725e 100644 --- a/neutron/extensions/qos_fip.py +++ b/neutron/extensions/qos_fip.py @@ -24,6 +24,7 @@ EXTENDED_ATTRIBUTES_2_0 = { 'allow_put': True, 'is_visible': True, 'default': None, + 'enforce_policy': True, 'validate': {'type:uuid_or_none': None}} } } diff --git a/releasenotes/notes/bug-1957175-764bc9c73b8d46e9.yaml b/releasenotes/notes/bug-1957175-764bc9c73b8d46e9.yaml new file mode 100644 index 00000000000..4dc3dbd3303 --- /dev/null +++ b/releasenotes/notes/bug-1957175-764bc9c73b8d46e9.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Enforce policy for 'qos_policy_id' attribute of + Floating IP so only authorized users can set/unset it. + For more info see `bug LP#1957175 `_.