placement/etc/placement
Takashi Kajinami 2007f8fb45 Enable HTTPProxyToWSGI middleware to find actual client ips
Currently placement records REMOTE_ADDR environment as source ip but
this environment points load balancer ips instead of actual client ips
when placmenet runs behind load balancers like haproxy.

This change enables HTTPProxyToWSGI middleware to parse request
headers to look up actual client address.

Story: 2009049
Task: 42819
Change-Id: I4d15201dd2f94d00f4f2b53f773511ea020ef4ac
2021-08-01 20:56:44 +09:00
..
README.rst Update READMEs for sample policy/config generation 2019-09-27 09:49:23 +01:00
config-generator.conf Enable HTTPProxyToWSGI middleware to find actual client ips 2021-08-01 20:56:44 +09:00
policy-generator.conf Fix genpolicy tox job 2018-10-22 15:23:54 +01:00

README.rst

Sample policy and config files

This directory contains sample placement.conf and policy.yaml files.

Sample Config

To generate the sample placement.conf file, run the following command from the top level of the placement directory:

tox -e genconfig

For a pre-generated example of the latest placement.conf, see:

https://docs.openstack.org/placement/latest/configuration/sample-config.html

Sample Policy

To generate the sample policy.yaml file, run the following command from the top level of the placement directory:

tox -e genpolicy

For a pre-generated example of the latest placement policy.yaml, see:

https://docs.openstack.org/placement/latest/configuration/sample-policy.html