-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig-esc.toml
209 lines (183 loc) · 10.8 KB
/
config-esc.toml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# These must match with 'provider-identifiers.{}'
# If the given provider for a VNFD matches with one of these, then it will automatically
# take the identifiers from this file
providers=["cisco", "mavenir"]
# All of the identifiers must be the same for all instances of that object,
# multiple IDs for a single type are not supported
[provider_identifiers.cisco]
vdu = ["type", "cisco.nodes.nfv.Vdu.Compute"]
int_cpd = ["type", "cisco.nodes.nfv.VduCp"]
int_cpd_mgmt = ["type", "cisco.nodes.nfv.VduCp"]
instantiation_level = ["type", "tosca.policies.nfv.VduInstantiationLevels"]
scaling_aspects = ["type", "tosca.policies.nfv.ScalingAspects"]
scaling_aspects_deltas = ["type", "tosca.policies.nfv.VduScalingAspectDeltas"]
virtual_storage = ["type", "cisco.nodes.nfv.Vdu.VirtualBlockStorage"]
security_group = ["type", "cisco.policies.nfv.SecurityGroupRule"]
anti_affinity_rule = ["type", "tosca.policies.nfv.AntiAffinityRule"]
affinity_rule = ["type", "tosca.policies.nfv.AffinityRule"]
placement_group = ["type", "tosca.groups.nfv.PlacementGroup"]
[provider_identifiers.mavenir]
vdu = ["type", "tosca.nodes.nfv.Vdu.Compute"]
int_cpd = ["type", "tosca.nodes.nfv.VduCp"]
int_cpd_mgmt = ["type", "tosca.nodes.nfv.VduCp"]
instantiation_level = ["type", "tosca.policies.nfv.VduInstantiationLevels"]
scaling_aspects = ["type", "tosca.policies.nfv.ScalingAspects"]
scaling_aspects_deltas = ["type", "tosca.policies.nfv.VduScalingAspectDeltas"]
virtual_storage = ["type", "tosca.nodes.nfv.Vdu.VirtualBlockStorage"]
security_group = ["type", "tosca.policies.nfv.SecurityGroupRule"]
anti_affinity_rule = ["type", "tosca.policies.nfv.AntiAffinityRule"]
affinity_rule = ["type", "tosca.policies.nfv.AffinityRule"]
placement_group = ["type", "tosca.groups.nfv.PlacementGroup"]
# Note: If there is a variable with "path_VAL", that means it will not be parsed for the path
# heirarchy, but will instead just be set with the value
# The structure of the TOSCA file, in paths
[tosca]
topology_template = "topology_template"
node_templates = ["topology_template", "node_templates"]
substitution_map = ["topology_template", "substitution_mappings"]
substitution_req = ["substitution_map", "requirements"]
substitution_virt_link = ["substitution_req", "virtual_link"]
substitution_type = ["substitution_map", "node_type"]
policies = ["topology_template", "policies"]
groups = ["topology_template", "groups"]
inputs = ["topology_template", "inputs"]
desc = "description"
input_key = "get_input"
# ** VNF Metadata **
vnf = ["node_templates", "vnf"]
vnf_prop = ["vnf", "properties"]
vnf_type = ["vnf", "type"]
vnf_desc_id = ["vnf_prop", "descriptor_id"]
vnf_desc_ver = ["vnf_prop", "descriptor_version"]
vnf_provider = ["vnf_prop", "provider"]
vnf_product_name = ["vnf_prop", "product_name"]
vnf_software_ver = ["vnf_prop", "software_version"]
vnf_product_info_name = ["vnf_prop", "product_info_name"]
vnf_vnfm_info = ["vnf_prop", "vnfm_info"]
vnf_conf_props = ["vnf_prop", "configurable_properties"]
vnf_conf_autoheal = ["vnf_conf_props", "is_autoheal_enabled"]
vnf_conf_autoscale = ["vnf_conf_props", "is_autoscale_enabled"]
vnf_lcm_conf = ["vnf_prop", "lcm_operations_configuration"]
vnf_lcm_heal = ["vnf_lcm_conf", "heal"]
vnf_lcm_heal_item = ["vnf_lcm_heal", "{}"]
# Additional configurable parameters
vnf_interfaces = ["vnf", "interfaces"]
vnf_vnflcm = ["vnf_interfaces", "Vnflcm"]
vnf_instantiate = ["vnf_vnflcm", "instantiate"]
vnf_inst_inputs = ["vnf_instantiate", "inputs"]
vnf_additional_param_list= ["vnf_inst_inputs", "additional_parameters"]
vnf_add_parameter = ["vnf_additional_param_list", "parameters"]
vnf_add_param_elem = ["vnf_add_parameter", "{}"]
# These are the variables that will be taken from parameters_list and put into the sol6 VNFD
ADD_PARAMS_VAL = ["BOOTUP_TIME_SF", "BOOTUP_TIME_CF", "CHASSIS_KEY"]
# ** VDU **
vdu = ["node_templates", "{}"]
vdu_type = ["vdu", "{}"]
vdu_props = ["vdu", "properties"]
vdu_req = ["vdu", "requirements"]
vdu_name = ["vdu_props", "name"]
vdu_boot = ["vdu_props", "boot_order"]
vdu_desc = ["vdu_props", "description"]
vdu_conf_props_base = ["vdu_props", "configurable_properties"]
vdu_conf_props = ["vdu_conf_props_base", "additional_vnfc_configurable_properties"]
vdu_virt_storage = ["vdu_req", "virtual_storage"]
vdu_vim_flavor = ["vdu_conf_props", "vim_flavor"]
vdu_cap = ["vdu", "capabilities"]
vdu_cap_vc = ["vdu_cap", "virtual_compute"]
vdu_cap_props = ["vdu_cap_vc", "properties"]
vdu_virt_cpu = ["vdu_cap_props", "virtual_cpu"]
vdu_virt_cpu_num = ["vdu_virt_cpu", "num_virtual_cpu"]
vdu_virt_mem = ["vdu_cap_props", "virtual_memory"]
vdu_virt_mem_size = ["vdu_virt_mem", "virtual_mem_size"]
vdu_profile = ["vdu_props", "vdu_profile"]
vdu_prof_inst_min = ["vdu_profile", "min_number_of_instances"]
vdu_prof_inst_max = ["vdu_profile", "max_number_of_instances"]
vdu_vendor = ["vdu_props", "vendor_section"]
vdu_cisco_esc = ["vdu_vendor", "cisco_esc"]
vdu_day0_list = ["vdu_cisco_esc", "config_data"]
vdu_day0 = ["vdu_day0_list", "{}"]
vdu_day0_file = ["vdu_day0", "file"]
vdu_day0_variables = ["vdu_day0", "variables"]
vdu_day0_variable = ["vdu_day0_variables", "{}"]
vdu_sw_image_data = ["vdu_props", "sw_image_data"]
# ** Do not modify **
vdu_day0_custom_id = ["vdu_day0", "custom_id"]
# ** End **
# ** Internal Connection Points **
int_cpd = ["node_templates", "{}"]
int_cpd_type = ["int_cpd", "{}"]
int_cpd_props = ["int_cpd", "properties"]
int_cpd_req = ["int_cpd", "requirements"]
int_cpd_virt_binding = ["int_cpd_req", "virtual_binding"]
int_cpd_virt_link = ["int_cpd_req", "virtual_link"]
int_cpd_layer_prot = ["int_cpd_props", "layer_protocols"]
int_cpd_allowed_pair = ["int_cpd_props", "allowed_address_pairs"]
int_cpd_ip_allowed_addr = ["int_cpd_allowed_pair", "ip_address"]
int_cpd_ip_addr = ["int_cpd_props", "ip_address"]
int_cpd_vl_profile = ["int_cpd_props", "vl_profile"]
int_cpd_virt_prot_data = ["int_cpd_vl_profile", "virtual_link_protocol_data"]
int_cpd_l3_data = ["int_cpd_virt_prot_data", "l3_protocol_data"]
int_cpd_cidr = ["int_cpd_l3_data", "cidr"]
int_cpd_dhcp = ["int_cpd_l3_data", "dhcp_enabled"]
virt_storage = ["node_templates", "{}"]
virt_props = ["virt_storage", "properties"]
virt_artifacts = ["virt_storage", "artifacts"]
virt_vsb = ["virt_props", "virtual_block_storage_data"]
virt_size = ["virt_vsb", "size_of_storage"]
virt_storage_req = ["virt_vsb", "vdu_storage_requirements"]
virt_type = ["virt_storage_req", "type"]
sw_image_data = ["virt_props", "sw_image_data"]
sw_name = ["sw_image_data", "name"]
sw_version = ["sw_image_data", "version"]
sw_checksum = ["sw_image_data", "checksum"]
sw_container_fmt = ["sw_image_data", "container_format"]
sw_disk_fmt = ["sw_image_data", "disk_format"]
sw_min_disk = ["sw_image_data", "min_disk"]
sw_size = ["sw_image_data", "size"]
sw_image = ["virt_artifacts", "sw_image"]
sw_image_file = ["sw_image", "file"]
# ** Deployment Flavor **
df_id = ["vnf_prop", "flavour_id"]
df_desc = ["vnf_prop", "flavour_description"]
def_inst_level = ["policies", "instantiation_levels"]
def_inst_key = "default"
def_inst_prop = ["def_inst_level", "properties"]
def_inst_p_levels = ["def_inst_prop", "levels"]
def_inst_def = ["def_inst_p_levels", "default"]
def_inst_desc = ["def_inst_def", "description"] # Matches def_inst_key
inst_level = ["policies", "{}"]
inst_level_targets = ["inst_level", "targets"]
inst_level_props = ["inst_level", "properties"]
inst_level_levels = ["inst_level_props", "levels"]
inst_level_def = ["inst_level_levels", "default"]
inst_level_num_instances = ["inst_level_def", "number_of_instances"]
# ** Scaling Aspects **
scaling_aspects = ["policies", "{}"]
scaling_props = ["scaling_aspects", "properties"]
scaling_aspect_item_list = ["scaling_props", "aspects"]
scaling_aspect_item = ["scaling_aspect_item_list", "{}"]
scaling_aspect_name = ["scaling_aspect_item", "name"]
scaling_aspect_desc = ["scaling_aspect_item", "description"]
scaling_aspect_level = ["scaling_aspect_item", "max_scale_level"]
scaling_aspect_deltas = ["scaling_aspect_item", "step_deltas"]
# For use in the deltas definition block
deltas_aspects = ["policies", "{}"]
deltas_props = ["deltas_aspects", "properties"]
deltas_list = ["deltas_props", "deltas"]
deltas_elem = ["deltas_list", "{}"]
deltas_num_instances = ["deltas_elem", "number_of_instances"]
deltas_targets = ["deltas_aspects", "targets"]
deltas_target = ["deltas_targets", "{}"]
# ** Security Groups **
security_group = ["policies", "{}"]
security_group_name = ["security_group", "group_name"]
security_group_targets = ["security_group", "targets"]
# ** Affinity/Anti Groups **
affinity_group = ["policies", "{}"]
affinity_group_props = ["affinity_group", "properties"]
affinity_group_scope = ["affinity_group_props", "scope"]
affinity_group_targets = ["affinity_group", "targets"]
placement_group = ["groups", "{}"]
placement_members = ["placement_group", "members"]
[tosca.input_values]
VIM_FLAVOR = "VIM_FLAVOR_INPUT"