...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca", "policyVersion": "1.0.0.5", "policyName": "vFirewall", "policyScope": "resource=SampleResource,service=SampleService,type=SampleType,closedLoopControlName=SampleClosedLoop", "target_type": "VNF", "AAI": { "generic-vnf.vnf-idname": "zdfw1fwl01fwl02" }, "closedLoopAlarmStart": 1484855291527925, "closedLoopEventStatus": "ONSET", "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", "version": "1.0.2", "target": "generic-vnf.vnf-id", "requestID": "8c1b8bd8-06f7-493f-8ed7-daaa4cc481bc", "from": "DCAE" } |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
POST /aai/search/named-query
{
"query-parameters": {
"named-query": {
"named-query-uuid": "a93ac487-409c-4e8c-9e5f-334ae8f99087"
}
},
"instance-filters":{
"instance-filter":[ {
"generic-vnf": {
"vnf-id": "zdfw1fwl01fwl02"
}
} ]
}
} |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Below is a sample response format. Field values are just examples. Will update to real values for vFW later.
{
"inventory-response-item": [
{
"model-name": "service-instance",
"generic-vnf": {
"vnf-id": "de7cc3ab-0212-47df-9e64-da1c79234deb",
"vnf-name": "ZRDM2MMEX39",
"vnf-type": "vMME Svc Jul 14/vMME VF Jul 14 1",
"service-id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
"orchestration-status": "active",
"in-maint": false,
"is-closed-loop-disabled": false,
"resource-version": "1503082370097",
"model-invariant-id": "82194af1-3c2c-485a-8f44-420e22a9eaa4",
"model-version-id": "46b92144-923a-4d20-b85a-3cbd847668a9"
},
"extra-properties": {},
"inventory-response-items": {
"inventory-response-item": [
{
"model-name": "service-instance",
"service-instance": {
"service-instance-id": "37b8cdb7-94eb-468f-a0c2-4e3c3546578e",
"service-instance-name": "Changed Service Instance NAME",
"model-invariant-id": "82194af1-3c2c-485a-8f44-420e22a9eaa4",
"model-version-id": "46b92144-923a-4d20-b85a-3cbd847668a9",
"resource-version": "1503082993532",
"orchestration-status": "Active"
},
"extra-properties": {},
"inventory-response-items": {
"inventory-response-item": [
{
"model-name": "pnf",
"generic-vnf": {
"vnf-id": "jimmy-test",
"vnf-name": "jimmy-test-vnf",
"vnf-type": "vMME Svc Jul 14/vMME VF Jul 14 1",
"service-id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
"orchestration-status": "active",
"in-maint": false,
"is-closed-loop-disabled": false,
"resource-version": "1504013830207",
"model-invariant-id": "862b25a1-262a-4961-bdaa-cdc55d69785a",
"model-version-id": "e9f1fa7d-c839-418a-9601-03dc0d2ad687"
},
"extra-properties": {}
},
{
"model-name": "service-instance",
"generic-vnf": {
"vnf-id": "jimmy-test-vnf2",
"vnf-name": "jimmy-test-vnf2-named",
"vnf-type": "vMME Svc Jul 14/vMME VF Jul 14 1",
"service-id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
"orchestration-status": "active",
"in-maint": false,
"is-closed-loop-disabled": false,
"resource-version": "1504014833841",
"model-invariant-id": "82194af1-3c2c-485a-8f44-420e22a9eaa4",
"model-version-id": "46b92144-923a-4d20-b85a-3cbd847668a9"
},
"extra-properties": {}
}
]
}
}
]
}
}
]
} |
",
"version": "1.0.2",
"target": "generic-vnf.vnf-name",
"requestID": "8c1b8bd8-06f7-493f-8ed7-daaa4cc481bc",
"from": "DCAE"
} |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
https://{aai}/aai/v11/network/generic-vnfs/generic-vnf?vnf-name=zdfw1fwl01fwl02 |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
*TODO
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "CommonHeader": { "TimeStamp": 1500997725298, "APIver": "1.01", "RequestID": "664be3d2-6c12-4f4b-a3e7-c349acced200", "RequestTrack": [], "Flags": [] }, "Action": "ModifyConfig", "Payload": { "generic-vnf.vnf-id": "fw0001vm001fw001", "pg-streams": { "pg-stream": [ { "id": "fw_udp1", "is-enabled": "true" }, { "id": "fw_udp2", "is-enabled": "true" }, { "id": "fw_udp3", "is-enabled": "true" }, { "id": "fw_udp4", "is-enabled": "true" }, { "id": "fw_udp5", "is-enabled": "true" }] } } } |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e", "version": "1.0.2", "requestID": "0abc0000-b032-4e4b-bd30-88260f444888", "closedLoopAlarmStart": 1478189220547, "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca", "target_type": "VNF", "target": "generic-vnf.vnf-idname", "AAI": { "generic-vnf.vnf-idname" : "vCPE_Infrastructure_vGMUX_demo_app" }, "from": "DCAE", "policyScope": "DCAE", "policyName": "DCAE.Config_tca-hi-lo", "policyVersion": "v0.0.1", "closedLoopEventStatus": "ONSET" } |
...