For updating TP status.
URL: https://<AAI host>:<AAI port>/aai/v14/network/network-resources/network-resource/{networkId}/pnfs/pnf/{pnfName}/p-interfaces/p-interface/{tp-idifName}
Method: PUTPATCH
Request Body:
{
"interfaceoperational-namestatus":"{tp-id}",
"network-ref" : "some network",
"transparent" : "some value",
"speed-value" : "eth bandwidth",
"operational-status" : "some status",
"relationship-list" : {
"relationship" : [
{
"related-to" : "vpn-binding",
"related-link" : "url of vpn-binding",
"relationship-data" : [
"relationship-key" : "vpn-binding.vpn-id",
"relationship-value" : "some-id"
]
}
]
}
}
For query by TP & Status:
URL: https://<AAI host>:<AAI port>/aai/v14/network/pnfs/pnf/{pnfName}/p-interfaces/p-interface/{tp-id}
Method: GET
Request Body :
{
}
Response body:
{
"interface-name":"{tp-id}",
"network-ref" : "some network",
"transparent" : "some value",
"speed-value" : "eth bandwidth",
"operational-status" : "some status",
"relationship-list" : {
"relationship" : [
{
"related-to" : "vpn-binding",
"related-link" : "url of vpn-binding",
"relationship-data" : [
"relationship-key" : "vpn-binding.vpn-id",
"relationship-value" : "some-id"
]
}
]
} "some status"
}
|