1 # Copyright (C) 2019 ZTE. All Rights Reserved.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
22 'version': 'v4.14.10',
23 'vmnumber_overquota_alarm': False,
26 'vnfd_version': 'V00000001',
27 'id': 'sss-vnf-template',
28 'name': 'sss-vnf-template'
33 "description": "vdu description",
35 "name": "vduinstname",
38 "support_scaling": True,
41 "tenant": "tenantname",
42 "availability_zone": "zone1",
45 "local_affinity_antiaffinity_rule": [
47 "affinity_antiaffinity": "anti-affinity",
51 "affinity_antiaffinity": "affinity",
57 "file_name": "abc.xml",
58 "file_data": "<a>xxx</a><b>ssss</b>"
61 "storage_policy": "HIGH",
63 "manual_scale_select_vim": False,
65 "enabledelay": 600000,
68 "is_predefined": False,
69 "allow_scale_updown": False,
70 "inject_network_address": True,
71 "inner_hugepage_num": 100,
72 "inner_hugepage_size": "2048",
82 "virtual_storage_id": "volume_storage1",
83 "location": "/usr/data",
94 "cpu_frequency": "1GHz",
95 "flavor_extra_specs": {
96 "hw: cpu_policy": "shared",
97 "hw: cpu_max_threads": 50,
98 "hw: cpu_sockets": 10,
99 "hw: cpu_max_sockets": 20,
100 "hw: cpu_max_cores": 8,
101 "hw: cpu_threads": 30,
102 "hw: numa_mem.0": 12288,
103 "hw: hugepage_num": 100,
104 "hw: high_performance": "dvs_high",
106 "hw: numa_cpus.0": "2,4,8",
107 "hw: numa_pci": True,
109 "pci_passthrough: alias": "ColetoCreek: 1",
110 "hw: mem_page_size": "large",
111 "hw: mem_paging_mechanism": "EPT"
123 "default_instances": 1
128 "implementation": "<implementationScript>",
130 "param1Name": "value1",
131 "paramNName": "valueN"
135 "implementation": "<implementationScript>",
137 "param1Name": "value1",
138 "paramNName": "valueN"
142 "implementation": "<implementationScript>",
144 "param1Name": "value1",
145 "paramNName": "valueN"
149 "implementation": "<implementationScript>",
151 "param1Name": "value1",
152 "paramNName": "valueN"
156 "implementation": "<implementationScript>",
158 "param1Name": "value1",
159 "paramNName": "valueN"
170 "volume_storage_id": "volume_storage1",
173 "size": "\"100 GB\"",
175 "volume_name": "volumeStorage1",
176 "custom_volume_type": "type1",
178 "delete_on_termination_vm": True,
181 "tenant": "tenantname_1",
182 "availability_zone": "zone1"
184 "is_predefined": False,
197 'policy_id': 'policy_scale_sss-vnf-template',
199 'policy_file': '*-vnfd.zip/*-vnf-policy.xml'
208 'name': 'opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
210 'disk_format': 'VMDK',
211 'file_url': './zte-cn-sss-main-image/OMM/opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
212 'container_type': 'vm',
214 'hypervisor_type': 'kvm'
216 'image_file_id': 'opencos_sss_omm_img_release_20150723-1-disk1'
223 'disk_format': 'VMDK',
224 'file_url': './zte-cn-sss-main-image/NE/sss.vmdk',
225 'container_type': 'vm',
227 'hypervisor_type': 'kvm'
229 'image_file_id': 'sss'
237 "name": "umac_241_control",
238 "network_name": "umac_control",
239 "is_predefined": False,
241 "netmask": "255.255.255.0",
243 "network_type": "vlan",
244 "physical_network": "phynet01",
245 "segmentation_id": "30",
246 "vlan_transparent": False,
248 "cidr": "192.168.199.0/24",
250 "gateway_ip": "192.168.199.1",
251 "dhcp_enabled": False,
256 "start_ip": "192.168.199.2",
257 "end_ip": "192.168.199.254",
260 "destination": "10.43.26.0/24",
261 "nexthop": "10.41.23.1"
266 "tenant": "tenantname_1"
268 "cloud_type": "IaaS",
269 "vl_profile": {"networkName": "test"},
270 "connectivity_type": {}
272 "route_id": "router01",
273 "route_external": False
282 "mac_address": "00:d9:00:82:11:e1",
283 "ip_address:": "192.168.1.21",
284 "ip_range_start": "192.168.1.20",
285 "ip_range_end": "192.168.1.29",
286 "floating_ip_address": {
287 "external_network": "extnet01",
288 "ip_address": "10.43.53.23"
290 "service_ip_address": "192.168.1.23",
293 "vnic_type": "normal",
294 "allowed_address_pairs": [
296 "ip": "192.168.1.13",
297 "mac": "00:f3:43:20:a2:a3"
302 "macbond": "00:d9:00:82:11:d1",
303 "sfc_encapsulation": "",
305 "gateway_ip": "192.168.199.1",
306 "netmask": "255.255.255.0",
307 "interface_name": "fe-01-02",
309 "function": "control",
314 "fixed_ip_address": "test"