summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokesh S <lokesh.s@hp.com>2016-02-03 07:29:38 +0000
committerlokesh s <slokesh184@gmail.com>2016-02-06 17:24:35 +0000
commitdc553133d854f31a54d3afd9fbe1b1370adbfaec (patch)
tree22f0b72ad0ca54ff258689f3876770ddc97d11b0
parent57d138e84eca14249417977c0faafcd2130a3502 (diff)
downloadpycadf-dc553133d854f31a54d3afd9fbe1b1370adbfaec.tar.gz
Adding ironic api specific audit map configuration
Closes-Bug: 1541232 Change-Id: Ic267cd171564240363b39b288dd6c22f7851f4fb
-rw-r--r--doc/source/audit_maps.rst4
-rw-r--r--etc/pycadf/ironic_api_audit_map.conf25
2 files changed, 28 insertions, 1 deletions
diff --git a/doc/source/audit_maps.rst b/doc/source/audit_maps.rst
index 8cadb57..08d07ce 100644
--- a/doc/source/audit_maps.rst
+++ b/doc/source/audit_maps.rst
@@ -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 \ No newline at end of file
+.. _`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
diff --git a/etc/pycadf/ironic_api_audit_map.conf b/etc/pycadf/ironic_api_audit_map.conf
new file mode 100644
index 0000000..c88d61a
--- /dev/null
+++ b/etc/pycadf/ironic_api_audit_map.conf
@@ -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