blob: 378e8157e1524faacaf3876355c88cd90bc0b85d [file] [log] [blame]
Pamela Dragoshb9ae7932019-03-22 13:33:19 -04001tosca_definitions_version: tosca_simple_yaml_1_0_0
2topology_template:
3policies:
4 -
5 OSDF_CASABLANCA.Affinity_vCPE_1:
6 type: onap.policies.optimization.AffinityPolicy
7 version: 1.0.0
8 metadata:
9 policy-id: OSDF_CASABLANCA.Affinity_vCPE_1
10 properties:
11 identity: affinity_vCPE
12 policyScope: [vCPE, US, INTERNATIONAL, ip, vGMuxInfra, vG]
13 affinityProperties:
14 qualifier: same
15 category: complex
16 policyType: zone
17 resources: [vGMuxInfra, vG]
18 -
19 OSDF_CASABLANCA.Capacity_vG_1:
20 type: onap.policies.optimization.Vim_fit
21 version: 1.0.0
22 metadata:
23 policy-id: OSDF_CASABLANCA.Capacity_vG_1
24 properties:
25 identity: capacity_vG
26 policyScope: [VCPE, US, INTERNATIONAL, ip, vG]
27 resources: [vG]
28 capacityProperty:
29 controller: multicloud
30 request: "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
31 policyType: vim_fit
32 applicableResources: any
33 -
34 OSDF_CASABLANCA.Distance_vG_1:
35 type: onap.policies.optimization.DistancePolicy
36 version: 1.0.0
37 metadata:
38 policy-id: OSDF_CASABLANCA.Distance_vG_1
39 properties:
40 distanceProperties:
41 locationInfo: customer_loc
42 distance:
43 value: 1500
44 operator: "<"
45 unit: km
46 identity: "distance-vG"
47 resources: [vG]
48 policyScope: [vCPE, US, INTERNATIONAL, ip, vG]
49 policyType: distance_to_location
50 applicableResources: any
51 -
52 OSDF_CASABLANCA.hpa_policy_vG_1:
53 type: onap.policies.optimization.HpaPolicy
54 version: 1.0.0
55 metadata:
56 policy-id: OSDF_CASABLANCA.hpa_policy_vG_1
57 properties:
58 resources: [vG]
59 identity: "hpa-vG"
60 policyScope: [vCPE, US, INTERNATIONAL, ip, vG]
61 policyType: hpa
62 # NONE OF THE FLAVORFEATURES CAME OUT RIGHT
63 -
64 OSDF_CASABLANCA.queryPolicy_vCPE:
65 type: onap.policies.optimization.QueryPolicy
66 version: 1.0.0
67 metadata:
68 policy-id: OSDF_CASABLANCA.queryPolicy_vCPE
69 properties:
70 queryProperties:
71 -
72 attribute: locationId
73 attribute_location: customerLocation
74 value: ""
75 -
76 attribute: id
77 attribute_location: "vpnInfo.vpnId"
78 value: ""
79 -
80 attribute: upstreamBW
81 attribute_location: "vpnInfo.upstreamBW"
82 value: ""
83 -
84 attribute: customerLatitude
85 attribute_location: customerLatitude
86 value: 1.1
87 -
88 attribute: customerLongitude
89 attribute_location: customerLongitude
90 value: 2.2
91 serviceName: vCPE
92 policyScope: [vCPE, US, INTERNATIONAL, ip, vGMuxInfra, vG]
93 policyType: request_param_query
94 identity: vCPE_Query_Policy
95
96 -
97 OSDF_CASABLANCA.SubscriberPolicy_v1:
98 type: onap.policies.optimization.SubscriberPolicy
99 version: 1.0.0
100 metadata:
101 policy-id: OSDF_CASABLANCA.SubscriberPolicy_v1
102 properties:
103 identity: subscriber_vCPE
104 policyScope: [vCPE, subscriber_x, subscriber_y, subscriberPolicy]
105 properties:
106 subscriberName: [subscriber_x, subscriber_y]
107 subscriberRole: ["PVT Homing"]
108 provStatus: [CAPPED]
109 policyType: subscriberPolicy
110 serviceName: vCPE
111 -
112 OSDF_CASABLANCA.vnfPolicy_vG:
113 type: onap.policies.optimization.VnfPolicy
114 version: 1.0.0
115 metadata:
116 policy-id: OSDF_CASABLANCA.vnfPolicy_vG
117 properties:
118 identity: vnf_vG
119 policyScope: [vCPE, US, INTERNATIONAL, ip, vG]
120 policyType: vnfPolicy
121 resources: [vG]
122 applicableResources: any
123 vnfProperties:
124 -
125 inventoryProvider: aai
126 serviceType: ""
127 inventoryType: cloud
128 customerId: ""
129 orchestrationStatus: ""
130 equipmentRole: ""