Excerpts from Vishal Rathod's message of 2018-01-02 06:30:34 -0500: > Hello All, > > I have modify nova policy engine code and have to test these changes, so > could you please provide set of commands through which I can run the > openstack and test these changes. Also, do I have to restart any services > while doing the same? > > Thanks!
Hi, Vishal, I assume you have already reviewed the documentation for the policy library (https://docs.openstack.org/oslo.policy/latest/). You are right that we are working on moving the defaults for policy settings into the source code. It is still possible to provide a YAML or JSON file with overrides for those rules, though, just as in the past. The policy_file and policy_dirs configuration options (described in the policy library docs) control where each program looks for the files. The policy rules control the permissions allowed to individual users in the REST API. So the commands to run will depend on what changes to policy you are making. You can test using the python-openstackclient program (https://pypi.python.org/pypi/python-openstackclient) or a client written in another language if you’re more comfortable working with Java or golang. I hope that helps, Doug _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
