6 'local_storage_id': 'local_storage_id_001',
24 'vdu_id': 'vdu_omm.001',
25 'image_file': 'opencos_sss_omm_img_release_20150723-1-disk1',
37 'support_scaling': False,
43 'availability_zone': '',
56 'local_affinity_antiaffinity_rule': {
59 'template_id': 'omm.001',
60 'manual_scale_select_vim': False
62 'description': 'singleommvm'
88 'support_scaling': False,
94 'availability_zone': '',
100 'inject_data_list': [
107 'local_affinity_antiaffinity_rule': {
111 'manual_scale_select_vim': False
113 'description': 'ompvm'
139 'support_scaling': False,
142 'storage_policy': '',
145 'availability_zone': '',
151 'inject_data_list': [
158 'local_affinity_antiaffinity_rule': {
162 'manual_scale_select_vim': False
164 'description': 'ompvm'
190 'support_scaling': False,
193 'storage_policy': '',
196 'availability_zone': '',
202 'inject_data_list': [
209 'local_affinity_antiaffinity_rule': {
213 'manual_scale_select_vim': False
215 'description': 'ompvm'
241 'support_scaling': False,
244 'storage_policy': '',
247 'availability_zone': '',
253 'inject_data_list': [
260 'local_affinity_antiaffinity_rule': {
264 'manual_scale_select_vim': False
266 'description': 'ppvm'
292 'support_scaling': False,
295 'storage_policy': '',
298 'availability_zone': '',
304 'inject_data_list': [
311 'local_affinity_antiaffinity_rule': {
315 'manual_scale_select_vim': False
317 'description': 'ppvm'
343 'support_scaling': False,
346 'storage_policy': '',
349 'availability_zone': '',
355 'inject_data_list': [
362 'local_affinity_antiaffinity_rule': {
366 'manual_scale_select_vim': False
368 'description': 'ppvm'
371 'local_storages': ['local_storage_id_001'],
372 'vdu_id': 'vdu_grant_vnf_add_resources',
373 'properties': {'name': ''},
375 'virtual_cpu': {'num_virtual_cpu': 5},
376 'virtual_memory': {'virtual_mem_size': '10'}
380 'local_storages': ['local_storage_id_001'],
381 'vdu_id': 'vdu_grant_vnf_remove_resources',
382 'properties': {'name': ''},
384 'virtual_cpu': {'num_virtual_cpu': 5},
385 'virtual_memory': {'virtual_mem_size': '10'}
389 'local_storages': ['local_storage_id_001'],
390 'vdu_id': 'vdu_name_test_grant_vnfs',
391 'properties': {'name': ''},
393 'virtual_cpu': {'num_virtual_cpu': 5},
394 'virtual_memory': {'virtual_mem_size': '10'}
406 'policy_id': 'policy_scale_sss-vnf-template',
408 'policy_file': '*-vnfd.zip/*-vnf-policy.xml'
417 'name': 'opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
419 'disk_format': 'VMDK',
420 'file_url': './zte-cn-sss-main-image/OMM/opencos_sss_omm_img_release_20150723-1-disk1.vmdk',
421 'container_type': 'vm',
423 'hypervisor_type': 'kvm'
425 'image_file_id': 'opencos_sss_omm_img_release_20150723-1-disk1'
432 'disk_format': 'VMDK',
433 'file_url': './zte-cn-sss-main-image/NE/sss.vmdk',
434 'container_type': 'vm',
436 'hypervisor_type': 'kvm'
438 'image_file_id': 'sss'
452 'version': 'v4.14.10',
453 'vmnumber_overquota_alarm': False,
456 'vnfd_version': 'V00000001',
457 'id': 'sss-vnf-template',
458 'name': 'sss-vnf-template'
463 'key_name': 'vl_id_001_key_name',
464 'cpd_id': 'cpd_id_001'
475 "externalDataNetworkName": {
499 "plugin_info": "vbrasplugin_1.0",
501 "is_shared": "False",
502 "request_reclassification": "False",
503 "vnfd_version": "1.0.0",
507 "externalDataNetworkName": {
508 "get_input": "externalDataNetworkName"
516 "vl_id": "ext_mnet_network",
517 "key_name": "vl_id_001_key_name"
533 "vl_id": "ext_mnet_network",
536 "network_type": "vlan",
537 "name": "externalMNetworkName",
538 "dhcp_enabled": False,
546 "end_ip": "190.168.100.100",
547 "gateway_ip": "190.168.100.1",
548 "start_ip": "190.168.100.2",
549 "cidr": "190.168.100.0/24",
551 "network_name": "sub_mnet",
554 "networkName": "networkName"
566 "invariant_id": "vbras_ns",
567 "description": "vbras_ns",
576 "vserver-id": "example-vserver-id-val-70924",
577 "vserver-name": "example-vserver-name-val-61674",
578 "vserver-name2": "example-vserver-name2-val-19234",
579 "prov-status": "example-prov-status-val-94916",
580 "vserver-selflink": "example-vserver-selflink-val-26562",
582 "is-closed-loop-disabled": True,
583 "resource-version": "1505465356263",
587 "volume-id": "example-volume-id-val-71854",
588 "volume-selflink": "example-volume-selflink-val-22433"
595 "interface-name": "example-interface-name-val-24351",
596 "interface-role": "example-interface-role-val-43242",
597 "v6-wan-link-ip": "example-v6-wan-link-ip-val-4196",
598 "selflink": "example-selflink-val-61295",
599 "interface-id": "example-interface-id-val-95879",
600 "macaddr": "example-macaddr-val-37302",
601 "network-name": "example-network-name-val-44254",
602 "management-option": "example-management-option-val-49009",
603 "interface-description": "example-interface-description-val-99923",
604 "is-port-mirrored": True,
606 "prov-status": "example-prov-status-val-4698",
607 "is-ip-unnumbered": True,
608 "allowed-address-pairs": "example-allowed-address-pairs-val-5762",
612 "vlan-interface": "example-vlan-interface-val-58193",
613 "vlan-id-inner": 54452151,
614 "vlan-id-outer": 70239293,
615 "speed-value": "example-speed-value-val-18677",
616 "speed-units": "example-speed-units-val-46185",
617 "vlan-description": "example-vlan-description-val-81675",
618 "backdoor-connection": "example-backdoor-connection-val-44608",
619 "vpn-key": "example-vpn-key-val-7946",
620 "orchestration-status": "example-orchestration-status-val-33611",
622 "prov-status": "example-prov-status-val-8288",
623 "is-ip-unnumbered": True,
624 "l3-interface-ipv4-address-list": [
626 "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-25520",
627 "l3-interface-ipv4-prefix-length": 69931928,
628 "vlan-id-inner": 86628520,
629 "vlan-id-outer": 62729236,
631 "neutron-network-id": "example-neutron-network-id-val-64021",
632 "neutron-subnet-id": "example-neutron-subnet-id-val-95049"
635 "l3-interface-ipv6-address-list": [
637 "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-64310",
638 "l3-interface-ipv6-prefix-length": 57919834,
639 "vlan-id-inner": 79150122,
640 "vlan-id-outer": 59789973,
642 "neutron-network-id": "example-neutron-network-id-val-31713",
643 "neutron-subnet-id": "example-neutron-subnet-id-val-89568"
652 "pci-id": "example-pci-id-val-16747",
653 "vf-vlan-filter": "example-vf-vlan-filter-val-4613",
654 "vf-mac-filter": "example-vf-mac-filter-val-68168",
655 "vf-vlan-strip": True,
656 "vf-vlan-anti-spoof-check": True,
657 "vf-mac-anti-spoof-check": True,
658 "vf-mirrors": "example-vf-mirrors-val-6270",
659 "vf-broadcast-allow": True,
660 "vf-unknown-multicast-allow": True,
661 "vf-unknown-unicast-allow": True,
662 "vf-insert-stag": True,
663 "vf-link-status": "example-vf-link-status-val-49266",
664 "neutron-network-id": "example-neutron-network-id-val-29493"
671 "interface-name": "example-interface-name-val-98222",
672 "interface-role": "example-interface-role-val-78360",
673 "v6-wan-link-ip": "example-v6-wan-link-ip-val-76921",
674 "selflink": "example-selflink-val-27117",
675 "interface-id": "example-interface-id-val-11260",
676 "macaddr": "example-macaddr-val-60378",
677 "network-name": "example-network-name-val-16258",
678 "management-option": "example-management-option-val-35097",
679 "interface-description": "example-interface-description-val-10475",
680 "is-port-mirrored": True,
682 "prov-status": "example-prov-status-val-65203",
683 "is-ip-unnumbered": True,
684 "allowed-address-pairs": "example-allowed-address-pairs-val-65028"
688 "l3-interface-ipv4-address-list": [
690 "l3-interface-ipv4-address": "example-l3-interface-ipv4-address-val-72779",
691 "l3-interface-ipv4-prefix-length": 55956636,
692 "vlan-id-inner": 98174431,
693 "vlan-id-outer": 20372128,
695 "neutron-network-id": "example-neutron-network-id-val-39596",
696 "neutron-subnet-id": "example-neutron-subnet-id-val-51109"
699 "l3-interface-ipv6-address-list": [
701 "l3-interface-ipv6-address": "example-l3-interface-ipv6-address-val-95203",
702 "l3-interface-ipv6-prefix-length": 57454747,
703 "vlan-id-inner": 53421060,
704 "vlan-id-outer": 16006050,
706 "neutron-network-id": "example-neutron-network-id-val-54216",
707 "neutron-subnet-id": "example-neutron-subnet-id-val-1841"
717 "vnfm-id": "example-vnfm-id-val-97336",
718 "vim-id": "zte_test",
719 "certificate-url": "example-certificate-url-val-18046",
720 "resource-version": "example-resource-version-val-42094",
721 "esr-system-info-list": {
724 "esr-system-info-id": "example-esr-system-info-id-val-7713",
725 "system-name": "example-system-name-val-19801",
726 "type": "ztevnfmdriver",
727 "vendor": "example-vendor-val-50079",
728 "version": "example-version-val-93146",
729 "service-url": "example-service-url-val-68090",
730 "user-name": "example-user-name-val-14470",
731 "password": "example-password-val-84190",
732 "system-type": "example-system-type-val-42773",
733 "protocal": "example-protocal-val-85736",
734 "ssl-cacert": "example-ssl-cacert-val-33989",
735 "ssl-insecure": True,
736 "ip-address": "example-ip-address-val-99038",
737 "port": "example-port-val-27323",
738 "cloud-domain": "example-cloud-domain-val-55163",
739 "default-tenant": "example-default-tenant-val-99383",
740 "resource-version": "example-resource-version-val-15424"
747 "cloud-owner": "example-cloud-owner-val-97336",
748 "cloud-region-id": "example-cloud-region-id-val-35532",
749 "cloud-type": "example-cloud-type-val-18046",
750 "owner-defined-type": "example-owner-defined-type-val-9413",
751 "cloud-region-version": "example-cloud-region-version-val-85706",
752 "identity-url": "example-identity-url-val-71252",
753 "cloud-zone": "example-cloud-zone-val-27112",
754 "complex-name": "example-complex-name-val-85283",
755 "sriov-automation": True,
756 "cloud-extra-info": "example-cloud-extra-info-val-90854",
757 "cloud-epa-caps": "example-cloud-epa-caps-val-2409",
758 "resource-version": "example-resource-version-val-42094",
759 "esr-system-info-list": {
762 "esr-system-info-id": "example-esr-system-info-id-val-7713",
763 "system-name": "example-system-name-val-19801",
764 "type": "example-type-val-24477",
765 "vendor": "example-vendor-val-50079",
766 "version": "example-version-val-93146",
767 "service-url": "example-service-url-val-68090",
768 "user-name": "example-user-name-val-14470",
769 "password": "example-password-val-84190",
770 "system-type": "example-system-type-val-42773",
771 "protocal": "example-protocal-val-85736",
772 "ssl-cacert": "example-ssl-cacert-val-33989",
773 "ssl-insecure": True,
774 "ip-address": "example-ip-address-val-99038",
775 "port": "example-port-val-27323",
776 "cloud-domain": "example-cloud-domain-val-55163",
777 "default-tenant": "admin",
778 "resource-version": "example-resource-version-val-15424"
785 "csarId": "zte_vbras",
788 "vnfPackageId": "zte_vbras",
793 "vnfdModel": json.dumps(vnfd_model_dict),
799 vnf_place_request = {
801 "transactionId": "1234",
802 "statusMessage": "xx",
803 "requestStatus": "completed",
805 "placementSolutions": [
808 "resourceModuleName": "vG",
809 "serviceResourceId": "1234",
811 "identifierType": "serviceInstanceId",
815 "cloudOwner": "CloudOwner1"
821 {"key": "locationId",
824 {"key": "locationType",
825 "value": "openstack-cloud"
828 "value": "CloudOwner1_DLLSTX1A"
830 {"key": "physicalLocationId",
831 "value": "DLLSTX1223"
833 {"key": "oof_directives",
838 "type": "tosca.nodes.nfv.Vdu.Compute",
841 "type": "flavor_directives",
844 "attribute_name": "flavorName",
845 "attribute_value": "HPA.flavor.1"
848 "attribute_name": "flavorId",
849 "attribute_value": "12345"
862 "attribute_name": " ",
863 "attribute_value": " "
876 "licenseSolutions": [
878 "resourceModuleName": "string",
879 "serviceResourceId": "string",
880 "entitlementPoolUUID": [
883 "licenseKeyGroupUUID": [
886 "entitlementPoolInvariantUUID": [
889 "licenseKeyGroupInvariantUUID": [
897 subscription_response_data = {
898 "id": "subscription_id_1",
900 "notificationTypes": "notificationTypes",
901 "operationTypes": "operationTypes",
902 "operationStates": "operationStates",
903 "vnfInstanceSubscriptionFilter": "vnfInstanceSubscriptionFilter"
905 "callbackUri": "callback_uri",