a0c678b62790b9c0a9c9daad1585726145eeb249
[demo.git] / tutorials / vFWDT / workflow / templates / hasRequest.json
1 {
2     "name": "de4f04e3-0a65-470b-9d07-8ea6c2fb3e10",
3     "template": {
4         "constraints": {
5             "affinity_vFW_TD": {
6                 "demands": [
7                     "vFW-SINK",
8                     "vPGN"
9                 ],
10                 "properties": {
11                     "category": "region",
12                     "qualifier": "same"
13                 },
14                 "type": "zone"
15             }
16         },
17         "parameters": {
18             "service_name": "vFW_TD",
19             "chosen_region": "RegionOne",
20             "chosen_customer_id": "DemoCust_4fb7d3cf-5ddc-4d8c-8acf-70cc9174d18f",
21             "service_id": "2ad369d4-9056-4dc9-8e6d-df24f45e8729",
22             "customer_long": 2.2,
23             "REQUIRED_MEM": "",
24             "customer_lat": 1.1,
25             "REQUIRED_DISK": ""
26         },
27         "locations": {
28             "customer_loc": {
29                 "longitude": {
30                     "get_param": "customer_long"
31                 },
32                 "latitude": {
33                     "get_param": "customer_lat"
34                 }
35             }
36         },
37         "demands": {
38             "vFW-SINK": [
39                 {
40                     "attributes": {
41                         "global-customer-id": {
42                             "get_param": "chosen_customer_id"
43                         },
44                         "cloud-region-id": {
45                             "get_param": "chosen_region"
46                         },
47                         "model-version-id": "202d2fd8-a045-4c9a-b767-2a1639c10291",
48                         "orchestration-status": [
49                             "active"
50                         ],
51                         "model-invariant-id": "6f3fd439-fd5f-4a2d-95bc-b6bf8787001a",
52                         "service_instance_id": {
53                             "get_param": "service_id"
54                         },
55                         "prov-status": "ACTIVE"
56                     },
57                     "inventory_provider": "aai",
58                     "service_resource_id": "vFW-SINK-XX",
59                     "inventory_type": "vfmodule",
60                     "service_type": "vFW-SINK-XX",
61                     "excluded_candidates": [
62                         {
63                             "inventory_type": "vfmodule",
64                             "candidate_id": [
65                                 "e765d576-8755-4145-8536-0bb6d9b1dc9a"
66                             ]
67                         }
68                     ],
69                     "required_candidates": [
70                         {
71                             "inventory_type": "vfmodule",
72                             "candidate_id": [
73                                 "e765d576-8755-4145-8536-0bb6d9b1dc9a"
74                             ]
75                         }
76                     ]
77                 }
78             ],
79             "vPGN": [
80                 {
81                     "attributes": {
82                         "global-customer-id": {
83                             "get_param": "chosen_customer_id"
84                         },
85                         "cloud-region-id": {
86                             "get_param": "chosen_region"
87                         },
88                         "model-version-id": "6bfe954e-bb00-4111-be3c-33eed9d20a8c",
89                         "orchestration-status": [
90                             "active"
91                         ],
92                         "model-invariant-id": "3f356335-7b36-41ee-8f74-72d0a2ec3ebf",
93                         "service_instance_id": {
94                             "get_param": "service_id"
95                         },
96                         "prov-status": "ACTIVE"
97                     },
98                     "inventory_provider": "aai",
99                     "service_resource_id": "vPGN-XX",
100                     "unique": "false",
101                     "inventory_type": "vfmodule",
102                     "service_type": "vPGN-XX"
103                 }
104             ]
105         },
106         "homing_template_version": "2017-10-10"
107     },
108     "limit": 100,
109     "num_solution": "100",
110     "files": {},
111     "timeout": 1200
112 }