diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2018-10-18 16:08:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-18 16:08:32 +0000 |
commit | f52148aea35d7450004385fe190a6dedb9fba1d8 (patch) | |
tree | 40541d322309545c5c1587b7a531aca81f9a2468 /docs | |
parent | 118213c007d9649aaf1d00e515aae281fe42390b (diff) | |
parent | 28d8a3ec30b0cc20346bcc03ecd28841c26c54ac (diff) |
Merge "Updated vDNS documentation"
Diffstat (limited to 'docs')
-rw-r--r-- | docs/platform/clsimulation.rst | 3 | ||||
-rw-r--r-- | docs/platform/tutorial_vDNS.rst | 37 | ||||
-rw-r--r--[-rwxr-xr-x] | docs/platform/tutorial_vDNS_1.png | bin | 11696 -> 10737 bytes | |||
-rw-r--r--[-rwxr-xr-x] | docs/platform/tutorial_vDNS_2.png | bin | 7741 -> 7657 bytes |
4 files changed, 22 insertions, 18 deletions
diff --git a/docs/platform/clsimulation.rst b/docs/platform/clsimulation.rst index bb8766901..0492a2594 100644 --- a/docs/platform/clsimulation.rst +++ b/docs/platform/clsimulation.rst @@ -194,6 +194,7 @@ Responses "vserver-name2": "vjunos0", "vserver-selflink": "https://aai-ext1.test.att.com:8443/aai/v7/cloud-infrastructure/cloud-regions/cloud-region/att-aic/AAIAIC25/tenants/tenant/USMSO1SX7NJ0103UJZZ01%3A%3AuCPE-VMS/vservers/vserver/d0668d4f-c25e-4a1b-87c4-83845c01efd8", "in-maint": false, + "prov-status":"ACTIVE", "is-closed-loop-disabled": isDisabled, // True if the vserverName is "disableClosedLoop", false otherwise "resource-version": "1494001931513", "relationship-list": { @@ -222,7 +223,7 @@ Responses } }] } - + .. code-block:: bash :caption: vserver-GET-error diff --git a/docs/platform/tutorial_vDNS.rst b/docs/platform/tutorial_vDNS.rst index 5e864a8a2..330bb64ef 100644 --- a/docs/platform/tutorial_vDNS.rst +++ b/docs/platform/tutorial_vDNS.rst @@ -59,20 +59,23 @@ Here are the contents of the vDNS ONSET message. Copy/paste this into dcae.vdns. .. code-block:: json - { "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca", - "target_type": "VNF", - "AAI": { - "vserver.vserver-name": "vlb-lb-32c8", - "vserver.is-closed-loop-disabled": "false" - }, - "closedLoopAlarmStart": 1484677482204798, - "closedLoopEventStatus": "ONSET", - "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", - "version": "1.0.2", - "target": "vserver.vserver-name", - "requestID": "99999999-686e-4790-8c45-bdfa61df770f", - "from": "DCAE" + { + "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3", + "closedLoopAlarmStart": 1484677482204798, + "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca", + "closedLoopEventStatus": "ONSET", + "requestID": "e4f95e0c-a013-4530-8e59-c5c5f9e539b6", + "target_type": "VNF", + "target": "vserver.vserver-name", + "AAI": { + "vserver.is-closed-loop-disabled": "false", + "vserver.prov-status": "ACTIVE", + "vserver.vserver-name": "dfw1lb01lb01" + }, + "from": "DCAE", + "version": "1.0.2" } + Enabling the AAI and SO Simulators @@ -95,11 +98,11 @@ We are now ready to inject an ONSET message to trigger the vDNS flow. Simply nav .. code-block:: bash - http -a @1b3rt:31nst31n PUT :9696/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_CL_OUTPUT/events @dcae.vdns.onset.json Content-Type:"text/plain" + http --verify=no --default-scheme=https -a @1b3rt:31nst31n PUT :9696/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_CL_OUTPUT/events @dcae.vdns.onset.json Content-Type:"text/plain" You should see some output similar to this: -.. image:: tutorial_vDNS_1.png + .. image:: tutorial_vDNS_1.png You can view the logs to see the network activity or find any errors that may have occurred. Logs are located in */opt/app/policy/logs*. @@ -108,9 +111,9 @@ Reading the logs Once you've injected the onset message, this should appear in the network.log: -.. image:: tutorial_vDNS_2.png + .. image:: tutorial_vDNS_2.png End of Document -.. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Using+guard+in+the+PDP-D +.. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Tutorial%3A+Testing+the+vDNS+Use+Case+in+a+standalone+PDP-D diff --git a/docs/platform/tutorial_vDNS_1.png b/docs/platform/tutorial_vDNS_1.png Binary files differindex a9c3e6e18..ed2cb36f4 100755..100644 --- a/docs/platform/tutorial_vDNS_1.png +++ b/docs/platform/tutorial_vDNS_1.png diff --git a/docs/platform/tutorial_vDNS_2.png b/docs/platform/tutorial_vDNS_2.png Binary files differindex 8de785362..bbfb82066 100755..100644 --- a/docs/platform/tutorial_vDNS_2.png +++ b/docs/platform/tutorial_vDNS_2.png |