The oslo_policy.generator Module

The oslo_policy.generator Module

oslo_policy.generator.generate_policy(args=None)
oslo_policy.generator.generate_sample(args=None)
oslo_policy.generator.get_policies_dict(namespaces)

Find the options available via the given namespaces.

Parameters:namespaces – a list of namespaces registered under ‘oslo.policy.policies’
Returns:a dict of {namespace1: [rule_default_1, rule_default_2], namespace2: [rule_default_3]…}
oslo_policy.generator.list_redundant(args=None)
oslo_policy.generator.on_load_failure_callback(*args, **kwargs)
oslo_policy.generator.upgrade_policy(args=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.