Slawek Kaplonski 8e777c681f Fix creating policy rules from subattributes.
In case of policy rule checks for rules like e.g.
"create_port:fixed_ips:subnet" couldn't be created to be
passed to policy enforcer because policy module could only
create rule checks for subattributes which are dict types.

With this patch checks for such rules can be created also for
attributes which are list of dicts, like e.g. fixed_ips in port
resource.

Conflicts:
    neutron/conf/policies/port.py

Change-Id: I02fffe77f57a513d2362df78885d327042bb8095
Closes-Bug: #1822105
(cherry picked from commit 9318fb8bb930a65cb0b388fd4a40fc83183d9199)
(cherry picked from commit a238b1bed6e8ee3a33cd7a7116501ebb3d852b44)
2019-05-09 06:32:37 +00:00
..
2017-09-19 14:54:33 -07:00

To generate the sample neutron configuration files, run the following
command from the top level of the neutron directory:

tox -e genconfig

If a 'tox' environment is unavailable, then you can run the following script
instead to generate the configuration files:

./tools/generate_config_file_samples.sh