1 # Copyright 2016 ZTE Corporation.
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.
21 "description": "demo nsd",
31 "type": "tosca.nodes.nfv.ext.VNF.FireWall",
38 "vnfd_version": "1.1.0",
44 "request_reclassification": False,
46 "custom_properties": {
56 "key_name": "virtualLink1",
62 "type": "tosca.nodes.nfv.ext.VNF.FireWall",
69 "vnfd_version": "1.1.0",
75 "request_reclassification": False,
77 "custom_properties": {
87 "key_name": "virtualLink1",
103 "request_reclassification": False,
105 "management_address": "10.34.45.67"
125 "key_name": "virtualLink1",
137 "name": "umac_241_control",
138 "network_id": "fgdhsj434hfjdfd",
139 "network_name": "umac_control",
142 "network_type": "vlan",
143 "physical_network": "phynet01",
144 "segmentation_id": "30",
145 "vlan_transparent": False,
147 "cidr": "192.168.199.0/24",
149 "gateway_ip": "192.168.199.1",
150 "dhcp_enabled": False,
151 "dns_nameservers": ["192.168.0.4", "192.168.0.10"],
152 "start_ip": "192.168.199.2",
153 "end_ip": "192.168.199.254",
156 "destination": "10.43.26.0/24",
157 "nexthop": "10.41.23.1",
162 "tenant": "tenantname",
164 "vlan_transparent": False,
174 "mac_address": "00:d9:00:82:11:e1",
175 "ip_address": "192.168.1.21",
176 "ip_range_start": "192.168.1.20",
177 "ip_range_end": "192.168.1.29",
178 "floating_ip_address": {
179 "external_network": "extnet01",
180 "ip_address": "10.43.53.23",
182 "service_ip_address": "192.168.1.23",
185 "vnic_type": "normal",
186 "allowed_address_pairs": [
188 "ip": "192.168.1.13",
189 "mac": "00:f3:43:20:a2:a3"
193 "macbond": "00:d9:00:82:11:d1",
194 "sfc_encapsulation": "",
202 "cp_id": "forwarder_brasDP_dcPort",
205 "mac_address": "00:d9:00:82:14:e1",
206 "ip_address": "192.168.1.24",
207 "ip_range_start": "192.168.1.20",
208 "ip_range_end": "192.168.1.29",
209 "floating_ip_address": {
210 "external_network": "extnet01",
211 "ip_address": "10.43.53.23",
213 "service_ip_address": "192.168.1.23",
216 "vnic_type": "normal",
217 "allowed_address_pairs": [
219 "ip": "192.168.1.13",
220 "mac": "00:f3:43:20:a2:a3"
224 "macbond": "00:d9:00:82:11:d1",
225 "sfc_encapsulation": "",
232 "cp_id": "forwarder_brasDP_internetPort",
235 "mac_address": "00:d9:00:82:15:e1",
236 "ip_address": "192.168.1.25",
237 "ip_range_start": "192.168.1.20",
238 "ip_range_end": "192.168.1.29",
239 "floating_ip_address": {
240 "external_network": "extnet01",
241 "ip_address": "10.43.53.23",
243 "service_ip_address": "192.168.1.23",
246 "vnic_type": "normal",
247 "allowed_address_pairs": [
249 "ip": "192.168.1.13",
250 "mac": "00:f3:43:20:a2:a3"
254 "macbond": "00:d9:00:82:11:d1",
255 "sfc_encapsulation": "",
272 "dest_port_range": [80, 1024],
273 "source_port_range": [80, 1024],
274 "ip_protocol": "tcp",
275 "dest_ip_range": ["192.168.1.2", "192.168.1.100"],
276 "source_ip_range": ["192.168.1.2", "192.168.1.100"],
285 "node_name": "cpd_1",
290 "node_name": "forwarder_brasDP_dcPort",
295 "node_name": "vnf_1",
296 "capability": "forwarder1",
300 "node_name": "vnf_2",
301 "capability": "forwarder2",
305 "node_name": "forwarder_brasDP_dcPort",
310 "node_name": "forwarder_brasDP_internetPort",
323 "dest_port_range": [80, 1024],
324 "source_port_range": [80, 1024],
325 "ip_protocol": "tcp",
326 "dest_ip_range": ["192.168.1.2", "192.168.1.100"],
327 "source_ip_range": ["192.168.1.2", "192.168.1.100"],
337 "node_name": "forwarder_brasDP_internetPort",
342 "node_name": "forwarder_brasDP_dcPort",
347 "node_name": "vnf_2",
348 "capability": "forwarder2",
357 "vnffg_id": "vnffg_id1",
362 "number_of_endpoints": 7,
363 "dependent_virtual_link": ["vldId1"],
364 "connection_point": ["CP01", "CP02"],
365 "constituent_vnfs": ["vnf_id1", "vnf_id2"],
366 "constituent_pnfs": ["pnf1", "pnf2"],
368 "members": ["fpd_1", "fpd_2"],
377 "name": "server_group1",
378 "affinity_antiaffinity": "anti-affinity",
381 "members": ["vnf1", "vnf2"],
388 "key_name": "virtualLink1",
394 "key_name": "forwarder_brasDP_userPort",
398 "key_name": "forwarder_brasDP_internetPort",
402 "key_name": "forwarder_brasDP_dcPort",
416 "policy_file": "Policies/ns1-policy.xml",
418 "targets": ['pfu_vm'],
426 "flavour_id": "flavour1",
431 "flavour_id": "flavour1",
432 "instances_minimum_number": 1,
433 "instances_maximum_number": 4,
434 "local_affinity_antiaffinity_rule": [
436 "affinity_antiaffinity": "affinity",
450 "bitrate_requirements": {
455 "maximum_latency": "1 ms",
456 "maximum_jitter": "10 ms",
457 "maximum_packet_loss_ratio": 0.5
461 "instantiation_levels": [
468 "vnf_instantiation_level": "small",
469 "instances_number": 1
472 "scale_level_id": "scaleLevel1",
475 "default_instantiation_level": "instLevel1",
483 "vnf_instantiation_level": "small",
484 "instances_number": 1
489 "supported_operations": ["Scale", "Heal"],
490 "affinity_antiaffinity_groups": [
492 "group_id": "group1Id",
494 "affinity_antiaffinity": "affinity",
518 'vdu_id': 'vdu_omm.001',
519 'image_file': 'opencos_sss_omm_img_release_20150723-1-disk1',
531 'support_scaling': False,
534 'storage_policy': '',
537 'availability_zone': '',
543 'inject_data_list': [
550 'local_affinity_antiaffinity_rule': {
553 'template_id': 'omm.001',
554 'manual_scale_select_vim': False
556 'description': 'singleommvm'
582 'support_scaling': False,
585 'storage_policy': '',
588 'availability_zone': '',
594 'inject_data_list': [
601 'local_affinity_antiaffinity_rule': {
605 'manual_scale_select_vim': False
607 'description': 'ompvm'
633 'support_scaling': False,
636 'storage_policy': '',
639 'availability_zone': '',
645 'inject_data_list': [
652 'local_affinity_antiaffinity_rule': {
656 'manual_scale_select_vim': False
658 'description': 'ompvm'
684 'support_scaling': False,
687 'storage_policy': '',
690 'availability_zone': '',
696 'inject_data_list': [
703 'local_affinity_antiaffinity_rule': {
707 'manual_scale_select_vim': False
709 'description': 'ompvm'
735 'support_scaling': False,
738 'storage_policy': '',
741 'availability_zone': '',
747 'inject_data_list': [
754 'local_affinity_antiaffinity_rule': {
758 'manual_scale_select_vim': False
760 'description': 'ppvm'
786 'support_scaling': False,
789 'storage_policy': '',
792 'availability_zone': '',
798 'inject_data_list': [
805 'local_affinity_antiaffinity_rule': {
809 'manual_scale_select_vim': False
811 'description': 'ppvm'
837 'support_scaling': False,
840 'storage_policy': '',
843 'availability_zone': '',
849 'inject_data_list': [
856 'local_affinity_antiaffinity_rule': {
860 'manual_scale_select_vim': False
862 'description': 'ppvm'
873 'policy_id': 'policy_scale_sss-vnf-template',
875 'policy_file': '*-vnfd.zip/*-vnf-policy.xml'
884 'name': 'opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
886 'disk_format': 'VMDK',
887 'file_url': './zte-cn-sss-main-image/OMM/opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
888 'container_type': 'vm',
890 'hypervisor_type': 'kvm'
892 'image_file_id': 'opencos_sss_omm_img_release_20150723-1-disk1'
899 'disk_format': 'VMDK',
900 'file_url': './zte-cn-sss-main-image/NE/sss.vmdk',
901 'container_type': 'vm',
903 'hypervisor_type': 'kvm'
905 'image_file_id': 'sss'
915 "mac_address": "00:d9:00:82:11:e1",
916 "ip_address": "10.43.25.2",
917 "ip_range_start": "192.168.1.20",
918 "ip_range_end": "192.168.1.29",
919 "sfc_encapsulation": ""
928 'version': 'v4.14.10',
929 'vmnumber_overquota_alarm': False,
932 'vnfd_version': 'V00000001',
934 'name': 'sss-vnf-template'
940 "key_name": "virtualLink1",
946 "key_name": "forwarder1",
950 "key_name": "forwarder2",
972 'vdu_id': 'vdu_omm.001',
973 'image_file': 'opencos_sss_omm_img_release_20150723-1-disk1',
985 'support_scaling': False,
988 'storage_policy': '',
991 'availability_zone': '',
997 'inject_data_list': [
1004 'local_affinity_antiaffinity_rule': {
1007 'template_id': 'omm.001',
1008 'manual_scale_select_vim': False
1010 'description': 'singleommvm'
1013 'volumn_storages': [
1024 'image_file': 'sss',
1036 'support_scaling': False,
1039 'storage_policy': '',
1042 'availability_zone': '',
1048 'inject_data_list': [
1055 'local_affinity_antiaffinity_rule': {
1059 'manual_scale_select_vim': False
1061 'description': 'ompvm'
1064 'volumn_storages': [
1075 'image_file': 'sss',
1087 'support_scaling': False,
1090 'storage_policy': '',
1093 'availability_zone': '',
1099 'inject_data_list': [
1106 'local_affinity_antiaffinity_rule': {
1110 'manual_scale_select_vim': False
1112 'description': 'ompvm'
1115 'volumn_storages': [
1126 'image_file': 'sss',
1138 'support_scaling': False,
1141 'storage_policy': '',
1144 'availability_zone': '',
1150 'inject_data_list': [
1157 'local_affinity_antiaffinity_rule': {
1161 'manual_scale_select_vim': False
1163 'description': 'ompvm'
1166 'volumn_storages': [
1177 'image_file': 'sss',
1189 'support_scaling': False,
1192 'storage_policy': '',
1195 'availability_zone': '',
1201 'inject_data_list': [
1208 'local_affinity_antiaffinity_rule': {
1211 'template_id': '10',
1212 'manual_scale_select_vim': False
1214 'description': 'ppvm'
1217 'volumn_storages': [
1228 'image_file': 'sss',
1240 'support_scaling': False,
1243 'storage_policy': '',
1246 'availability_zone': '',
1252 'inject_data_list': [
1259 'local_affinity_antiaffinity_rule': {
1262 'template_id': '11',
1263 'manual_scale_select_vim': False
1265 'description': 'ppvm'
1268 'volumn_storages': [
1279 'image_file': 'sss',
1291 'support_scaling': False,
1294 'storage_policy': '',
1297 'availability_zone': '',
1303 'inject_data_list': [
1310 'local_affinity_antiaffinity_rule': {
1313 'template_id': '12',
1314 'manual_scale_select_vim': False
1316 'description': 'ppvm'
1319 'volumn_storages': [
1327 'policy_id': 'policy_scale_sss-vnf-template',
1329 'policy_file': '*-vnfd.zip/*-vnf-policy.xml'
1338 'name': 'opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
1340 'disk_format': 'VMDK',
1341 'file_url': './zte-cn-sss-main-image/OMM/opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
1342 'container_type': 'vm',
1344 'hypervisor_type': 'kvm'
1346 'image_file_id': 'opencos_sss_omm_img_release_20150723-1-disk1'
1353 'disk_format': 'VMDK',
1354 'file_url': './zte-cn-sss-main-image/NE/sss.vmdk',
1355 'container_type': 'vm',
1357 'hypervisor_type': 'kvm'
1359 'image_file_id': 'sss'
1369 "mac_address": "00:d9:00:82:11:e2",
1370 "ip_address": "10.43.25.3",
1371 "ip_range_start": "192.168.1.20",
1372 "ip_range_end": "192.168.1.29",
1373 "sfc_encapsulation": ""
1381 'domain_type': 'CN',
1382 'version': 'v4.14.10',
1383 'vmnumber_overquota_alarm': False,
1386 'vnfd_version': 'V00000001',
1387 'id': 'sss-vnf-template',
1393 "key_name": "virtualLink1",
1399 "key_name": "forwarder2",
1403 "key_name": "forwarder3",