1 tosca_definitions_version: tosca_simple_yaml_1_1_0
5 OSDF_CASABLANCA.Affinity_Default:
6 type: onap.policies.optimization.resource.AffinityPolicy
9 name: OSDF_CASABLANCA.Affinity_Default
11 policy-id: OSDF_CASABLANCA.Affinity_Default
18 identity: affinity_vCPE
19 applicableResources: any
24 OSDF_CASABLANCA.Affinity_Default_US:
25 type: onap.policies.optimization.resource.AffinityPolicy
28 name: OSDF_CASABLANCA.Affinity_Default_US
30 policy-id: OSDF_CASABLANCA.Affinity_Default_US
37 identity: affinity_vCPE
38 applicableResources: any
43 OSDF_CASABLANCA.Affinity_Default_vCPE_US_0:
44 type: onap.policies.optimization.resource.AffinityPolicy
47 name: OSDF_CASABLANCA.Affinity_Default_vCPE_US_0
49 policy-id: OSDF_CASABLANCA.Affinity_Default_vCPE_US_0
56 identity: affinity_vCPE
57 applicableResources: any
62 OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1:
63 type: onap.policies.optimization.resource.AffinityPolicy
66 name: OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1
68 policy-id: OSDF_CASABLANCA.Affinity_vCPE_1
73 resources: [vGMuxInfra, vG]
74 geography: [US, INTERNATIONAL]
75 identity: affinity_vCPE
76 applicableResources: any
79 category: availabilityZone
81 OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1:
82 type: onap.policies.optimization.resource.AffinityPolicy
85 name: OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1
87 policy-id: OSDF_CASABLANCA.Affinity_vCPE_1
92 resources: [vGMuxInfra, vG]
93 geography: [US, INTERNATIONAL]
94 identity: affinity_vCPE
95 applicableResources: any
98 category: availabilityZone
100 OSDF_CASABLANCA.Capacity_vG_1:
101 type: onap.policies.optimization.resource.Vim_fit
104 name: OSDF_CASABLANCA.Capacity_vG_1
106 policy-id: OSDF_CASABLANCA.Capacity_vG_1
112 geography: [US, INTERNATIONAL]
113 identity: capacity_vG
114 applicableResources: any
116 controller: multicloud
117 request: "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
119 OSDF_CASABLANCA.Capacity_vG_2:
120 type: onap.policies.optimization.resource.Vim_fit
123 name: OSDF_CASABLANCA.Capacity_vG_2
125 policy-id: OSDF_CASABLANCA.Capacity_vG_2
131 geography: [US, INTERNATIONAL]
132 identity: capacity_vG
133 applicableResources: any
135 controller: multicloud
136 request: "{\"vCPU\": 15, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"MB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
138 OSDF_CASABLANCA.Distance_vG_1:
139 type: onap.policies.optimization.resource.DistancePolicy
142 name: OSDF_CASABLANCA.Distance_vG_1
144 policy-id: OSDF_CASABLANCA.Distance_vG_1
150 geography: [US, INTERNATIONAL]
151 identity: distance-vG
152 applicableResources: any
154 locationInfo: customer_loc
160 OSDF_CASABLANCA.hpa_policy_Default:
161 type: onap.policies.optimization.resource.HpaPolicy
164 name: OSDF_CASABLANCA.hpa_policy_Default
166 policy-id: OSDF_CASABLANCA.hpa_policy_Default
179 - type: flavor_directives
181 - attribute_name: flavor_label_vm_01
185 hpa-feature: basicCapabilities
187 architecture: generic
189 hpa-feature-attributes:
190 - hpa-attribute-key: numVirtualCpu
191 hpa-attribute-value: 8
194 - hpa-attribute-key: virtualMemSize
195 hpa-attribute-value: 6
201 architecture: generic
203 hpa-feature-attributes:
204 - hpa-attribute-key: dataProcessingAccelerationLibrary
205 hpa-attribute-value: ovsDpdk_version
209 OSDF_CASABLANCA.hpa_policy_vG_1:
210 type: onap.policies.optimization.resource.HpaPolicy
213 name: OSDF_CASABLANCA.hpa_policy_vG_1
215 policy-id: OSDF_CASABLANCA.hpa_policy_vG_1
219 services: [vCPE, vOtherService]
228 - type: flavor_directives
230 - attribute_name: flavor_label_vm_01
234 hpa-feature: basicCapabilities
236 architecture: generic
238 hpa-feature-attributes:
239 - hpa-attribute-key: numVirtualCpu
240 hpa-attribute-value: 6
243 - hpa-attribute-key: virtualMemSize
244 hpa-attribute-value: 4
250 architecture: generic
252 hpa-feature-attributes:
253 - hpa-attribute-key: dataProcessingAccelerationLibrary
254 hpa-attribute-value: ovsDpdk_version
258 OSDF_CASABLANCA.queryPolicy_vCPE:
259 type: onap.policies.optimization.service.QueryPolicy
262 name: OSDF_CASABLANCA.queryPolicy_vCPE
264 policy-id: OSDF_CASABLANCA.queryPolicy_vCPE
269 geography: [US, INTERNATIONAL]
270 identity: vCPE_Query_Policy
273 attribute: locationId
274 attribute_location: customerLocation
278 attribute_location: "vpnInfo.vpnId"
281 attribute: upstreamBW
282 attribute_location: "vpnInfo.upstreamBW"
285 attribute: customerLatitude
286 attribute_location: customerLatitude
289 attribute: customerLongitude
290 attribute_location: customerLongitude
293 OSDF_CASABLANCA.SubscriberPolicy_v1:
294 type: onap.policies.optimization.service.SubscriberPolicy
297 name: OSDF_CASABLANCA.SubscriberPolicy_v1
299 policy-id: OSDF_CASABLANCA.SubscriberPolicy_v1
304 identity: subscriber_vCPE
305 subscriberProperties:
306 subscriberName: [subscriber_x, subscriber_y]
307 subscriberRole: [platinum]
310 OSDF_CASABLANCA.SubscriberPolicy_v2:
311 type: onap.policies.optimization.service.SubscriberPolicy
314 name: OSDF_CASABLANCA.SubscriberPolicy_v2
316 policy-id: OSDF_CASABLANCA.SubscriberPolicy_v2
321 identity: subscriber_vCPE
322 subscriberProperties:
323 subscriberName: [subscriber_a, subscriber_b]
324 subscriberRole: [gold]
327 OSDF_CASABLANCA.vnfPolicy_vG:
328 type: onap.policies.optimization.resource.VnfPolicy
331 name: OSDF_CASABLANCA.vnfPolicy_vG
333 policy-id: OSDF_CASABLANCA.vnfPolicy_vG
339 geography: [US, INTERNATIONAL]
341 applicableResources: any
344 inventoryProvider: aai
346 inventoryType: cloudRegionId