summaryrefslogtreecommitdiffstats
path: root/csit/config/sim-all/cdsresponse
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2021-07-08 15:32:52 +0100
committera.sreekumar <ajith.sreekumar@bell.ca>2021-07-12 11:55:28 +0100
commit9a12d024fe42fd3c57477c513382c3b78983b9ce (patch)
tree18b5b6627d1cbb37c26ea98915795166b6f6070e /csit/config/sim-all/cdsresponse
parent78850b54b98e8bdc27d186035910126dd2ac826e (diff)
Update APEX CSIT tests to cover multiple outputs
As part of this review, a new policy is executed in APEX-PDP that interacts with AAI and CDS simulators. At each execution phase, along with sending a request to AAI/CDS, a log event is also sent to DMaaP notifying every action taken. This is done using the multiple output support. Change-Id: If34df13823196f9ece9b5ce6448b6652507f0b63 Issue-ID: POLICY-3466 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'csit/config/sim-all/cdsresponse')
-rw-r--r--csit/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json35
1 files changed, 35 insertions, 0 deletions
diff --git a/csit/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json b/csit/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json
new file mode 100644
index 00000000..7009a358
--- /dev/null
+++ b/csit/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json
@@ -0,0 +1,35 @@
+{
+ "commonHeader": {
+ "timestamp": "2020-08-24T14:45:07.491Z",
+ "originatorId": "CDS",
+ "requestId": "123456",
+ "subRequestId": "123-123",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "controlloop-hostname-update",
+ "blueprintVersion": "1.0.4",
+ "actionName": "update-config",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-08-24T14:45:12.863Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "update-config-response": {
+ "execute-command-logs": [
+ "INFO:root:<data xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\"/>",
+ "INFO:root:configuring Device....",
+ "INFO:root:Done Device Configuration Successfully",
+ "INFO:root:Device Configuration After modification",
+ "INFO:root:http://10.101.200.10:32777/restconf/config/network-topology:network-topology/topology/topology-netconf/node/927b2580-36d9-4f13-8421-3c9d43b7a57e/yang-ext:mount",
+ "INFO:root:<data xmlns=\"urn:ietf:params:xml:ns:netconf:base:1.0\"><system xmlns=\"urn:opendaylight:hostname\"><hostname>testhost-1212332324343</hostname></system></data>"
+ ],
+ "prepare-environment-logs": ["Installed pip packages:\n requirements.txt\n\n"]
+ }
+ }
+}