summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2017-10-11 00:11:45 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2017-10-11 00:11:45 +0800
commitd0b7a239474a9256620adc244ee9ae4b3bd8b2f0 (patch)
treecb64c2e7789d16d26345010a2086d223159b1a90 /docs
parentd0705b99c8cb0daeb3963cddd37f5ecb8793c871 (diff)
Fix Some Typos
Change-Id: I03cb22ab373731844ae24e2aa52ae37d2667bb8f Issue-ID: HOLMES-66 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'docs')
-rw-r--r--docs/platform/consumedapis.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/platform/consumedapis.rst b/docs/platform/consumedapis.rst
index d7ce362..6d803d1 100644
--- a/docs/platform/consumedapis.rst
+++ b/docs/platform/consumedapis.rst
@@ -17,15 +17,19 @@ A&AI
In order to get the correlation between different alarms with the help of the topological information provided by A&AI. Holmes needs to call the A&AI APIs. Generally, we have to query the information of VNFs, VMs and the corresponding relation between resources from different layers. The following APIs are invoked by Holmes.
#. Query a VNF by name:
+
``/aai/v11/network/generic-vnfs/generic-vnf?vnf-name={vnf-name}``
#. Query a VNF by ID:
+
``/aai/v11/network/generic-vnfs/generic-vnf?vnf-id={vnf-id}``
#. Query a VM by name:
+
``/aai/v11/search/nodes-query?search-node-type=vserver&filter=vserver-name:EQUALS:{vserver-name}``
#. Query a VM by ID:
+
``/aai/v11/search/nodes-query?search-node-type=vserver&filter=vserver-id:EQUALS:{vserver-id}``
More details could be found at `A&AI APIs <https://wiki.onap.org/pages/viewpage.action?pageId=13598793>`_.
@@ -36,9 +40,11 @@ DMaaP
Holmes fetches VES data from DMaaP and publishes the control loop event back to DMaaP. The related APIs are:
#. Subscribing:
- ``events/{topic}/{consumergroup}/{consumerid}``
+
+ ``/events/{topic}/{consumergroup}/{consumerid}``
#. Publishing:
+
``/events/{topic}``
More details could be found at `DMaaP APIs <https://wiki.onap.org/display/DW/DMaaP+API>`_.