The oslo_policy.shell Module

The oslo_policy.shell Module

class oslo_policy.shell.FakeEnforcer(rules, config)

Bases: object

oslo_policy.shell.flatten(d, parent_key='')

Flatten a nested dictionary

Converts a dictionary with nested values to a single level flat dictionary, with dotted notation for each key.

oslo_policy.shell.main()
oslo_policy.shell.tool(policy_file, access_file, apply_rule, is_admin=False, target_file=None, enforcer_config=None)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.