- Created by Scott Seabolt, last modified on May 17, 2018
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 15 Next »
ConfigScaleOut via APPC API Doc Explorer with Template Name (Will not be obtained from Querying A&AI for vf-module Info) Expand source
{ "input": { "common-header": { "timestamp": "2018-05-16T17:03:30.44Z", "api-ver": "2.00", "originator-id": "SDNGP", "request-id": "ScaleOut_RB3_16th May_TC3", "sub-request-id": "ScaleOut_RB3_16th May_TC3", "flags": { "force": "TRUE", "ttl": 12000 } }, "action": "ConfigScaleOut", "action-identifiers": { "vnf-id": "APPC-test-vLB" }, "payload": "{\"request-parameters\":{\"vnf-host-ip-address\":\"10.12.6.195\",\"vf-module-id\": \"zdfw1lb01lb01\",\"controller-template-id\": \"vLB\"},\"configuration-parameters\":{\"ip-addr\":\"192.168.10.212\", \"oam-ip-addr\":\"10.0.150.4\",\"enabled\":\"true\"}}" } }
ConfigScaleOut via APPC API Doc Explorer without Template Name (Will be obtained from Querying A&AI for vf-module Info) Expand source
{ "input": { "common-header": { "timestamp": "2018-05-16T17:03:30.44Z", "api-ver": "2.00", "originator-id": "SDNGP", "request-id": "ScaleOut_RB3_16th May_TC3", "sub-request-id": "ScaleOut_RB3_16th May_TC3", "flags": { "force": "TRUE", "ttl": 12000 } }, "action": "ConfigScaleOut", "action-identifiers": { "vnf-id": "APPC-test-vLB" }, "payload": "{\"request-parameters\":{\"vnf-host-ip-address\":\"10.12.6.195\",\"vf-module-id\": \"zdfw1lb01lb01\"},\"configuration-parameters\":{\"ip-addr\":\"192.168.10.212\", \"oam-ip-addr\":\"10.0.150.4\",\"enabled\":\"true\"}}" } }
Sample Curl Request for Submitting to DMaaP
curl -X POST -v -H "Content-Type: application/json" -d @./vLB-ConfigScaleOut.json http://10.12.5.5:3904/events/APPC-LCM-READ
ConfigScaleOut via DMaaP with Template Name (Will not be obtained from Querying A&AI for vf-module Info Expand source
{ "version": "2.00", "rpc-name": "config-scale-out", "correlation-id": "a20e2073-30b1-4357-893b-f5ed57b66ef0-10", "type": "request", "body": { "input": { "common-header": { "timestamp": "2018-05-16T17:25:30.44Z", "api-ver": "2.00", "originator-id": "SDNGP", "request-id": "ScaleOut_RB3_16th May_TC3", "sub-request-id": "ScaleOut_RB3_16th May_TC3", "flags": { "force": "TRUE", "ttl": 60000 } }, "action": "ConfigScaleOut", "action-identifiers": { "vnf-id": "APPC-test-vLB" }, "payload": "{\"request-parameters\":{\"vnf-host-ip-address\":\"10.12.6.195\",\"vf-module-id\": \"zdfw1lb01lb01\",\"controller-template-id\": \"vLB\"},\"configuration-parameters\":{\"ip-addr\":\"192.168.10.212\", \"oam-ip-addr\":\"10.0.150.4\",\"enabled\":\"true\"}}" } } }
ConfigScaleOut via DMaaP without Template Name (Will be obtained from Querying A&AI for vf-module Info Expand source
{ "version": "2.00", "rpc-name": "config-scale-out", "correlation-id": "a20e2073-30b1-4357-893b-f5ed57b66ef0-10", "type": "request", "body": { "input": { "common-header": { "timestamp": "2018-05-16T12:48:30.44Z", "api-ver": "2.00", "originator-id": "SDNGP", "request-id": "ScaleOut_RB2_16th May_TC3", "sub-request-id": "ScaleOut_RB2_16th May_TC3", "flags": { "force": "TRUE", "ttl": 12000 } }, "action": "ConfigScaleOut", "action-identifiers": { "vnf-id": "APPC-test-vLB" }, "payload": "{\"request-parameters\":{\"vnf-host-ip-address\":\"10.12.6.195\",\"vf-module-id\": \"zdfw1lb01lb01\"},\"configuration-parameters\":{\"ip-addr\":\"192.168.10.212\", \"oam-ip-addr\":\"10.0.150.4\",\"enabled\":\"true\"}}" } } }
ConfigScaleOut DMaaP Async Response Expand source
2018-05-16 18:54:28,817 | DEBUG | ppc-dispatcher-3 | wire | 403 - appc-dmaap-adapter-bundle - 1.3.0.SNAPSHOT - - | http-outgoing-112 >> "0.458. { "body": { "output": { "common-header": { "api-ver": "2.00", "flags": { }, "originator-id": "SDNGP", "request-id": "ScaleOut_RB3_16th May_TC3", "sub-request-id": "ScaleOut_RB3_16th May_TC3", "timestamp": "2018-05-16T17:25:30.044Z" }, "payload": "", "status": { "code": 400, "message": "SUCCESS - request has been processed successfully" } } }, "cambria.partition": "MSO", "correlation-id": "ScaleOut_RB3_16th May_TC3-ScaleOut_RB3_16th May_TC3", "rpc-name": "config-scale-out", "type": "response" }"
- No labels