File: devstack_plugin.rst

package info (click to toggle)
freezer 13.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,164 kB
  • sloc: python: 13,520; sh: 148; makefile: 46
file content (50 lines) | stat: -rw-r--r-- 1,444 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Devstack Plugin
===============

Edit local.conf
---------------

To configure the Freezer API with DevStack, you will need to enable the
freezer-api plugin by adding one line to the [[local|localrc]] section
of your local.conf file:

.. code-block:: ini

    enable_plugin freezer-api <GITURL> [GITREF]
    enable_plugin freezer <GITURL> [GITREF]
    enable_plugin freezer-web-ui <GITURL> [GITREF]

where

.. code-block:: none

    <GITURL> is the URL of a freezer-api, freezer, freezer-web-ui repository
    [GITREF] is an optional git ref (branch/ref/tag).  The default is master.

For example

.. code-block:: ini

    enable_plugin freezer-api https://git.openstack.org/openstack/freezer-api.git master
    enable_plugin freezer https://git.openstack.org/openstack/freezer.git master
    enable_plugin freezer-web-ui https://git.openstack.org/openstack/freezer-web-ui.git master

Plugin Options
--------------

The plugin makes use of apache2 by default.
To use the *uwsgi* server set the following environment variable

.. code-block:: bash

    export FREEZER_API_SERVER_TYPE=uwsgi

The default port is *9090*. To configure the api to listen on a different port
set the variable `FREEZER_API_PORT`.
For example to make use of port 19090 instead of 9090 use

.. code-block:: bash

    export FREEZER_API_PORT=19090

For more information, see `openstack_devstack_plugins_install <https://docs.openstack.org/devstack/latest/plugins.html>`_