1 tosca_definitions_version: tosca_simple_yaml_1_0_0
5 OSDF_CASABLANCA.Affinity_Default:
6 type: onap.policies.optimization.resource.AffinityPolicy
10 policy-id: OSDF_CASABLANCA.Affinity_Default
17 identity: affinity_vCPE
18 applicableResources: any
23 OSDF_CASABLANCA.Affinity_Default_US:
24 type: onap.policies.optimization.resource.AffinityPolicy
28 policy-id: OSDF_CASABLANCA.Affinity_Default_US
35 identity: affinity_vCPE
36 applicableResources: any
41 OSDF_CASABLANCA.Affinity_Default_vCPE_US_0:
42 type: onap.policies.optimization.resource.AffinityPolicy
46 policy-id: OSDF_CASABLANCA.Affinity_Default_vCPE_US_0
53 identity: affinity_vCPE
54 applicableResources: any
59 OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1:
60 type: onap.policies.optimization.resource.AffinityPolicy
64 policy-id: OSDF_CASABLANCA.Affinity_vCPE_1
69 resources: [vGMuxInfra, vG]
70 geography: [US, INTERNATIONAL]
71 identity: affinity_vCPE
72 applicableResources: any
75 category: availabilityZone
77 OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1:
78 type: onap.policies.optimization.resource.AffinityPolicy
82 policy-id: OSDF_CASABLANCA.Affinity_vCPE_1
87 resources: [vGMuxInfra, vG]
88 geography: [US, INTERNATIONAL]
89 identity: affinity_vCPE
90 applicableResources: any
93 category: availabilityZone
95 OSDF_CASABLANCA.Capacity_vG_1:
96 type: onap.policies.optimization.resource.Vim_fit
100 policy-id: OSDF_CASABLANCA.Capacity_vG_1
106 geography: [US, INTERNATIONAL]
107 identity: capacity_vG
108 applicableResources: any
110 controller: multicloud
111 request: "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
113 OSDF_CASABLANCA.Capacity_vG_2:
114 type: onap.policies.optimization.resource.Vim_fit
118 policy-id: OSDF_CASABLANCA.Capacity_vG_2
124 geography: [US, INTERNATIONAL]
125 identity: capacity_vG
126 applicableResources: any
128 controller: multicloud
129 request: "{\"vCPU\": 15, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"MB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
131 OSDF_CASABLANCA.Distance_vG_1:
132 type: onap.policies.optimization.resource.DistancePolicy
136 policy-id: OSDF_CASABLANCA.Distance_vG_1
142 geography: [US, INTERNATIONAL]
143 identity: distance-vG
144 applicableResources: any
146 locationInfo: customer_loc
152 OSDF_CASABLANCA.hpa_policy_Default:
153 type: onap.policies.optimization.resource.HpaPolicy
157 policy-id: OSDF_CASABLANCA.hpa_policy_Default
170 - type: flavor_directives
172 - attribute_name: flavor_label_vm_01
176 hpa-feature: basicCapabilities
178 architecture: generic
180 hpa-feature-attributes:
181 - hpa-attribute-key: numVirtualCpu
182 hpa-attribute-value: 8
185 - hpa-attribute-key: virtualMemSize
186 hpa-attribute-value: 6
192 architecture: generic
194 hpa-feature-attributes:
195 - hpa-attribute-key: dataProcessingAccelerationLibrary
196 hpa-attribute-value: ovsDpdk_version
200 OSDF_CASABLANCA.hpa_policy_vG_1:
201 type: onap.policies.optimization.resource.HpaPolicy
205 policy-id: OSDF_CASABLANCA.hpa_policy_vG_1
209 services: [vCPE, vOtherService]
218 - type: flavor_directives
220 - attribute_name: flavor_label_vm_01
224 hpa-feature: basicCapabilities
226 architecture: generic
228 hpa-feature-attributes:
229 - hpa-attribute-key: numVirtualCpu
230 hpa-attribute-value: 6
233 - hpa-attribute-key: virtualMemSize
234 hpa-attribute-value: 4
240 architecture: generic
242 hpa-feature-attributes:
243 - hpa-attribute-key: dataProcessingAccelerationLibrary
244 hpa-attribute-value: ovsDpdk_version
248 OSDF_CASABLANCA.queryPolicy_vCPE:
249 type: onap.policies.optimization.service.QueryPolicy
253 policy-id: OSDF_CASABLANCA.queryPolicy_vCPE
258 geography: [US, INTERNATIONAL]
259 identity: vCPE_Query_Policy
262 attribute: locationId
263 attribute_location: customerLocation
267 attribute_location: "vpnInfo.vpnId"
270 attribute: upstreamBW
271 attribute_location: "vpnInfo.upstreamBW"
274 attribute: customerLatitude
275 attribute_location: customerLatitude
278 attribute: customerLongitude
279 attribute_location: customerLongitude
282 OSDF_CASABLANCA.SubscriberPolicy_v1:
283 type: onap.policies.optimization.service.SubscriberPolicy
287 policy-id: OSDF_CASABLANCA.SubscriberPolicy_v1
292 identity: subscriber_vCPE
293 subscriberProperties:
294 subscriberName: [subscriber_x, subscriber_y]
295 subscriberRole: [platinum]
298 OSDF_CASABLANCA.SubscriberPolicy_v2:
299 type: onap.policies.optimization.service.SubscriberPolicy
303 policy-id: OSDF_CASABLANCA.SubscriberPolicy_v2
308 identity: subscriber_vCPE
309 subscriberProperties:
310 subscriberName: [subscriber_a, subscriber_b]
311 subscriberRole: [gold]
314 OSDF_CASABLANCA.vnfPolicy_vG:
315 type: onap.policies.optimization.resource.VnfPolicy
319 policy-id: OSDF_CASABLANCA.vnfPolicy_vG
325 geography: [US, INTERNATIONAL]
327 applicableResources: any
330 inventoryProvider: aai
332 inventoryType: cloudRegionId