summaryrefslogtreecommitdiffstats
path: root/csit/config/sim-all
diff options
context:
space:
mode:
Diffstat (limited to 'csit/config/sim-all')
-rw-r--r--csit/config/sim-all/cdsresponse/controlloop-hostname-update-update-config.json35
-rw-r--r--csit/config/sim-all/simParameters.json2
2 files changed, 36 insertions, 1 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"]
+ }
+ }
+}
diff --git a/csit/config/sim-all/simParameters.json b/csit/config/sim-all/simParameters.json
index 4b009b6f..84c6e372 100644
--- a/csit/config/sim-all/simParameters.json
+++ b/csit/config/sim-all/simParameters.json
@@ -102,7 +102,7 @@
"timeout": 30,
"username": "ccsdkapps",
"password": "ccsdkapps",
- "resourceLocation": "org/onap/policy/simulators/cds/",
+ "resourceLocation": "/opt/app/policy/simulators/etc/mounted/cdsresponse/",
"successRepeatCount": 0,
"requestedResponseDelayMs": 0
}