aboutsummaryrefslogtreecommitdiffstats
path: root/compose/config/sim-all/cdsresponse
diff options
context:
space:
mode:
Diffstat (limited to 'compose/config/sim-all/cdsresponse')
-rw-r--r--compose/config/sim-all/cdsresponse/apex-example-cba-modify-config.json33
-rw-r--r--compose/config/sim-all/cdsresponse/apex-example-cba-restart.json33
-rw-r--r--compose/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json35
3 files changed, 101 insertions, 0 deletions
diff --git a/compose/config/sim-all/cdsresponse/apex-example-cba-modify-config.json b/compose/config/sim-all/cdsresponse/apex-example-cba-modify-config.json
new file mode 100644
index 00000000..4f03bbfa
--- /dev/null
+++ b/compose/config/sim-all/cdsresponse/apex-example-cba-modify-config.json
@@ -0,0 +1,33 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-12-16T10:29:00.450Z",
+ "originatorId": "POLICY",
+ "requestId": "f392e439-c176-411b-b972-8acadac0f8df",
+ "subRequestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "apex-example-cba",
+ "blueprintVersion": "1.0.0",
+ "actionName": "modify-config",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-12-16T10:29:01.737Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "modify-config-response": {
+ "execute-command-logs": [
+ "INFO:root:Arguments : Active,,"
+ ],
+ "prepare-environment-logs": [
+ "Installed pip packages:\n requirements.txt\n\n"
+ ]
+ }
+ }
+}
diff --git a/compose/config/sim-all/cdsresponse/apex-example-cba-restart.json b/compose/config/sim-all/cdsresponse/apex-example-cba-restart.json
new file mode 100644
index 00000000..694bc6df
--- /dev/null
+++ b/compose/config/sim-all/cdsresponse/apex-example-cba-restart.json
@@ -0,0 +1,33 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-12-16T10:30:46.213Z",
+ "originatorId": "POLICY",
+ "requestId": "f392e439-c176-411b-b972-8acadac0f8df",
+ "subRequestId": "8c7935a4-79d8-4ec0-b661-dcca3cd68006",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "apex-example-cba",
+ "blueprintVersion": "1.0.0",
+ "actionName": "restart",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-12-16T10:30:46.828Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "restart-response": {
+ "execute-command-logs": [
+ "INFO:root:Arguments : Active,,"
+ ],
+ "prepare-environment-logs": [
+ "Installed pip packages:\n requirements.txt\n\n"
+ ]
+ }
+ }
+}
diff --git a/compose/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json b/compose/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json
new file mode 100644
index 00000000..7009a358
--- /dev/null
+++ b/compose/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"]
+ }
+ }
+}