"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/source/admin/configuration-guide.rst" between
sahara-14.0.0.tar.gz and sahara-15.0.0.tar.gz

About: OpenStack Sahara provides an ability to provision, start, shutdown, scale Hadoop cluster on OpenStack.
The "Xena" series (latest release).

configuration-guide.rst  (sahara-14.0.0):configuration-guide.rst  (sahara-15.0.0)
skipping to change at line 164 skipping to change at line 164
By default sahara is configured to use the heat engine for instance By default sahara is configured to use the heat engine for instance
creation. The heat engine uses the OpenStack Orchestration service to creation. The heat engine uses the OpenStack Orchestration service to
provision instances. This engine makes calls directly to the services required provision instances. This engine makes calls directly to the services required
for instance provisioning. for instance provisioning.
.. _policy-configuration-label: .. _policy-configuration-label:
Policy configuration Policy configuration
-------------------- --------------------
.. warning::
JSON formatted policy file is deprecated since Sahara 15.0.0 (Xena).
This `oslopolicy-convert-json-to-yaml`__ tool will migrate your existing
JSON-formatted policy file to YAML in a backward-compatible way.
.. __: https://docs.openstack.org/oslo.policy/victoria/cli/oslopolicy-convert-js
on-to-yaml.html
Sahara's public API calls may be restricted to certain sets of users by Sahara's public API calls may be restricted to certain sets of users by
using a policy configuration file. The location of the policy file(s) using a policy configuration file. The location of the policy file(s)
is controlled by the ``policy_file`` and ``policy_dirs`` parameters is controlled by the ``policy_file`` and ``policy_dirs`` parameters
in the ``[oslo_policy]`` section. By default sahara will search for in the ``[oslo_policy]`` section. By default sahara will search for
a ``policy.json`` file in the same directory as the ``sahara.conf`` a ``policy.yaml`` file in the same directory as the ``sahara.conf``
configuration file. configuration file.
Examples Examples
++++++++ ++++++++
Example 1. Allow all method to all users (default policy). Example 1. Allow all method to all users (default policy).
.. sourcecode:: json .. sourcecode:: json
{ {
 End of changes. 2 change blocks. 
1 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)