<div dir="ltr">Hi,<div><br></div><div>When reading [1], it seems that Doug is implying there will be the ability to collate multiple policy.json files together? It would be good to get this point clarified.</div><div><br></div><div>Thanks,</div><div>Armando </div><div><br></div><div>[1] <a href="https://bugs.launchpad.net/oslo.policy/+bug/1428332">https://bugs.launchpad.net/oslo.policy/+bug/1428332</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 July 2015 at 22:12, Akihiro Motoki <span dir="ltr"><<a href="mailto:amotoki@gmail.com" target="_blank">amotoki@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Oslo and Neutron folks,<br><br></div><div>Why is policy_dirs option deprecated in oslo.policy?<br></div><div>In Neutron we have multiple repositories which consist of Neutron services<br></div><div>and we would like to maintain policy.json separately.<br></div><div>policy_dirs option looks useful for this purpose.<br></div><div><br>== Detail ==<br></div><div><br>Neutron project now consists of several repositories and<br></div>they are imported when neutron-server runs.<br></div><div><div>There are cases where it makes sense that each repository manages its policy.json<br></div>and the neutron-server wants to load all related policy.json files.<br>- advanced services have separate repositories and they evolve their API independently<br></div><div>- vendor plugins/drivers in separate repositories (can) have vendor-specific extension API.<br></div><div>  (It is not a good thing from the point of the current API discussion, but we have now.)<br><br></div><div>An easy way is to put all related policy.json into a single directory<br></div><div>lile /etc/neutron/policy.d and specify this to policy_dirs option.<br></div><div><br></div>Looking at oslo.policy (oslo_policy/opts), <br><div>we have a comment policy_dirs option will be removed in M cycle.<br></div><div>I read the commit message where this message was added but<br></div><div>I am not sure why it is a problem.<br></div><div>I would like to know the reason of the deprecation and<br></div><div>discuss how we can handle our use cases.<br><br></div><div>Thanks,<br></div><div>Akihiro<br></div><div><br></div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>