aboutsummaryrefslogtreecommitdiffstats
path: root/robot/assets/service_mappings.py
blob: 9e7a2cc090437dc05b9fea10cdc5ecc22de01da6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
GLOBAL_SERVICE_FOLDER_MAPPING = {"vFW" : ['base_vfw'], \
                                 "vLB" : ['base_vlb'], \
                                 "vVG" : ['base_vvg'], \
                                 }
                                 
GLOBAL_SERVICE_TEMPLATE_MAPPING = {"vFW" : [{"isBase" : "true", "template" : "vfw_preload.template", "name_pattern": "base_vfw"}], \
                                 "vLB" : [{"isBase" : "true", "template" : "vlb_preload.template", "name_pattern": "base_vlb"},
                                          {"isBase" : "false", "template" : "dnsscaling_preload.template", "name_pattern": "dnsscaling", "prefix" : "vDNS_"}],
                                 "vVG" : [{"isBase" : "true", "template" : "vvg_preload.template", "name_pattern": "base_vvg"}], \
                                 }


##
## The following identifies the stack parameter names for the oam_ecomp network IPS
## In stantiated by the stack. During stack teardown, we need to ensure that 
## These ports are deleted due to latency in rackspace to free these ports.
## This is just a workaround to enable respinning a VM as soon as possible
GLOBAL_SERVICE_ECOMP_IP_MAPPING = {"vFW" : ['vpg_private_ip_1', 'vfw_private_ip_2','vsn_private_ip_1'], \
                                 "vLB" : ['vlb_private_ip_1', 'vdns_private_ip_1'],
                                 "vVG" : [], \
                                 }


## 
## Used by the Heatbridge Validate Query to A&AI to locate the vserver name
GLOBAL_VALIDATE_NAME_MAPPING = {"vFW" : 'vfw_name_0',
                                 "vLB" : 'vlb_name_0',
                                 "vVG" : '' 
                                 }