ironic/devstack
Devananda van der Veen c7da7a6925 Add keystone policy support to Ironic
Implements more fine-grained policy support within our API service,
following the oslo policy-in-code spec, while maintaining compatibility
with the previous default policy.json file. An empty policy.json file is
included, along with a sample file listig all supported policy settings
and their default values.

A new tox target "genpolicy" has been added to ease automation of
sample policy file generation.

All calls to policy.enforce() have been replaced with with
policy.authorize() to avoid silent failures when a rule is undefined,
because enforce() does not raise() if the target rule does not exist.

  NOTE: policy.enforce() is not removed by this patch, but a deprecation
  warning will be logged if it this method is invoked.

Updates unit test coverage for the new authorize() method, as well as
more general unit test updates for some of the new rules.

Partial-bug: #1526752
Change-Id: Ie4398f840601d027e2fe209c17d854421687c7b7
2016-08-04 12:43:20 +00:00
..
files Nova-compatible serial console: socat console_utils 2016-07-14 01:09:19 +00:00
lib Add keystone policy support to Ironic 2016-08-04 12:43:20 +00:00
tools/ironic Update Ironic VM network connection 2016-07-14 13:58:49 +03:00
upgrade Update comment from NOTE to TODO 2016-06-07 07:21:27 -07:00
plugin.sh Do the VM setup only when requested 2016-07-21 14:39:43 +03:00
settings Add devstack plugin 2015-12-10 15:33:33 +00:00