...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "closedLoopEventClient": "DCAE.HolmesInstance", "policyVersion": "1.0.0.5", "policyName": "CCVPN", "policyScope": "service=SOTNService,type=SampleType,closedLoopControlName=CL-CCVPN-d925ed73-8231-4d02-9545-db4e101f88f8", "target_type": "VM", "AAI": { "service-instance.service-instance-id" : "TBDservice-instance-1" }, "closedLoopAlarmStart": 1484677482204798, "closedLoopEventStatus": "ONSET", "closedLoopControlName": "ControlLoop-CCVPN-2179b738-fd36-4843-a71a-a8c24c70c55b", "version": "1.0.2", "target": "vserver.vserver-name", "requestID": "97964e10-686e-4790-8c45-bdfa61df770f", "from": "DCAE" } |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL: https://<AAI host>:<AAI port>/aai/v14/network/network-resources/network-resource/{networkId}/pnfs/pnf/{pnfName}/p-interfaces/p-interface/{ifName}
Method: PATCH
Request Body:
{
"operational-status": "some status"
}
|
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL: https://<AAI host>:<AAI port>/aai/v14/network/network/connectivities/connectivity/{connectivityId-resources/network-resource/{networkId}/pnfs/pnf/{pnfName}/p-interfaces?interface-name={ifName}&operational-status={status} Method: GetGET Response Request Body: { ... "access-ltp-id":"ltp id", ... "relationship-list":} Response Body: { "relationshipresults" : [ { "relatedp-tointerface" : "service-instance", { "relatedinterface-linkname" : "url of service-instance{ifName}", "relationshipnetwork-dataref": [ "some ref", "transparent": "some value", "relationshipoperational-keystatus " : "service-instance.service-instance-id{status}", "relationshipspeed-value": "some idspeed", "relationship-list": { ] }, "relationship" : {[ "related-to" : "",vpn-binding { "related-link" : "url of vpn-binding", "relationshiprelated-datato": ["vpn-binding", " "related-link": "url of vpn-binding", "relationship-data": [ "relationship-key" : "vpn-binding.vpn-binding-id", "relationship-value": "some id" ] } ] } } | ||||||
Code Block | ||||||
language | text | title | Query for network resources
]
}
}
}
]
} |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL: https://<AAI host>:<AAI port>/aai/v14/network/networkvpn-resourcesbindings?networkvpn-id={networkId}&provide-id={providerIdvpnId} Method: GET Request Body: { } Response Body: { "results": : [ "network-resource":{ "networkvpn-idbinding" : "{networkId}", "providervpn-id" : "{providerIdvpnId}", "pnfsvpn-name":{....}, "some name", "relationshipaccess-provider-listid":{ "provider id", "relationshipaccess-client-id" : ["client id", "access-topology-id": "topology id", { "src-access-node-id": "src node id", "related-to" : "vpn-binding"src-access-ltp-id": "src ltp id", "dst-access-node-id": "dst node id", "related-link" dst-access-ltp-id": "urldst of vpn-binding"ltp id, "operational-status": "some status", "relationship-datalist" : [{ "relationship" : [ "relationship-key" : "vpn-binding.vpn-id", { "relationshiprelated-valueto" : "some-idconnectivity", "related-link": "url of ]connectivity", } "relationship-data": [ ] "relationship-key": "connectivity. connectivity-id", "relationship-value": "some id" } } ] } |
Alarm Correlation
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL: https://<AAI host>:<AAI port>/aai/v14/network/pnfs/pnf/{pnfName}/p-interfaces?interface-name={ifName}&operational-status={status} Method: GET Resquest Body: { } Response Body: { ] "results" :} [ { "p-interface" : { ] "interface-name":{ifName}", } } "network-ref": "some ref", "transparent": "some blue", ] } |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL: https://<AAI host>:<AAI port>/aai/v14/network/connectivities/connectivity/{connectivityId} Method: Get Response Body: { ... "access-ltp-id":"ltp id", ... "relationship-list":{ "relationship" : [ "operational-status":"some speed", { "speedrelated-valueto" : "some speedservice-instance", "relationship-list"related-link" : "url of service-instance", "relationship-data": [ "relationship-key" : [ "service-instance.service-instance-id", "relationship-value": "some id" ] { }, { "related-to" : "",vpn-binding "logicrelated-link" : "url of vpn-binding", "relationship-data": [ "relationship-key" : "vpn-binding.vpn-binding-id", "relationship-value": "some id" ] } ] } } |
Alarm Correlation
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
URL: https://<AAI host>:<AAI port>/aai/v14/network/pnfs/pnf/{pnfName}/p-interfaces?interface-name={ifName}&operational-status={status} Method: GET Resquest Body: { } Response Body: { "results" : [ { "p-interface" : { "relatedinterface-linkname" :'url of logical-link:{ifName}", "relationshipnetwork-dataref":[ "some ref", "relationship-keytransparent" : "logical-link.link.namesome blue", "operational-status":"some speed", "relationshipspeed-value"; : "some namespeed", "relationship-list": ] "relationship" },: [ { "related-to" : "pnflogic-link", "related-link" :'url of pnflogical-link", "relationship-data":[ "relationship-key" : "pnflogical-link.pnflink.name", "relationship-value"; "some name" ] } ] } ] } |
...