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": "vnf_2",
306 "capability": "forwarder3",
310 "node_name": "forwarder_brasDP_dcPort",
315 "node_name": "forwarder_brasDP_internetPort",
328 "dest_port_range": [80, 1024],
329 "source_port_range": [80, 1024],
330 "ip_protocol": "tcp",
331 "dest_ip_range": ["192.168.1.2", "192.168.1.100"],
332 "source_ip_range": ["192.168.1.2", "192.168.1.100"],
342 "node_name": "forwarder_brasDP_internetPort",
347 "node_name": "forwarder_brasDP_dcPort",
352 "node_name": "vnf_2",
353 "capability": "forwarder2",
362 "vnffg_id": "vnffg_id1",
367 "number_of_endpoints": 7,
368 "dependent_virtual_link": ["vldId1"],
369 "connection_point": ["CP01", "CP02"],
370 "constituent_vnfs": ["vnf_id1", "vnf_id2"],
371 "constituent_pnfs": ["pnf1", "pnf2"],
373 "members": ["fpd_1", "fpd_2"],
382 "name": "server_group1",
383 "affinity_antiaffinity": "anti-affinity",
386 "members": ["vnf1", "vnf2"],
393 "key_name": "virtualLink1",
399 "key_name": "forwarder_brasDP_userPort",
403 "key_name": "forwarder_brasDP_internetPort",
407 "key_name": "forwarder_brasDP_dcPort",
421 "policy_file": "Policies/ns1-policy.xml",
423 "targets": ['pfu_vm'],
431 "flavour_id": "flavour1",
436 "flavour_id": "flavour1",
437 "instances_minimum_number": 1,
438 "instances_maximum_number": 4,
439 "local_affinity_antiaffinity_rule": [
441 "affinity_antiaffinity": "affinity",
455 "bitrate_requirements": {
460 "maximum_latency": "1 ms",
461 "maximum_jitter": "10 ms",
462 "maximum_packet_loss_ratio": 0.5
466 "instantiation_levels": [
473 "vnf_instantiation_level": "small",
474 "instances_number": 1
477 "scale_level_id": "scaleLevel1",
480 "default_instantiation_level": "instLevel1",
488 "vnf_instantiation_level": "small",
489 "instances_number": 1
494 "supported_operations": ["Scale", "Heal"],
495 "affinity_antiaffinity_groups": [
497 "group_id": "group1Id",
499 "affinity_antiaffinity": "affinity",
523 'vdu_id': 'vdu_omm.001',
524 'image_file': 'opencos_sss_omm_img_release_20150723-1-disk1',
536 'support_scaling': False,
539 'storage_policy': '',
542 'availability_zone': '',
548 'inject_data_list': [
555 'local_affinity_antiaffinity_rule': {
558 'template_id': 'omm.001',
559 'manual_scale_select_vim': False
561 'description': 'singleommvm'
587 'support_scaling': False,
590 'storage_policy': '',
593 'availability_zone': '',
599 'inject_data_list': [
606 'local_affinity_antiaffinity_rule': {
610 'manual_scale_select_vim': False
612 'description': 'ompvm'
638 'support_scaling': False,
641 'storage_policy': '',
644 'availability_zone': '',
650 'inject_data_list': [
657 'local_affinity_antiaffinity_rule': {
661 'manual_scale_select_vim': False
663 'description': 'ompvm'
689 'support_scaling': False,
692 'storage_policy': '',
695 'availability_zone': '',
701 'inject_data_list': [
708 'local_affinity_antiaffinity_rule': {
712 'manual_scale_select_vim': False
714 'description': 'ompvm'
740 'support_scaling': False,
743 'storage_policy': '',
746 'availability_zone': '',
752 'inject_data_list': [
759 'local_affinity_antiaffinity_rule': {
763 'manual_scale_select_vim': False
765 'description': 'ppvm'
791 'support_scaling': False,
794 'storage_policy': '',
797 'availability_zone': '',
803 'inject_data_list': [
810 'local_affinity_antiaffinity_rule': {
814 'manual_scale_select_vim': False
816 'description': 'ppvm'
842 'support_scaling': False,
845 'storage_policy': '',
848 'availability_zone': '',
854 'inject_data_list': [
861 'local_affinity_antiaffinity_rule': {
865 'manual_scale_select_vim': False
867 'description': 'ppvm'
878 'policy_id': 'policy_scale_sss-vnf-template',
880 'policy_file': '*-vnfd.zip/*-vnf-policy.xml'
889 'name': 'opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
891 'disk_format': 'VMDK',
892 'file_url': './zte-cn-sss-main-image/OMM/opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
893 'container_type': 'vm',
895 'hypervisor_type': 'kvm'
897 'image_file_id': 'opencos_sss_omm_img_release_20150723-1-disk1'
904 'disk_format': 'VMDK',
905 'file_url': './zte-cn-sss-main-image/NE/sss.vmdk',
906 'container_type': 'vm',
908 'hypervisor_type': 'kvm'
910 'image_file_id': 'sss'
920 "mac_address": "00:d9:00:82:11:e1",
921 "ip_address": "10.43.25.2",
922 "ip_range_start": "192.168.1.20",
923 "ip_range_end": "192.168.1.29",
924 "sfc_encapsulation": ""
933 'version': 'v4.14.10',
934 'vmnumber_overquota_alarm': False,
937 'vnfd_version': 'V00000001',
939 'name': 'sss-vnf-template'
945 "key_name": "virtualLink1",
951 "key_name": "forwarder1",
955 "key_name": "forwarder2",
977 'vdu_id': 'vdu_omm.001',
978 'image_file': 'opencos_sss_omm_img_release_20150723-1-disk1',
990 'support_scaling': False,
993 'storage_policy': '',
996 'availability_zone': '',
1002 'inject_data_list': [
1009 'local_affinity_antiaffinity_rule': {
1012 'template_id': 'omm.001',
1013 'manual_scale_select_vim': False
1015 'description': 'singleommvm'
1018 'volumn_storages': [
1029 'image_file': 'sss',
1041 'support_scaling': False,
1044 'storage_policy': '',
1047 'availability_zone': '',
1053 'inject_data_list': [
1060 'local_affinity_antiaffinity_rule': {
1064 'manual_scale_select_vim': False
1066 'description': 'ompvm'
1069 'volumn_storages': [
1080 'image_file': 'sss',
1092 'support_scaling': False,
1095 'storage_policy': '',
1098 'availability_zone': '',
1104 'inject_data_list': [
1111 'local_affinity_antiaffinity_rule': {
1115 'manual_scale_select_vim': False
1117 'description': 'ompvm'
1120 'volumn_storages': [
1131 'image_file': 'sss',
1143 'support_scaling': False,
1146 'storage_policy': '',
1149 'availability_zone': '',
1155 'inject_data_list': [
1162 'local_affinity_antiaffinity_rule': {
1166 'manual_scale_select_vim': False
1168 'description': 'ompvm'
1171 'volumn_storages': [
1182 'image_file': 'sss',
1194 'support_scaling': False,
1197 'storage_policy': '',
1200 'availability_zone': '',
1206 'inject_data_list': [
1213 'local_affinity_antiaffinity_rule': {
1216 'template_id': '10',
1217 'manual_scale_select_vim': False
1219 'description': 'ppvm'
1222 'volumn_storages': [
1233 'image_file': 'sss',
1245 'support_scaling': False,
1248 'storage_policy': '',
1251 'availability_zone': '',
1257 'inject_data_list': [
1264 'local_affinity_antiaffinity_rule': {
1267 'template_id': '11',
1268 'manual_scale_select_vim': False
1270 'description': 'ppvm'
1273 'volumn_storages': [
1284 'image_file': 'sss',
1296 'support_scaling': False,
1299 'storage_policy': '',
1302 'availability_zone': '',
1308 'inject_data_list': [
1315 'local_affinity_antiaffinity_rule': {
1318 'template_id': '12',
1319 'manual_scale_select_vim': False
1321 'description': 'ppvm'
1324 'volumn_storages': [
1332 'policy_id': 'policy_scale_sss-vnf-template',
1334 'policy_file': '*-vnfd.zip/*-vnf-policy.xml'
1343 'name': 'opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
1345 'disk_format': 'VMDK',
1346 'file_url': './zte-cn-sss-main-image/OMM/opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
1347 'container_type': 'vm',
1349 'hypervisor_type': 'kvm'
1351 'image_file_id': 'opencos_sss_omm_img_release_20150723-1-disk1'
1358 'disk_format': 'VMDK',
1359 'file_url': './zte-cn-sss-main-image/NE/sss.vmdk',
1360 'container_type': 'vm',
1362 'hypervisor_type': 'kvm'
1364 'image_file_id': 'sss'
1374 "mac_address": "00:d9:00:82:11:e2",
1375 "ip_address": "10.43.25.3",
1376 "ip_range_start": "192.168.1.20",
1377 "ip_range_end": "192.168.1.29",
1378 "sfc_encapsulation": ""
1386 'domain_type': 'CN',
1387 'version': 'v4.14.10',
1388 'vmnumber_overquota_alarm': False,
1391 'vnfd_version': 'V00000001',
1392 'id': 'sss-vnf-template',
1398 "key_name": "virtualLink1",
1404 "key_name": "forwarder2",
1408 "key_name": "forwarder3",