vFWDT tutorial fixes after integration tests
[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                     "filtering_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                     },
56                     "inventory_provider": "aai",
57                     "service_resource_id": "vFW-SINK-XX",
58                     "inventory_type": "vfmodule",
59                     "service_type": "vFW-SINK-XX",
60                     "excluded_candidates": [
61                         {
62                             "inventory_type": "vfmodule",
63                             "candidate_id": [
64                                 "e765d576-8755-4145-8536-0bb6d9b1dc9a"
65                             ]
66                         }
67                     ],
68                     "required_candidates": [
69                         {
70                             "inventory_type": "vfmodule",
71                             "candidate_id": [
72                                 "e765d576-8755-4145-8536-0bb6d9b1dc9a"
73                             ]
74                         }
75                     ]
76                 }
77             ],
78             "vPGN": [
79                 {
80                     "filtering_attributes": {
81                         "global-customer-id": {
82                             "get_param": "chosen_customer_id"
83                         },
84                         "cloud-region-id": {
85                             "get_param": "chosen_region"
86                         },
87                         "model-version-id": "6bfe954e-bb00-4111-be3c-33eed9d20a8c",
88                         "orchestration-status": [
89                             "Active"
90                         ],
91                         "model-invariant-id": "3f356335-7b36-41ee-8f74-72d0a2ec3ebf",
92                         "service_instance_id": {
93                             "get_param": "service_id"
94                         }
95                     },
96                     "inventory_provider": "aai",
97                     "service_resource_id": "vPGN-XX",
98                     "unique": "false",
99                     "inventory_type": "vfmodule",
100                     "service_type": "vPGN-XX"
101                 }
102             ]
103         },
104         "homing_template_version": "2017-10-10"
105     },
106     "limit": 100,
107     "num_solution": "100",
108     "files": {},
109     "timeout": 1200
110 }