diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2018-10-18 16:09:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-18 16:09:12 +0000 |
commit | 1f7c3ab5d60f4e25ef5a184b65322082a9c538ce (patch) | |
tree | b4813cd76e1b8d06b05bf22c40001d7464f66e99 | |
parent | f52148aea35d7450004385fe190a6dedb9fba1d8 (diff) | |
parent | 65640a2968358a74033451ea65efd8987cf2ee55 (diff) |
Merge "Documentation: Eclipse, vCPE, VoLTE, ModTemplate"
23 files changed, 20 insertions, 22 deletions
diff --git a/docs/platform/RunEcl_telemetry.png b/docs/platform/RunEcl_telemetry.png Binary files differindex 38e361fc8..ae4f65ccc 100755 --- a/docs/platform/RunEcl_telemetry.png +++ b/docs/platform/RunEcl_telemetry.png diff --git a/docs/platform/Tut_vCPE_appc_request.JPG b/docs/platform/Tut_vCPE_appc_request.JPG Binary files differindex fd9d11e2b..75d8848a5 100755 --- a/docs/platform/Tut_vCPE_appc_request.JPG +++ b/docs/platform/Tut_vCPE_appc_request.JPG diff --git a/docs/platform/Tut_vCPE_final_memory.JPG b/docs/platform/Tut_vCPE_final_memory.JPG Binary files differindex 2f9661e47..f68aac796 100755 --- a/docs/platform/Tut_vCPE_final_memory.JPG +++ b/docs/platform/Tut_vCPE_final_memory.JPG diff --git a/docs/platform/Tut_vCPE_get_facts.JPG b/docs/platform/Tut_vCPE_get_facts.JPG Binary files differindex 2b9198efb..276372574 100755 --- a/docs/platform/Tut_vCPE_get_facts.JPG +++ b/docs/platform/Tut_vCPE_get_facts.JPG diff --git a/docs/platform/Tut_vCPE_guard_not_queried.JPG b/docs/platform/Tut_vCPE_guard_not_queried.JPG Binary files differindex b30a4aa0e..14e52e790 100755 --- a/docs/platform/Tut_vCPE_guard_not_queried.JPG +++ b/docs/platform/Tut_vCPE_guard_not_queried.JPG diff --git a/docs/platform/Tut_vCPE_guard_result.JPG b/docs/platform/Tut_vCPE_guard_result.JPG Binary files differindex 8e32dc0c6..b1818d39c 100755 --- a/docs/platform/Tut_vCPE_guard_result.JPG +++ b/docs/platform/Tut_vCPE_guard_result.JPG diff --git a/docs/platform/Tut_vCPE_insert_abatement.JPG b/docs/platform/Tut_vCPE_insert_abatement.JPG Binary files differindex f850d12b9..d0da4d5d4 100755 --- a/docs/platform/Tut_vCPE_insert_abatement.JPG +++ b/docs/platform/Tut_vCPE_insert_abatement.JPG diff --git a/docs/platform/Tut_vCPE_insert_onset.JPG b/docs/platform/Tut_vCPE_insert_onset.JPG Binary files differindex e0aea9f6a..0316609a8 100755 --- a/docs/platform/Tut_vCPE_insert_onset.JPG +++ b/docs/platform/Tut_vCPE_insert_onset.JPG diff --git a/docs/platform/Tut_vCPE_policy_active.JPG b/docs/platform/Tut_vCPE_policy_active.JPG Binary files differindex c9ccd9d53..02544f417 100755 --- a/docs/platform/Tut_vCPE_policy_active.JPG +++ b/docs/platform/Tut_vCPE_policy_active.JPG diff --git a/docs/platform/Tut_vCPE_policy_final_success.JPG b/docs/platform/Tut_vCPE_policy_final_success.JPG Binary files differindex ed0e78509..f063d09cd 100755 --- a/docs/platform/Tut_vCPE_policy_final_success.JPG +++ b/docs/platform/Tut_vCPE_policy_final_success.JPG diff --git a/docs/platform/Tut_vCPE_policy_operation.JPG b/docs/platform/Tut_vCPE_policy_operation.JPG Binary files differindex dd4186652..1666ea623 100755 --- a/docs/platform/Tut_vCPE_policy_operation.JPG +++ b/docs/platform/Tut_vCPE_policy_operation.JPG diff --git a/docs/platform/Tut_vCPE_policy_operation_success.JPG b/docs/platform/Tut_vCPE_policy_operation_success.JPG Binary files differindex 9362cc29b..9206847f1 100755 --- a/docs/platform/Tut_vCPE_policy_operation_success.JPG +++ b/docs/platform/Tut_vCPE_policy_operation_success.JPG diff --git a/docs/platform/Tut_vCPE_policy_start.JPG b/docs/platform/Tut_vCPE_policy_start.JPG Binary files differindex a33a24cd0..91be90e68 100755 --- a/docs/platform/Tut_vCPE_policy_start.JPG +++ b/docs/platform/Tut_vCPE_policy_start.JPG diff --git a/docs/platform/Tut_vCPE_simulated_abatement.JPG b/docs/platform/Tut_vCPE_simulated_abatement.JPG Binary files differindex 06f173fbe..2133ff859 100755 --- a/docs/platform/Tut_vCPE_simulated_abatement.JPG +++ b/docs/platform/Tut_vCPE_simulated_abatement.JPG diff --git a/docs/platform/Tut_vCPE_simulated_appc_response.JPG b/docs/platform/Tut_vCPE_simulated_appc_response.JPG Binary files differindex 69699f4f2..3d90e04d8 100755 --- a/docs/platform/Tut_vCPE_simulated_appc_response.JPG +++ b/docs/platform/Tut_vCPE_simulated_appc_response.JPG diff --git a/docs/platform/Tut_vCPE_simulated_onset.JPG b/docs/platform/Tut_vCPE_simulated_onset.JPG Binary files differindex 5ee0901b6..a50b3c298 100755 --- a/docs/platform/Tut_vCPE_simulated_onset.JPG +++ b/docs/platform/Tut_vCPE_simulated_onset.JPG diff --git a/docs/platform/Tut_vCPE_simulators_enabled.JPG b/docs/platform/Tut_vCPE_simulators_enabled.JPG Binary files differindex f350e2c25..8cd9902df 100755 --- a/docs/platform/Tut_vCPE_simulators_enabled.JPG +++ b/docs/platform/Tut_vCPE_simulators_enabled.JPG diff --git a/docs/platform/mat_hello_world.JPG b/docs/platform/mat_hello_world.JPG Binary files differindex 04cf799ce..d52e4c754 100755 --- a/docs/platform/mat_hello_world.JPG +++ b/docs/platform/mat_hello_world.JPG diff --git a/docs/platform/runningEclipse.rst b/docs/platform/runningEclipse.rst index b2bcd88fa..136efe736 100644 --- a/docs/platform/runningEclipse.rst +++ b/docs/platform/runningEclipse.rst @@ -36,7 +36,7 @@ To interact with the PDP-D, the Telemetry API can be used. A simple GET on the e .. code-block:: bash - curl --silent --user @1b3rt:31nst31n -X GET http://localhost:9696/policy/pdp/engine/ | python -m json.tool + curl -k --silent --user @1b3rt:31nst31n -X GET https://localhost:9696/policy/pdp/engine/ | python -m json.tool .. image:: RunEcl_telemetry.png diff --git a/docs/platform/tutorial_VOLTE.rst b/docs/platform/tutorial_VOLTE.rst index 3ccb02704..2dc846282 100644 --- a/docs/platform/tutorial_VOLTE.rst +++ b/docs/platform/tutorial_VOLTE.rst @@ -58,28 +58,27 @@ Next, we're going to create a file named *dcae.volte.onset.json* and edit it to Here are the contents of the VOLTE ONSET message. Copy/paste this into dcae.volte.onset.json: .. code-block:: json - + { + "closedLoopControlName": "ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b", + "closedLoopAlarmStart": 1484677482204798, "closedLoopEventClient": "DCAE.HolmesInstance", - "policyVersion": "1.0.0.5", - "policyName": "vVOLTE", - "policyScope": "resource=volte,service=VolteSErvice,type=SampleType,closedLoopControlName=CL-VOLTE-SIG-d925ed73-8231-4d02-9545-db4e101f88f8", + "closedLoopEventStatus": "ONSET", + "requestID": "97964e10-686e-4790-8c45-bdfa61df770f", "target_type": "VM", + "target": "vserver.vserver-name", "AAI": { + "vserver.is-closed-loop-disabled": "false", + "vserver.prov-status": "ACTIVE", "vserver.vserver-name": "dfw1lb01lb01", - "service-instance.service-instance-id" : "TBD", - "generic-vnf.vnf-id" : "TBD", - "generic-vnf.vnf-name" : "TBD" + "service-instance.service-instance-id" : "vserver-name-16102016-aai3255-data-11-1", + "generic-vnf.vnf-id" : "vnf-id-16102016-aai3255-data-11-1", + "generic-vnf.vnf-name" : "vnf-name-16102016-aai3255-data-11-1" }, - "closedLoopAlarmStart": 1484677482204798, - "closedLoopEventStatus": "ONSET", - "closedLoopControlName": "ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b", - "version": "1.0.2", - "target": "vserver.vserver-name", - "requestID": "97964e10-686e-4790-8c45-bdfa61df770f", - "from": "DCAE" + "from": "DCAE", + "version": "1.0.2" } - + Enabling the VFC Simulator ^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -101,7 +100,7 @@ We are now ready to inject an ONSET message to trigger the VOLTE flow. Simply na .. code-block:: bash - http -a @1b3rt:31nst31n PUT :9696/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_CL_OUTPUT/events @dcae.volte.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.volte.onset.json Content-Type:"text/plain" You should see some output similar to this: diff --git a/docs/platform/tutorial_VOLTE_1.png b/docs/platform/tutorial_VOLTE_1.png Binary files differindex c1ce8e4be..938604df3 100755 --- a/docs/platform/tutorial_VOLTE_1.png +++ b/docs/platform/tutorial_VOLTE_1.png diff --git a/docs/platform/tutorial_VOLTE_2.png b/docs/platform/tutorial_VOLTE_2.png Binary files differindex 51f7e7aeb..53ee78026 100755 --- a/docs/platform/tutorial_VOLTE_2.png +++ b/docs/platform/tutorial_VOLTE_2.png diff --git a/docs/platform/tutorial_vCPE.rst b/docs/platform/tutorial_vCPE.rst index 7c6c9fb05..8c65aabc3 100644 --- a/docs/platform/tutorial_vCPE.rst +++ b/docs/platform/tutorial_vCPE.rst @@ -32,7 +32,7 @@ The telemetry API is used to see what is in memory. There should only be 1 fact, .. code-block:: bash - curl --silent --user @1b3rt:31nst31n -X GET http://localhost:9696/policy/pdp/engine/controllers/amsterdam/drools/facts/amsterdam | python -m json.tool + curl -k --silent --user @1b3rt:31nst31n -X GET https://localhost:9696/policy/pdp/engine/controllers/amsterdam/drools/facts/amsterdam | python -m json.tool .. image:: Tut_vCPE_get_facts.JPG @@ -47,7 +47,7 @@ Inject the onset using the Telemetry API. .. code-block:: bash - curl --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @dcae.vcpe.onset.json -X PUT http://localhost:9696/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_EVENT_OUTPUT/events | python -m json.tool + curl -k --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @dcae.vcpe.onset.json -X PUT https://localhost:9696/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_EVENT_OUTPUT/events | python -m json.tool .. image:: Tut_vCPE_insert_onset.JPG @@ -55,7 +55,6 @@ Inject the onset using the Telemetry API. Now check the facts in memory, there should be 7 objects present. Two timers exist to put a time limit on the operation and on the overall control loop (in the case of retries or policy chaining). The event and it's associated manager and operation manager are also present in memory. A lock on the target entity is inserted to ensure no other events try to take action on the VM/VNF that is currently processing. - .. image:: Tut_vCPE_get_facts_2.JPG The network log will be used to monitor the activity coming in and out of the PDP-D. This log is located at *$POLICY_HOME/logs/network.log*. This will show the notifications that the PDP-D sends out at different stages of processing. The order of successful processing begins with an ACTIVE notification to show that the onset was acknowledged and the operation is beginning transit. @@ -82,7 +81,7 @@ Inject the response using the Telemetry API. .. code-block:: bash - curl --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @appc.lcm.success.json -X PUT http://localhost:9696/policy/pdp/engine/topics/sources/ueb/APPC-LCM-WRITE/events | python -m json.tool + curl -k --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @appc.lcm.success.json -X PUT https://localhost:9696/policy/pdp/engine/topics/sources/ueb/APPC-LCM-WRITE/events | python -m json.tool .. image:: Tut_vCPE_inject_appc_response.JPG @@ -98,7 +97,7 @@ Inject the abatement message using the Telemetry API. .. code-block:: bash - curl --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @dcae.vcpe.abatement.json -X PUT http://localhost:9696/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_EVENT_OUTPUT/events | python -m json.tool + curl -k --silent --user @1b3rt:31nst31n --header "Content-Type: text/plain" --data @dcae.vcpe.abatement.json -X PUT https://localhost:9696/policy/pdp/engine/topics/sources/ueb/unauthenticated.DCAE_EVENT_OUTPUT/events | python -m json.tool .. image:: Tut_vCPE_insert_abatement.JPG |