[openstack-dev] [nova][oslo][policy] oslo.policy adoption in Nova.

Sergey Vilgelm svilgelm at mirantis.com
Mon Aug 3 19:11:50 UTC 2015


On Mon, Aug 3, 2015 at 9:37 PM, Doug Hellmann <doug at doughellmann.com> wrote:

> Making that function public may be the most expedient fix, but the
> parser was made private for a reason, so before we expose it we
> should understand why, and if there are alternatives (such as
> creating a fixture in oslo.policy to do what the nova tests need).
>

Probably we may extend the Rules class and add the similar functions as a
classmethod?
I've created a patch for slo.policy as example[1]

[1] https://review.openstack.org/#/c/208617/


-- 
Thanks,
Sergey Vilgelm
OpenStack Software Engineer
Mirantis Inc.
Skype: sergey.vilgelm
Phone: +36 70 512 3836
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150803/8f52e2d6/attachment.html>


More information about the OpenStack-dev mailing list