2 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
6 "OSDF_CASABLANCA.Affinity_Default": {
7 "type": "onap.policies.optimization.resource.AffinityPolicy",
9 "type_version": "1.0.0",
11 "policy-id": "OSDF_CASABLANCA.Affinity_Default",
19 "identity": "affinity_vCPE",
20 "applicableResources": "any",
21 "affinityProperties": {
29 "OSDF_CASABLANCA.Affinity_Default_US": {
30 "type": "onap.policies.optimization.resource.AffinityPolicy",
32 "type_version": "1.0.0",
34 "policy-id": "OSDF_CASABLANCA.Affinity_Default_US",
44 "identity": "affinity_vCPE",
45 "applicableResources": "any",
46 "affinityProperties": {
54 "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0": {
55 "type": "onap.policies.optimization.resource.AffinityPolicy",
57 "type_version": "1.0.0",
59 "policy-id": "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0",
71 "identity": "affinity_vCPE",
72 "applicableResources": "any",
73 "affinityProperties": {
74 "qualifier": "different",
81 "OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1": {
82 "type": "onap.policies.optimization.resource.AffinityPolicy",
84 "type_version": "1.0.0",
86 "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
104 "identity": "affinity_vCPE",
105 "applicableResources": "any",
106 "affinityProperties": {
108 "category": "availabilityZone"
114 "OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1": {
115 "type": "onap.policies.optimization.resource.AffinityPolicy",
117 "type_version": "1.0.0",
119 "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
137 "identity": "affinity_vCPE",
138 "applicableResources": "any",
139 "affinityProperties": {
140 "qualifier": "different",
141 "category": "availabilityZone"
147 "OSDF_CASABLANCA.Capacity_vG_1": {
148 "type": "onap.policies.optimization.resource.Vim_fit",
150 "type_version": "1.0.0",
152 "policy-id": "OSDF_CASABLANCA.Capacity_vG_1",
167 "identity": "capacity_vG",
168 "applicableResources": "any",
169 "capacityProperty": {
170 "controller": "multicloud",
171 "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
177 "OSDF_CASABLANCA.Capacity_vG_2": {
178 "type": "onap.policies.optimization.resource.Vim_fit",
180 "type_version": "1.0.0",
182 "policy-id": "OSDF_CASABLANCA.Capacity_vG_2",
197 "identity": "capacity_vG",
198 "applicableResources": "any",
199 "capacityProperty": {
200 "controller": "multicloud",
201 "request": "{\"vCPU\": 15, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"MB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
207 "OSDF_CASABLANCA.Distance_vG_1": {
208 "type": "onap.policies.optimization.resource.DistancePolicy",
210 "type_version": "1.0.0",
212 "policy-id": "OSDF_CASABLANCA.Distance_vG_1",
229 "identity": "distance-vG",
230 "applicableResources": "any",
231 "distanceProperties": {
232 "locationInfo": "customer_loc",
243 "OSDF_CASABLANCA.hpa_policy_Default": {
244 "type": "onap.policies.optimization.resource.HpaPolicy",
246 "type_version": "1.0.0",
248 "policy-id": "OSDF_CASABLANCA.hpa_policy_Default",
256 "identity": "hpa-vG",
263 "type": "flavor_directives",
266 "attribute_name": "flavor_label_vm_01",
267 "attribute_value": ""
272 "flavorProperties": [
274 "hpa-feature": "basicCapabilities",
276 "architecture": "generic",
278 "hpa-feature-attributes": [
280 "hpa-attribute-key": "numVirtualCpu",
281 "hpa-attribute-value": 8,
288 "hpa-attribute-key": "virtualMemSize",
289 "hpa-attribute-value": 6,
298 "hpa-feature": "ovsDpdk",
300 "architecture": "generic",
302 "hpa-feature-attributes": [
304 "hpa-attribute-key": "dataProcessingAccelerationLibrary",
305 "hpa-attribute-value": "ovsDpdk_version",
320 "OSDF_CASABLANCA.hpa_policy_vG_1": {
321 "type": "onap.policies.optimization.resource.HpaPolicy",
323 "type_version": "1.0.0",
325 "policy-id": "OSDF_CASABLANCA.hpa_policy_vG_1",
338 "identity": "hpa-vG",
345 "type": "flavor_directives",
348 "attribute_name": "flavor_label_vm_01",
349 "attribute_value": ""
354 "flavorProperties": [
356 "hpa-feature": "basicCapabilities",
358 "architecture": "generic",
360 "hpa-feature-attributes": [
362 "hpa-attribute-key": "numVirtualCpu",
363 "hpa-attribute-value": 6,
370 "hpa-attribute-key": "virtualMemSize",
371 "hpa-attribute-value": 4,
380 "hpa-feature": "ovsDpdk",
382 "architecture": "generic",
384 "hpa-feature-attributes": [
386 "hpa-attribute-key": "dataProcessingAccelerationLibrary",
387 "hpa-attribute-value": "ovsDpdk_version",
402 "OSDF_CASABLANCA.queryPolicy_vCPE": {
403 "type": "onap.policies.optimization.service.QueryPolicy",
405 "type_version": "1.0.0",
407 "policy-id": "OSDF_CASABLANCA.queryPolicy_vCPE",
419 "identity": "vCPE_Query_Policy",
422 "attribute": "locationId",
423 "attribute_location": "customerLocation",
428 "attribute_location": "vpnInfo.vpnId",
432 "attribute": "upstreamBW",
433 "attribute_location": "vpnInfo.upstreamBW",
437 "attribute": "customerLatitude",
438 "attribute_location": "customerLatitude",
442 "attribute": "customerLongitude",
443 "attribute_location": "customerLongitude",
451 "OSDF_CASABLANCA.SubscriberPolicy_v1": {
452 "type": "onap.policies.optimization.service.SubscriberPolicy",
454 "type_version": "1.0.0",
456 "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v1",
464 "identity": "subscriber_vCPE",
465 "subscriberProperties": {
481 "OSDF_CASABLANCA.SubscriberPolicy_v2": {
482 "type": "onap.policies.optimization.service.SubscriberPolicy",
484 "type_version": "1.0.0",
486 "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v2",
494 "identity": "subscriber_vCPE",
495 "subscriberProperties": {
511 "OSDF_CASABLANCA.vnfPolicy_vG": {
512 "type": "onap.policies.optimization.resource.VnfPolicy",
514 "type_version": "1.0.0",
516 "policy-id": "OSDF_CASABLANCA.vnfPolicy_vG",
531 "identity": "vnf_vG",
532 "applicableResources": "any",
535 "inventoryProvider": "aai",
537 "inventoryType": "cloudRegionId",