diff options
Diffstat (limited to 'tutorials/vFWDT/policies/rules')
-rw-r--r-- | tutorials/vFWDT/policies/rules/QueryPolicy_vFW_TD.json | 70 | ||||
-rw-r--r-- | tutorials/vFWDT/policies/rules/vnfPolicy_vFW_TD.json | 40 | ||||
-rw-r--r-- | tutorials/vFWDT/policies/rules/vnfPolicy_vPGN_TD.json | 40 |
3 files changed, 88 insertions, 62 deletions
diff --git a/tutorials/vFWDT/policies/rules/QueryPolicy_vFW_TD.json b/tutorials/vFWDT/policies/rules/QueryPolicy_vFW_TD.json index 300ac99d..312ad651 100644 --- a/tutorials/vFWDT/policies/rules/QueryPolicy_vFW_TD.json +++ b/tutorials/vFWDT/policies/rules/QueryPolicy_vFW_TD.json @@ -1,32 +1,46 @@ { - "service": "queryPolicy", - "policyName": "OSDF_DUBLIN.QueryPolicy_vFW_TD", - "description": "Query policy for vFW TD", - "templateVersion": "OpenSource.version.1", - "version": "OpenSource.version.1", - "priority": "3", - "riskType": "test", - "riskLevel": "2", - "guard": "False", - "content": { - "queryProperties": [ - {"attribute":"customerLatitude", "attribute_location": "customerLatitude", "value": 1.1}, - {"attribute":"customerLongitude", "attribute_location": "customerLongitude", "value": 2.2}, - {"attribute":"chosen_region", "attribute_location": "chosenRegion"}, - {"attribute":"chosen_customer_id", "attribute_location": "chosenCustomerId"} - ], - "policyScope": [ - "td", - "us", - "vFW-SINK", - "vPGN" - ], - "policyType": "request_param_query", - "serviceName": "vFW_TD", - "identity": "vFW_TD_Query_Policy", - "resources": [ + "service": "queryPolicy", + "policyName": "OSDF_DUBLIN.QueryPolicy_vFW_TD", + "description": "Query policy for vFW TD", + "templateVersion": "OpenSource.version.1", + "version": "OpenSource.version.1", + "priority": "3", + "riskType": "test", + "riskLevel": "2", + "guard": "False", + "content": { + "queryProperties": [ + { + "attribute": "customerLatitude", + "attribute_location": "customerLatitude", + "value": 1.1 + }, + { + "attribute": "customerLongitude", + "attribute_location": "customerLongitude", + "value": 2.2 + }, + { + "attribute": "chosen_region", + "attribute_location": "chosenRegion" + }, + { + "attribute": "chosen_customer_id", + "attribute_location": "chosenCustomerId" + } + ], + "policyScope": [ + "td", + "us", "vFW-SINK", "vPGN" - ] - } + ], + "policyType": "request_param_query", + "serviceName": "vFW_TD", + "identity": "vFW_TD_Query_Policy", + "resources": [ + "vFW-SINK", + "vPGN" + ] + } } diff --git a/tutorials/vFWDT/policies/rules/vnfPolicy_vFW_TD.json b/tutorials/vFWDT/policies/rules/vnfPolicy_vFW_TD.json index 8df45e33..240c7325 100644 --- a/tutorials/vFWDT/policies/rules/vnfPolicy_vFW_TD.json +++ b/tutorials/vFWDT/policies/rules/vnfPolicy_vFW_TD.json @@ -16,26 +16,32 @@ "vFW-SINK" ], "policyType": "vnfPolicy", - "resources": ["vFW-SINK"], + "resources": [ + "vFW-SINK" + ], "applicableResources": "any", - "vnfProperties": [{ - "inventoryProvider": "aai", - "serviceType": "", - "inventoryType": "vfmodule", - "customerId": { - "get_param": "chosen_customer_id" - }, - "equipmentRole": "", - "attributes": { - "orchestrationStatus": ["active"], - "provStatus": "ACTIVE", - "cloudRegionId": { - "get_param": "chosen_region" + "vnfProperties": [ + { + "inventoryProvider": "aai", + "serviceType": "", + "inventoryType": "vfmodule", + "customerId": { + "get_param": "chosen_customer_id" }, - "service_instance_id": { - "get_param": "service_id" + "equipmentRole": "", + "attributes": { + "orchestrationStatus": [ + "active" + ], + "provStatus": "ACTIVE", + "cloudRegionId": { + "get_param": "chosen_region" + }, + "service_instance_id": { + "get_param": "service_id" + } } } - }] + ] } } diff --git a/tutorials/vFWDT/policies/rules/vnfPolicy_vPGN_TD.json b/tutorials/vFWDT/policies/rules/vnfPolicy_vPGN_TD.json index 452fdb63..277d7d0d 100644 --- a/tutorials/vFWDT/policies/rules/vnfPolicy_vPGN_TD.json +++ b/tutorials/vFWDT/policies/rules/vnfPolicy_vPGN_TD.json @@ -16,26 +16,32 @@ "vPGN" ], "policyType": "vnfPolicy", - "resources": ["vPGN"], + "resources": [ + "vPGN" + ], "applicableResources": "any", - "vnfProperties": [{ - "inventoryProvider": "aai", - "serviceType": "", - "inventoryType": "vfmodule", - "customerId": { - "get_param": "chosen_customer_id" - }, - "equipmentRole": "", - "attributes": { - "orchestrationStatus": ["active"], - "provStatus": "ACTIVE", - "cloudRegionId": { - "get_param": "chosen_region" + "vnfProperties": [ + { + "inventoryProvider": "aai", + "serviceType": "", + "inventoryType": "vfmodule", + "customerId": { + "get_param": "chosen_customer_id" }, - "service_instance_id": { - "get_param": "service_id" + "equipmentRole": "", + "attributes": { + "orchestrationStatus": [ + "active" + ], + "provStatus": "ACTIVE", + "cloudRegionId": { + "get_param": "chosen_region" + }, + "service_instance_id": { + "get_param": "service_id" + } } } - }] + ] } } |