Please note the values currently used in the test data may not be representative of actually values in ONAP A&AI.
Code Block |
---|
title | ConfigScaleOut via APPC API Doc Explorer with Template Name ID(Will not be obtained from Querying A&AI for vf-module Info) |
---|
collapse | true |
---|
|
{
"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\"}}"
}
} |
Code Block |
---|
title | ConfigScaleOut via APPC API Doc Explorer without Template Name ID(Will be obtained from Querying A&AI for vf-module Info) |
---|
collapse | true |
---|
|
{
"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\"}}"
}
} |
...
Code Block |
---|
title | ConfigScaleOut via DMaaP with Template Name ID(Will not be obtained from Querying A&AI for vf-module Info |
---|
collapse | true |
---|
|
{
"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\"}}"
}
}
} |
Code Block |
---|
title | ConfigScaleOut via DMaaP without Template Name ID(Obtained Will be obtained from Querying A&AI for vf-module Info |
---|
collapse | true |
---|
|
{
"inputversion": {
"2.00",
"commonrpc-header": {
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",16th May_TC3",
"sub-request-id": "ScaleOut_RB2_16th May_TC3",
"flags": {
"force": "TRUE",
"ttl": 12000": 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\"}}"
}
}
} |
Code Block |
---|
title | ConfigScaleOut DMaaP Async Response |
---|
collapse | true |
---|
|
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"
}" |