Adding ironic api specific audit map configuration

Closes-Bug: 1541232

Change-Id: Ic267cd171564240363b39b288dd6c22f7851f4fb
This commit is contained in:
Lokesh S 2016-02-03 07:29:38 +00:00 committed by lokesh s
parent 57d138e84e
commit dc553133d8
2 changed files with 28 additions and 1 deletions

View File

@ -28,6 +28,7 @@ services. Currently, pyCADF supplies the following audit mapping files:
* `nova_api_audit_map.conf`_
* `trove_api_audit_map.conf`_
* `heat_api_audit_map.conf`_
* `ironic_api_audit_map.conf`_
These files are hosted under the `etc/pycadf`_ directory of pyCADF. For more
information on how to use these mapping files, refer to the `Audit middleware`_
@ -41,4 +42,5 @@ section of the `keystonemiddleware`_ project.
.. _`neutron_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/neutron_api_audit_map.conf
.. _`nova_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/nova_api_audit_map.conf
.. _`trove_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/trove_api_audit_map.conf
.. _`heat_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/heat_api_audit_map.conf
.. _`heat_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/heat_api_audit_map.conf
.. _`ironic_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/ironic_api_audit_map.conf

View File

@ -0,0 +1,25 @@
[DEFAULT]
# default target endpoint type
# should match the endpoint type defined in service catalog
target_endpoint_type = None
# possible end path of api requests
[path_keywords]
nodes = node
drivers = driver
chassis = chassis
ports = port
states = state
power = None
provision = None
maintenance = None
validate = None
boot_device = None
supported = None
console = None
vendor_passthrus = vendor_passthru
# map endpoint type defined in service catalog to CADF typeURI
[service_endpoints]
baremetal = service/compute/baremetal