Hi Zhuoyao,
For the underlay “create” GENERIC-RESOURCE-API request from SO, the response
from SDNC will be like below..
"GENERIC-RESOURCE-API:output": {
"GENERIC-RESOURCE-API:topology-response-common": {
"GENERIC-RESOURCE-API:svc-request-id": "", // the request id from
the request message
"GENERIC-RESOURCE-API:response-code": "", // a success code or an
defined error code
"GENERIC-RESOURCE-API:response-message": "" // message included for
error code
"GENERIC-RESOURCE-API:ack-final-indicator": "" // Expected to be Y or N
},
"GENERIC-RESOURCE-API:network-response-information": {
"GENERIC-RESOURCE-API:instance-reference": {
"GENERIC-RESOURCE-API:instance-id": "", //
underlay network-instance record id(created by SDNC)
"GENERIC-RESOURCE-API:object-path": "", //
restconf retrieval path to this particular object
},
},
"GENERIC-RESOURCE-API:service-response-information": {
"GENERIC-RESOURCE-API:instance-reference": {
"GENERIC-RESOURCE-API:instance-id": "", // same
as service-instanceid passed by SO in the request, is it ok ?
"GENERIC-RESOURCE-API:object-path": "", // can be
empty ?
},
},
}
For “underlay” delete request, I think SO need to send this network-id. Please
find the same request for below..
{
"GENERIC-RESOURCE-API:input": {
"GENERIC-RESOURCE-API:sdnc-request-header": {
"GENERIC-RESOURCE-API:svc-request-id": "", // Uniquely
generated by calling system
"GENERIC-RESOURCE-API:svc-action": "", // delete
"GENERIC-RESOURCE-API:svc-notification-url": ""
},
"GENERIC-RESOURCE-API:request-information": {
"GENERIC-RESOURCE-API:request-action": "", // DeleteNetworkInstance
"GENERIC-RESOURCE-API:notification-url": "",
"GENERIC-RESOURCE-API:order-version": "",
"GENERIC-RESOURCE-API:request-id": "", // Uniquely generated by calling
system
"GENERIC-RESOURCE-API:order-number": "",
"GENERIC-RESOURCE-API:source": "so"
},
"GENERIC-RESOURCE-API:service-information": {
"GENERIC-RESOURCE-API:global-customer-id": "", // need for put of
data to AnAI (SO provides)
"GENERIC-RESOURCE-API:subscription-service-type": "", // reference to
a&ai subscription-service-type
"GENERIC-RESOURCE-API:service-id": "",
// servive-instance-id from SO
"GENERIC-RESOURCE-API:service-instance-id": "", //
reference to a&ai service-instance-id
"GENERIC-RESOURCE-API:ecomp-model-information": {
"GENERIC-RESOURCE-API:model-customization-uuid": "",
"GENERIC-RESOURCE-API:model-invariant-uuid": "",
"GENERIC-RESOURCE-API:model-name": "",
"GENERIC-RESOURCE-API:model-uuid": "",
"GENERIC-RESOURCE-API:model-version": ""
},
"GENERIC-RESOURCE-API:subscriber-name": ""
},
"GENERIC-RESOURCE-API:network-information": {
"GENERIC-RESOURCE-API:network-id": "", // network-instance
id provided by SDNC in “create” response
"GENERIC-RESOURCE-API:network-type": "",
"GENERIC-RESOURCE-API:ecomp-model-information": {
"GENERIC-RESOURCE-API:model-customization-uuid": "",
"GENERIC-RESOURCE-API:model-invariant-uuid": "",
"GENERIC-RESOURCE-API:model-name": "",
"GENERIC-RESOURCE-API:model-uuid": "",
"GENERIC-RESOURCE-API:model-version": ""
},
},
"GENERIC-RESOURCE-API:network-request-input": {
"GENERIC-RESOURCE-API:network-name": "",
"GENERIC-RESOURCE-API:region-identifier": {
"GENERIC-RESOURCE-API:tenant": "",
"GENERIC-RESOURCE-API:aic-cloud-region": "",
"GENERIC-RESOURCE-API:aic-clli": "",
},
"GENERIC-RESOURCE-API:network-input-parameters": { // Does User
provide any input for “delete” operation ?
"GENERIC-RESOURCE-API:param": [
{
}
]
}
}
Can you provide more details on highlighted parameters.
Thanks,
Ramu N
***************************************************************************************
This e-mail and attachments contain confidential information from
HUAWEI, which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including, but
not limited to, total or partial disclosure, reproduction, or dissemination) by
persons other than the intended recipient's) is prohibited. If you receive this
e-mail in error, please notify the sender by phone or email immediately and
delete it!
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss