neutron-lib/releasenotes/notes/new-policy-module-f5638e23fe91a287.yaml
Slawek Kaplonski 59c60b68fb Add policy module to neutron-lib
This module contains some constants and helper functions
which may be used in neutron, neutron staduim and neutron
3rd party projects.

Also already existing module _policy with policy engine
implementation for internal use of neutron-lib for moved to
the new neutron_lib.policy module and is now named
neutron_lib.policy._engine

Partially Implements: blueprint neutron-policy-in-code

Change-Id: Ie581788f78f6d83ae470981830df9e90a7cb72e8
2019-02-19 09:41:39 +01:00

11 lines
450 B
YAML

---
other:
- |
New module ``neutron_lib.policy`` was added.
It contains constants: ``RULE_ADMIN_OR_OWNER``, ``RULE_ADMIN_ONLY``,
``RULE_ANY``, ``RULE_ADVSVC``, ``RULE_ADMIN_OR_NET_OWNER``,
``RULE_ADMIN_OR_NET_OWNER_OR_ADVSVC`` and ``RULE_ADMIN_OR_PARENT_OWNER``.
It contains also helper functions ``policy_and`` and ``policy_or``.
Those constants and functions can be used in policy modules in Neutron
related projects.