# Pastebin HaQ7IFf6 root@ada62726a4eb:/tmp/tacker# tacker vnf-create --vnfd-name tosca-vnfd-hello-world 2016-09-06 22:56:13.828 7418 INFO tacker.wsgi [-] (7418) accepted ('172.17.0.2', 41976) 2016-09-06 22:56:13.828 7418 DEBUG keystonemiddleware.auth_token [-] Authenticating user token process_request /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:346 2016-09-06 22:56:13.829 7418 DEBUG keystoneauth.session [-] REQ: curl -g -i --cacert "/opt/stack/data/ca-bundle.pem" -X GET http://192.168.10.81:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}70ff906aecfd2e98daefc3812c179e3d9a41b90d" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}122c03bc778657765a3fcbfcca4e6379005e7195" _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:337 2016-09-06 22:56:13.830 7418 INFO requests.packages.urllib3.connectionpool [-] Resetting dropped connection: 192.168.10.81 2016-09-06 22:56:13.966 7418 DEBUG requests.packages.urllib3.connectionpool [-] "GET /v3/auth/tokens HTTP/1.1" 200 8253 _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:401 2016-09-06 22:56:13.967 7418 DEBUG keystoneauth.session [-] RESP: [200] Date: Tue, 06 Sep 2016 22:55:58 GMT Server: Apache/2.4.18 (Ubuntu) X-Subject-Token: {SHA1}70ff906aecfd2e98daefc3812c179e3d9a41b90d Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-8f20ef1f-0a9b-4eba-a613-8145096f458e Content-Length: 8253 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json RESP BODY: {"token": {"methods": ["password", "token"], "roles": [{"id": "3cbd7e4b8ecb4fffa5d059cf6dd745c9", "name": "admin"}, {"id": "9fe2ff9ee4384b1894a90878d3e92bab", "name": "_member_"}], "expires_at": "2016-09-06T23:55:58.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "f4a7980242e84b62a220f041f3d69faa", "name": "admin"}, "catalog": "", "user": {"domain": {"id": "default", "name": "Default"}, "id": "2f32056eaf37428ca4412b75f9bf5edb", "name": "admin"}, "audit_ids": ["wYxrz9pNQQuvv1sQjQkETw"], "issued_at": "2016-09-06T22:55:58.481894Z"}} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:366 2016-09-06 22:56:13.968 7418 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id 2f32056eaf37428ca4412b75f9bf5edb, project_id f4a7980242e84b62a220f041f3d69faa, roles admin,_member_ process_request /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:595 2016-09-06 22:56:13.968 7418 DEBUG routes.middleware [-] Matched GET /vnfds.json __call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:110 2016-09-06 22:56:13.968 7418 DEBUG routes.middleware [-] Route path: '/vnfds.:(format)', defaults: {'action': u'index', 'controller': >} __call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:112 2016-09-06 22:56:13.969 7418 DEBUG routes.middleware [-] Match dict: {'action': u'index', 'controller': >, 'format': u'json'} __call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:113 2016-09-06 22:56:13.972 7418 INFO tacker.wsgi [req-afcf7a38-0de2-4f5a-8991-39c782553c6a None] 172.17.0.2 - - [06/Sep/2016 22:56:13] "GET /v1.0/vnfds.json?fields=id&name=tosca-vnfd-hello-world HTTP/1.1" 200 257 0.144164 2016-09-06 22:56:13.974 7418 DEBUG keystonemiddleware.auth_token [-] Authenticating user token process_request /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:346 2016-09-06 22:56:13.975 7418 DEBUG keystonemiddleware.auth_token [-] Received request from user: user_id 2f32056eaf37428ca4412b75f9bf5edb, project_id f4a7980242e84b62a220f041f3d69faa, roles admin,_member_ process_request /usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py:595 2016-09-06 22:56:13.976 7418 DEBUG routes.middleware [-] Matched POST /vnfs.json __call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:110 2016-09-06 22:56:13.976 7418 DEBUG routes.middleware [-] Route path: '/vnfs.:(format)', defaults: {'action': u'create', 'controller': >} __call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:112 2016-09-06 22:56:13.976 7418 DEBUG routes.middleware [-] Match dict: {'action': u'create', 'controller': >, 'format': u'json'} __call__ /usr/local/lib/python2.7/dist-packages/routes/middleware.py:113 2016-09-06 22:56:13.976 7418 DEBUG tacker.api.v1.base [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] Request body: {u'vnf': {u'attributes': {}, u'vnfd_id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0'}} prepare_request_body /usr/local/lib/python2.7/dist-packages/tacker/api/v1/base.py:509 2016-09-06 22:56:13.977 7418 DEBUG tacker.vm.vim_client [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] VIM id not provided. Attempting to find default VIM id get_vim /usr/local/lib/python2.7/dist-packages/tacker/vm/vim_client.py:47 2016-09-06 22:56:13.980 7418 DEBUG tacker.vm.vim_client [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] VIM info found for vim id get_vim /usr/local/lib/python2.7/dist-packages/tacker/vm/vim_client.py:62 2016-09-06 22:56:13.981 7418 DEBUG tacker.vm.vim_client [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] VIM id is d7b0d457-db65-41ad-a065-007e74a7e7d5 _build_vim_auth /usr/local/lib/python2.7/dist-packages/tacker/vm/vim_client.py:77 2016-09-06 22:56:13.981 7418 DEBUG tacker.vm.vim_client [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] Attempting to open key file for vim id d7b0d457-db65-41ad-a065-007e74a7e7d5 _find_vim_key /usr/local/lib/python2.7/dist-packages/tacker/vm/vim_client.py:101 2016-09-06 22:56:13.982 7418 DEBUG tacker.db.vm.vm_db [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] device {'description': '', 'tenant_id': u'f4a7980242e84b62a220f041f3d69faa', 'vim_id': u'd7b0d457-db65-41ad-a065-007e74a7e7d5', 'placement_attr': {'vim_name': u'VIM0'}, u'attributes': {}, 'template_id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0', 'name': ''} _create_device_pre /usr/local/lib/python2.7/dist-packages/tacker/db/vm/vm_db.py:342 2016-09-06 22:56:14.129 7418 DEBUG tacker.db.vm.vm_db [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] device_db _make_device_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vm/vm_db.py:193 2016-09-06 22:56:14.130 7418 DEBUG tacker.db.vm.vm_db [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] device_db attributes [] _make_device_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vm/vm_db.py:194 2016-09-06 22:56:14.133 7418 DEBUG tacker.vm.plugin [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] device_dict {'status': 'PENDING_CREATE', 'device_template': {'service_types': [{'service_type': u'vnfd', 'id': u'1c3b9ca9-69c1-40ac-81c4-ed2be9a89718'}], 'description': u'Hello World', 'tenant_id': u'f4a7980242e84b62a220f041f3d69faa', 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u'tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n\ndescription: Hello World\n\nmetadata:\n template_name: tosca-vnfd-hello-world\n\ntopology_template:\n node_templates:\n VDU1:\n type: tosca.nodes.nfv.VDU.Tacker\n capabilities:\n nfv_compute:\n properties:\n num_cpus: 1\n mem_size: 512 MB\n disk_size: 1 GB\n properties:\n image: cirros-0.3.4-x86_64-uec\n availability_zone: nova\n mgmt_driver: noop\n config: |\n param0: key1\n param1: key2\n\n CP1:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n management: true\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL1\n - virtualBinding:\n node: VDU1\n\n CP2:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL2\n - virtualBinding:\n node: VDU1\n\n CP3:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL3\n - virtualBinding:\n node: VDU1\n\n VL1:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: tacker_mgmt\n vendor: Tacker\n\n VL2:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: tacker_private\n vendor: Tacker\n\n VL3:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: public\n vendor: Tacker\n'}, 'id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0', 'name': u'tosca-vnfd-hello-world'}, 'description': u'Hello World', 'tenant_id': u'f4a7980242e84b62a220f041f3d69faa', 'vim_id': u'd7b0d457-db65-41ad-a065-007e74a7e7d5', 'id': 'd67dbd6b-7abe-44ac-ac34-2e279b9eee58', 'instance_id': None, 'mgmt_url': None, 'placement_attr': {'vim_name': u'VIM0'}, 'attributes': {}, 'template_id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0', 'name': ''} _create_device /usr/local/lib/python2.7/dist-packages/tacker/vm/plugin.py:254 2016-09-06 22:56:14.135 7418 DEBUG tacker.common.log [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] tacker.vm.infra_drivers.heat.heat.DeviceHeat method create called with arguments () {'device': {'status': 'PENDING_CREATE', 'instance_id': None, 'description': u'Hello World', 'tenant_id': u'f4a7980242e84b62a220f041f3d69faa', 'vim_id': u'd7b0d457-db65-41ad-a065-007e74a7e7d5', 'template_id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0', 'device_template': {'service_types': [{'service_type': u'vnfd', 'id': u'1c3b9ca9-69c1-40ac-81c4-ed2be9a89718'}], 'description': u'Hello World', 'tenant_id': u'f4a7980242e84b62a220f041f3d69faa', 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u'tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n\ndescription: Hello World\n\nmetadata:\n template_name: tosca-vnfd-hello-world\n\ntopology_template:\n node_templates:\n VDU1:\n type: tosca.nodes.nfv.VDU.Tacker\n capabilities:\n nfv_compute:\n properties:\n num_cpus: 1\n mem_size: 512 MB\n disk_size: 1 GB\n properties:\n image: cirros-0.3.4-x86_64-uec\n availability_zone: nova\n mgmt_driver: noop\n config: |\n param0: key1\n param1: key2\n\n CP1:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n management: true\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL1\n - virtualBinding:\n node: VDU1\n\n CP2:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL2\n - virtualBinding:\n node: VDU1\n\n CP3:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL3\n - virtualBinding:\n node: VDU1\n\n VL1:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: tacker_mgmt\n vendor: Tacker\n\n VL2:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: tacker_private\n vendor: Tacker\n\n VL3:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: public\n vendor: Tacker\n'}, 'id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0', 'name': u'tosca-vnfd-hello-world'}, 'mgmt_url': None, 'placement_attr': {'vim_name': u'VIM0'}, 'attributes': {}, 'id': 'd67dbd6b-7abe-44ac-ac34-2e279b9eee58', 'name': ''}, 'auth_attr': {u'username': u'admin', 'tenant_id': u'', 'password': 'openstack', 'auth_url': u'http://192.168.10.81:5000/v2.0', 'tenant_name': u'admin'}, 'context': , 'plugin': } wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:32 2016-09-06 22:56:14.138 7418 DEBUG tacker.vm.infra_drivers.heat.heat [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] device {'status': 'PENDING_CREATE', 'device_template': {'service_types': [{'service_type': u'vnfd', 'id': u'1c3b9ca9-69c1-40ac-81c4-ed2be9a89718'}], 'description': u'Hello World', 'tenant_id': u'f4a7980242e84b62a220f041f3d69faa', 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u'tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n\ndescription: Hello World\n\nmetadata:\n template_name: tosca-vnfd-hello-world\n\ntopology_template:\n node_templates:\n VDU1:\n type: tosca.nodes.nfv.VDU.Tacker\n capabilities:\n nfv_compute:\n properties:\n num_cpus: 1\n mem_size: 512 MB\n disk_size: 1 GB\n properties:\n image: cirros-0.3.4-x86_64-uec\n availability_zone: nova\n mgmt_driver: noop\n config: |\n param0: key1\n param1: key2\n\n CP1:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n management: true\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL1\n - virtualBinding:\n node: VDU1\n\n CP2:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL2\n - virtualBinding:\n node: VDU1\n\n CP3:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL3\n - virtualBinding:\n node: VDU1\n\n VL1:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: tacker_mgmt\n vendor: Tacker\n\n VL2:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: tacker_private\n vendor: Tacker\n\n VL3:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: public\n vendor: Tacker\n'}, 'id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0', 'name': u'tosca-vnfd-hello-world'}, 'description': u'Hello World', 'tenant_id': u'f4a7980242e84b62a220f041f3d69faa', 'vim_id': u'd7b0d457-db65-41ad-a065-007e74a7e7d5', 'id': 'd67dbd6b-7abe-44ac-ac34-2e279b9eee58', 'instance_id': None, 'mgmt_url': None, 'placement_attr': {'vim_name': u'VIM0'}, 'attributes': {}, 'template_id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0', 'name': ''} create /usr/local/lib/python2.7/dist-packages/tacker/vm/infra_drivers/heat/heat.py:257 2016-09-06 22:56:14.139 7418 DEBUG keystoneclient.auth.identity.v2 [-] Making authentication request to http://192.168.10.81:5000/v2.0/tokens get_auth_ref /usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py:87 2016-09-06 22:56:14.139 7418 INFO requests.packages.urllib3.connectionpool [-] Starting new HTTP connection (1): 192.168.10.81 2016-09-06 22:56:14.382 7418 DEBUG requests.packages.urllib3.connectionpool [-] "POST /v2.0/tokens HTTP/1.1" 200 4626 _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:401 2016-09-06 22:56:14.383 7418 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://192.168.10.97:8004/v1/f4a7980242e84b62a220f041f3d69faa/resource_types/OS%3A%3ANeutron%3A%3APort -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}b020da99b6d05be992425b674de9e6889b2c25d1" _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:206 2016-09-06 22:56:14.384 7418 INFO requests.packages.urllib3.connectionpool [-] Starting new HTTP connection (1): 192.168.10.97 2016-09-06 22:56:14.557 7418 DEBUG requests.packages.urllib3.connectionpool [-] "GET /v1/f4a7980242e84b62a220f041f3d69faa/resource_types/OS%3A%3ANeutron%3A%3APort?with_description=False HTTP/1.1" 200 6322 _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:401 2016-09-06 22:56:14.558 7418 DEBUG keystoneclient.session [-] RESP: [200] Content-Type: application/json; charset=UTF-8 Content-Length: 6322 Date: Tue, 06 Sep 2016 22:55:59 GMT Connection: keep-alive RESP BODY: {"support_status": {"status": "SUPPORTED", "message": null, "version": null, "previous_status": null}, "attributes": {"status": {"type": "string", "description": "The status of the port."}, "subnets": {"type": "list", "description": "A list of all subnet attributes for the port."}, "name": {"type": "string", "description": "Friendly name of the port."}, "allowed_address_pairs": {"type": "list", "description": "Additional MAC/IP address pairs allowed to pass through a port."}, "show": {"type": "map", "description": "Detailed information about resource."}, "network_id": {"type": "string", "description": "Unique identifier for the network owning the port."}, "tenant_id": {"type": "string", "description": "Tenant owning the port."}, "admin_state_up": {"type": "string", "description": "The administrative state of this port."}, "device_owner": {"type": "string", "description": "Name of the network owning the port."}, "qos_policy_id": {"type": "string", "description": "The QoS policy ID attached to this port."}, "mac_address": {"type": "string", "description": "MAC address of the port."}, "port_security_enabled": {"type": "boolean", "description": "Port security enabled of the port."}, "fixed_ips": {"type": "list", "description": "Fixed IP addresses."}, "security_groups": {"type": "list", "description": "A list of security groups for the port."}, "device_id": {"type": "string", "description": "Unique identifier for the device."}}, "properties": {"replacement_policy": {"description": "Policy on how to respond to a stack-update for this resource. REPLACE_ALWAYS will replace the port regardless of any property changes. AUTO will update the existing port for any changed update-allowed property.", "default": "AUTO", "required": false, "update_allowed": true, "type": "string", "immutable": false, "constraints": [{"allowed_values": ["REPLACE_ALWAYS", "AUTO"]}]}, "name": {"update_allowed": true, "required": false, "type": "string", "description": "A symbolic name for this port.", "immutable": false}, "allowed_address_pairs": {"description": "Additional MAC/IP address pairs allowed to pass through the port.", "required": false, "update_allowed": false, "type": "list", "immutable": false, "schema": {"*": {"update_allowed": false, "required": false, "type": "map", "immutable": false, "schema": {"ip_address": {"description": "IP address to allow through this port.", "required": true, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "net_cidr"}]}, "mac_address": {"description": "MAC address to allow through this port.", "required": false, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "mac_addr"}]}}}}}, "admin_state_up": {"description": "The administrative state of this port.", "default": true, "required": false, "update_allowed": true, "type": "boolean", "immutable": false}, "network_id": {"update_allowed": false, "required": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "neutron.network"}]}, "binding:vnic_type": {"description": "The vnic type to be bound on the neutron port. To support SR-IOV PCI passthrough networking, you can request that the neutron port to be realized as normal (virtual nic), direct (pci passthrough), or macvtap (virtual interface with a tap-like software interface). Note that this only works for Neutron deployments that support the bindings extension.", "required": false, "update_allowed": true, "type": "string", "immutable": false, "constraints": [{"allowed_values": ["normal", "direct", "macvtap"]}]}, "device_owner": {"update_allowed": true, "required": false, "type": "string", "description": "Name of the network owning the port. The value is typically network:floatingip or network:router_interface or network:dhcp.", "immutable": false}, "value_specs": {"description": "Extra parameters to include in the request.", "default": {}, "required": false, "update_allowed": true, "type": "map", "immutable": false}, "mac_address": {"description": "MAC address to give to this port.", "required": false, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "mac_addr"}]}, "port_security_enabled": {"update_allowed": true, "required": false, "type": "boolean", "description": "Flag to enable/disable port security on the port. When disable this feature(set it to False), there will be no packages filtering, like security-group and address-pairs.", "immutable": false}, "qos_policy": {"description": "The name or ID of QoS policy to attach to this port.", "required": false, "update_allowed": true, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "neutron.qos_policy"}]}, "device_id": {"update_allowed": true, "required": false, "type": "string", "description": "Device ID of this port.", "immutable": false}, "fixed_ips": {"description": "Desired IPs for this port.", "required": false, "update_allowed": true, "type": "list", "immutable": false, "schema": {"*": {"update_allowed": false, "required": false, "type": "map", "immutable": false, "schema": {"subnet_id": {"update_allowed": false, "required": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "neutron.subnet"}]}, "subnet": {"description": "Subnet in which to allocate the IP address for this port.", "required": false, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "neutron.subnet"}]}, "ip_address": {"description": "IP address desired in the subnet for this port.", "required": false, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "ip_addr"}]}}}}}, "security_groups": {"update_allowed": true, "required": false, "type": "list", "description": "Security group IDs to associate with this port.", "immutable": false}, "network": {"description": "Network this port belongs to. If you plan to use current port to assign Floating IP, you should specify fixed_ips with subnet. Note if this changes to a different network update, the port will be replaced.", "required": true, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "neutron.network"}]}}, "resource_type": "OS::Neutron::Port"} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:231 2016-09-06 22:56:14.558 7418 DEBUG tacker.vm.infra_drivers.heat.heat [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] vnfd_yaml tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 description: Hello World metadata: template_name: tosca-vnfd-hello-world topology_template: node_templates: VDU1: type: tosca.nodes.nfv.VDU.Tacker capabilities: nfv_compute: properties: num_cpus: 1 mem_size: 512 MB disk_size: 1 GB properties: image: cirros-0.3.4-x86_64-uec availability_zone: nova mgmt_driver: noop config: | param0: key1 param1: key2 CP1: type: tosca.nodes.nfv.CP.Tacker properties: management: true anti_spoofing_protection: false requirements: - virtualLink: node: VL1 - virtualBinding: node: VDU1 CP2: type: tosca.nodes.nfv.CP.Tacker properties: anti_spoofing_protection: false requirements: - virtualLink: node: VL2 - virtualBinding: node: VDU1 CP3: type: tosca.nodes.nfv.CP.Tacker properties: anti_spoofing_protection: false requirements: - virtualLink: node: VL3 - virtualBinding: node: VDU1 VL1: type: tosca.nodes.nfv.VL properties: network_name: tacker_mgmt vendor: Tacker VL2: type: tosca.nodes.nfv.VL properties: network_name: tacker_private vendor: Tacker VL3: type: tosca.nodes.nfv.VL properties: network_name: public vendor: Tacker create /usr/local/lib/python2.7/dist-packages/tacker/vm/infra_drivers/heat/heat.py:282 2016-09-06 22:56:14.567 7418 DEBUG tacker.vm.infra_drivers.heat.heat [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] vnfd_dict OrderedDict([('tosca_definitions_version', 'tosca_simple_profile_for_nfv_1_0_0'), ('description', 'Hello World'), ('metadata', OrderedDict([('template_name', 'tosca-vnfd-hello-world')])), ('topology_template', OrderedDict([('node_templates', OrderedDict([('VDU1', OrderedDict([('type', 'tosca.nodes.nfv.VDU.Tacker'), ('capabilities', OrderedDict([('nfv_compute', OrderedDict([('properties', OrderedDict([('num_cpus', 1), ('mem_size', '512 MB'), ('disk_size', '1 GB')]))]))])), ('properties', OrderedDict([('image', 'cirros-0.3.4-x86_64-uec'), ('availability_zone', 'nova'), ('mgmt_driver', 'noop'), ('config', 'param0: key1\nparam1: key2\n')]))])), ('CP1', OrderedDict([('type', 'tosca.nodes.nfv.CP.Tacker'), ('properties', OrderedDict([('management', True), ('anti_spoofing_protection', False)])), ('requirements', [OrderedDict([('virtualLink', OrderedDict([('node', 'VL1')]))]), OrderedDict([('virtualBinding', OrderedDict([('node', 'VDU1')]))])])])), ('CP2', OrderedDict([('type', 'tosca.nodes.nfv.CP.Tacker'), ('properties', OrderedDict([('anti_spoofing_protection', False)])), ('requirements', [OrderedDict([('virtualLink', OrderedDict([('node', 'VL2')]))]), OrderedDict([('virtualBinding', OrderedDict([('node', 'VDU1')]))])])])), ('CP3', OrderedDict([('type', 'tosca.nodes.nfv.CP.Tacker'), ('properties', OrderedDict([('anti_spoofing_protection', False)])), ('requirements', [OrderedDict([('virtualLink', OrderedDict([('node', 'VL3')]))]), OrderedDict([('virtualBinding', OrderedDict([('node', 'VDU1')]))])])])), ('VL1', OrderedDict([('type', 'tosca.nodes.nfv.VL'), ('properties', OrderedDict([('network_name', 'tacker_mgmt'), ('vendor', 'Tacker')]))])), ('VL2', OrderedDict([('type', 'tosca.nodes.nfv.VL'), ('properties', OrderedDict([('network_name', 'tacker_private'), ('vendor', 'Tacker')]))])), ('VL3', OrderedDict([('type', 'tosca.nodes.nfv.VL'), ('properties', OrderedDict([('network_name', 'public'), ('vendor', 'Tacker')]))]))]))]))]) create /usr/local/lib/python2.7/dist-packages/tacker/vm/infra_drivers/heat/heat.py:285 2016-09-06 22:56:14.568 7418 DEBUG tacker.common.log [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] collections.OrderedDict method updateimports called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:32 2016-09-06 22:56:14.568 7418 DEBUG tacker.vm.tosca.utils [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] /usr/local/lib/python2.7/dist-packages/tacker/vm/tosca/lib/ updateimports /usr/local/lib/python2.7/dist-packages/tacker/vm/tosca/utils.py:93 2016-09-06 22:56:14.568 7418 INFO tosca.model [-] nfv 2016-09-06 22:56:14.568 7418 INFO tosca.model [-] nfv.py 2016-09-06 22:56:14.667 7418 INFO tosca.model [-] The pre-parsed input successfully passed validation. 2016-09-06 22:56:14.668 7418 DEBUG tacker.common.log [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] toscaparser.tosca_template.ToscaTemplate method get_vdu_monitoring called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:32 2016-09-06 22:56:14.668 7418 DEBUG tacker.common.log [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] toscaparser.tosca_template.ToscaTemplate method get_mgmt_ports called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:32 2016-09-06 22:56:14.668 7418 DEBUG tacker.vm.tosca.utils [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] mgmt_ports: {'mgmt_ip-VDU1': 'CP1'} get_mgmt_ports /usr/local/lib/python2.7/dist-packages/tacker/vm/tosca/utils.py:129 2016-09-06 22:56:14.669 7418 DEBUG tacker.common.log [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] toscaparser.tosca_template.ToscaTemplate method post_process_template called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:32 2016-09-06 22:56:14.670 7418 INFO heat-translator [-] Initialized parmaters for translation. 2016-09-06 22:56:14.670 7418 INFO heat-translator [-] Translating TOSCA input type to HOT input type. 2016-09-06 22:56:14.670 7418 DEBUG heat-translator [-] Mapping between TOSCA nodetemplate and HOT resource. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/translate_node_templates.py:146 2016-09-06 22:56:14.670 7418 DEBUG heat-translator [-] Translating the node templates. _translate_nodetemplates /usr/local/lib/python2.7/dist-packages/translator/hot/translate_node_templates.py:169 2016-09-06 22:56:14.671 7418 DEBUG heat-translator [-] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2016-09-06 22:56:14.671 7418 DEBUG heat-translator [-] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2016-09-06 22:56:14.671 7418 DEBUG heat-translator [-] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2016-09-06 22:56:14.671 7418 DEBUG heat-translator [-] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2016-09-06 22:56:14.671 7418 DEBUG heat-translator [-] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2016-09-06 22:56:14.671 7418 DEBUG heat-translator [-] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2016-09-06 22:56:14.672 7418 DEBUG heat-translator [-] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2016-09-06 22:56:14.673 7418 DEBUG heat-translator [-] Translating TOSCA outputs to HOT outputs. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/translate_outputs.py:26 2016-09-06 22:56:14.673 7418 DEBUG heat-translator [-] Converting translated output to yaml format. output_to_yaml /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_template.py:48 2016-09-06 22:56:14.675 7418 DEBUG tacker.common.log [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] __builtin__.str method post_process_heat_template called with arguments ({'mgmt_ip-VDU1': 'CP1'}, {'flavor': {'VDU1': {'vcpus': 1, 'disk': 1, 'ram': 512}}, 'image': {}}, {}) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:32 2016-09-06 22:56:14.682 7418 DEBUG tacker.vm.tosca.utils [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] Added output for mgmt_ip-VDU1 post_process_heat_template /usr/local/lib/python2.7/dist-packages/tacker/vm/tosca/utils.py:195 2016-09-06 22:56:14.682 7418 DEBUG tacker.common.log [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] collections.OrderedDict method add_resources_tpl called with arguments ({'flavor': {'VDU1': {'vcpus': 1, 'disk': 1, 'ram': 512}}, 'image': {}},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:32 2016-09-06 22:56:14.686 7418 DEBUG tacker.vm.infra_drivers.heat.heat [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] service_context: [] create /usr/local/lib/python2.7/dist-packages/tacker/vm/infra_drivers/heat/heat.py:407 2016-09-06 22:56:14.686 7418 DEBUG tacker.vm.infra_drivers.heat.heat [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] fields: {'stack_name': 'tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58', 'template': "heat_template_version: 2013-05-23\ndescription: 'Hello World\n\n '\nparameters: {}\nresources:\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64-uec\n networks:\n - port:\n get_resource: CP1\n - port:\n get_resource: CP2\n - port:\n get_resource: CP3\n user_data_format: SOFTWARE_CONFIG\n CP1:\n type: OS::Neutron::Port\n properties:\n network: tacker_mgmt\n port_security_enabled: false\n CP2:\n type: OS::Neutron::Port\n properties:\n network: tacker_private\n port_security_enabled: false\n CP3:\n type: OS::Neutron::Port\n properties:\n network: public\n port_security_enabled: false\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n"} create /usr/local/lib/python2.7/dist-packages/tacker/vm/infra_drivers/heat/heat.py:409 2016-09-06 22:56:14.687 7418 DEBUG tacker.vm.infra_drivers.heat.heat [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] template: heat_template_version: 2013-05-23 description: 'Hello World ' parameters: {} resources: VDU1: type: OS::Nova::Server properties: availability_zone: nova config_drive: false flavor: {get_resource: VDU1_flavor} image: cirros-0.3.4-x86_64-uec networks: - port: get_resource: CP1 - port: get_resource: CP2 - port: get_resource: CP3 user_data_format: SOFTWARE_CONFIG CP1: type: OS::Neutron::Port properties: network: tacker_mgmt port_security_enabled: false CP2: type: OS::Neutron::Port properties: network: tacker_private port_security_enabled: false CP3: type: OS::Neutron::Port properties: network: public port_security_enabled: false VDU1_flavor: properties: {disk: 1, ram: 512, vcpus: 1} type: OS::Nova::Flavor outputs: mgmt_ip-VDU1: value: get_attr: [CP1, fixed_ips, 0, ip_address] create /usr/local/lib/python2.7/dist-packages/tacker/vm/infra_drivers/heat/heat.py:410 2016-09-06 22:56:14.687 7418 DEBUG keystoneclient.session [-] REQ: curl -g -i -X POST http://192.168.10.97:8004/v1/f4a7980242e84b62a220f041f3d69faa/stacks -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}b020da99b6d05be992425b674de9e6889b2c25d1" -d '{"stack_name": "tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58", "disable_rollback": true, "template": "heat_template_version: 2013-05-23\ndescription: 'Hello World\n\n '\nparameters: {}\nresources:\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64-uec\n networks:\n - port:\n get_resource: CP1\n - port:\n get_resource: CP2\n - port:\n get_resource: CP3\n user_data_format: SOFTWARE_CONFIG\n CP1:\n type: OS::Neutron::Port\n properties:\n network: tacker_mgmt\n port_security_enabled: false\n CP2:\n type: OS::Neutron::Port\n properties:\n network: tacker_private\n port_security_enabled: false\n CP3:\n type: OS::Neutron::Port\n properties:\n network: public\n port_security_enabled: false\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", "timeout_mins": 10}' _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:206 2016-09-06 22:56:16.831 7418 DEBUG requests.packages.urllib3.connectionpool [-] "POST /v1/f4a7980242e84b62a220f041f3d69faa/stacks HTTP/1.1" 201 284 _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:401 2016-09-06 22:56:16.831 7418 DEBUG keystoneclient.session [-] RESP: [201] Location: http://192.168.10.97:8004/v1/f4a7980242e84b62a220f041f3d69faa/stacks/tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58/216424c8-957c-4652-905b-148de0507707 Content-Type: application/json Content-Length: 284 Date: Tue, 06 Sep 2016 22:56:01 GMT Connection: keep-alive RESP BODY: {"stack": {"id": "216424c8-957c-4652-905b-148de0507707", "links": [{"href": "http://192.168.10.97:8004/v1/f4a7980242e84b62a220f041f3d69faa/stacks/tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58/216424c8-957c-4652-905b-148de0507707", "rel": "self"}]}} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:231 2016-09-06 22:56:16.832 7418 INFO tacker.wsgi [req-9ef2a812-932b-4277-b2dd-c24994f6dc7c None] 172.17.0.2 - - [06/Sep/2016 22:56:16] "POST /v1.0/vnfs.json HTTP/1.1" 201 1680 2.858105 2016-09-06 22:56:16.833 7418 DEBUG keystoneclient.auth.identity.v2 [-] Making authentication request to http://192.168.10.81:5000/v2.0/tokens get_auth_ref /usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py:87 Created a new vnf: 2016-09-06 22:56:16.835 7418 INFO requests.packages.urllib3.connectionpool [-] Starting new HTTP connection (1): 192.168.10.81 +----------------+--------------------------------------+ | Field | Value | +----------------+--------------------------------------+ | description | Hello World | | id | d67dbd6b-7abe-44ac-ac34-2e279b9eee58 | | instance_id | 216424c8-957c-4652-905b-148de0507707 | | mgmt_url | | | name | | | placement_attr | {"vim_name": "VIM0"} | | status | PENDING_CREATE | | tenant_id | f4a7980242e84b62a220f041f3d69faa | | vim_id | d7b0d457-db65-41ad-a065-007e74a7e7d5 | | vnfd_id | 2fcc2eae-57ed-4352-94a3-9d889f428df0 | +----------------+--------------------------------------+ root@ada62726a4eb:/tmp/tacker# 2016-09-06 22:56:17.231 7418 DEBUG requests.packages.urllib3.connectionpool [-] "POST /v2.0/tokens HTTP/1.1" 200 4626 _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:401 2016-09-06 22:56:17.233 7418 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://192.168.10.97:8004/v1/f4a7980242e84b62a220f041f3d69faa/stacks/216424c8-957c-4652-905b-148de0507707 -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}e15e5736b678fabcf68b4d49296cad3502ad30f2" _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:206 2016-09-06 22:56:17.234 7418 INFO requests.packages.urllib3.connectionpool [-] Starting new HTTP connection (1): 192.168.10.97 2016-09-06 22:56:17.479 7418 DEBUG requests.packages.urllib3.connectionpool [-] "GET /v1/f4a7980242e84b62a220f041f3d69faa/stacks/216424c8-957c-4652-905b-148de0507707 HTTP/1.1" 302 267 _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:401 2016-09-06 22:56:17.480 7418 DEBUG keystoneclient.session [-] RESP: [302] Location: http://192.168.10.97:8004/v1/f4a7980242e84b62a220f041f3d69faa/stacks/tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58/216424c8-957c-4652-905b-148de0507707 Content-Length: 267 Content-Type: text/plain; charset=UTF-8 Date: Tue, 06 Sep 2016 22:56:02 GMT Connection: keep-alive RESP BODY: 302 Found The resource was found at http://192.168.10.97:8004/v1/f4a7980242e84b62a220f041f3d69faa/stacks/tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58/216424c8-957c-4652-905b-148de0507707; you should be redirected automatically. _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:231 2016-09-06 22:56:17.741 7418 DEBUG requests.packages.urllib3.connectionpool [-] "GET /v1/f4a7980242e84b62a220f041f3d69faa/stacks/tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58/216424c8-957c-4652-905b-148de0507707 HTTP/1.1" 200 1109 _make_request /usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:401 2016-09-06 22:56:17.742 7418 DEBUG keystoneclient.session [-] RESP: [200] Content-Type: application/json; charset=UTF-8 Content-Length: 1109 Date: Tue, 06 Sep 2016 22:56:02 GMT Connection: keep-alive RESP BODY: {"stack": {"disable_rollback": true, "description": "Hello World\n", "parent": null, "tags": null, "stack_name": "tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58", "stack_user_project_id": null, "stack_status_reason": "Authorization failed.", "creation_time": "2016-09-06T22:56:01", "links": [{"href": "http://192.168.10.97:8004/v1/f4a7980242e84b62a220f041f3d69faa/stacks/tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58/216424c8-957c-4652-905b-148de0507707", "rel": "self"}], "capabilities": [], "notification_topics": [], "updated_time": null, "timeout_mins": 10, "stack_status": "CREATE_FAILED", "stack_owner": null, "parameters": {"OS::project_id": "f4a7980242e84b62a220f041f3d69faa", "OS::stack_id": "216424c8-957c-4652-905b-148de0507707", "OS::stack_name": "tacker.vm.infra_drivers.heat.heat_DeviceHeat-d67dbd6b-7abe-44ac-ac34-2e279b9eee58"}, "id": "216424c8-957c-4652-905b-148de0507707", "outputs": [{"output_value": null, "output_key": "mgmt_ip-VDU1", "description": "No description given"}], "template_description": "Hello World\n"}} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:231 2016-09-06 22:56:17.743 7418 DEBUG tacker.vm.infra_drivers.heat.heat [-] stack status: CREATE_FAILED create_wait /usr/local/lib/python2.7/dist-packages/tacker/vm/infra_drivers/heat/heat.py:437 2016-09-06 22:56:17.743 7418 ERROR tacker.vm.plugin [-] VNF Create failed for vnf_id d67dbd6b-7abe-44ac-ac34-2e279b9eee58 2016-09-06 22:56:17.743 7418 DEBUG tacker.db.vm.vm_db [-] device_dict {'status': 'ERROR', 'device_template': {'service_types': [{'service_type': u'vnfd', 'id': u'1c3b9ca9-69c1-40ac-81c4-ed2be9a89718'}], 'description': u'Hello World', 'tenant_id': u'f4a7980242e84b62a220f041f3d69faa', 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u'tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n\ndescription: Hello World\n\nmetadata:\n template_name: tosca-vnfd-hello-world\n\ntopology_template:\n node_templates:\n VDU1:\n type: tosca.nodes.nfv.VDU.Tacker\n capabilities:\n nfv_compute:\n properties:\n num_cpus: 1\n mem_size: 512 MB\n disk_size: 1 GB\n properties:\n image: cirros-0.3.4-x86_64-uec\n availability_zone: nova\n mgmt_driver: noop\n config: |\n param0: key1\n param1: key2\n\n CP1:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n management: true\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL1\n - virtualBinding:\n node: VDU1\n\n CP2:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL2\n - virtualBinding:\n node: VDU1\n\n CP3:\n type: tosca.nodes.nfv.CP.Tacker\n properties:\n anti_spoofing_protection: false\n requirements:\n - virtualLink:\n node: VL3\n - virtualBinding:\n node: VDU1\n\n VL1:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: tacker_mgmt\n vendor: Tacker\n\n VL2:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: tacker_private\n vendor: Tacker\n\n VL3:\n type: tosca.nodes.nfv.VL\n properties:\n network_name: public\n vendor: Tacker\n'}, 'id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0', 'name': u'tosca-vnfd-hello-world'}, 'description': u'Hello World', 'tenant_id': u'f4a7980242e84b62a220f041f3d69faa', 'vim_id': u'd7b0d457-db65-41ad-a065-007e74a7e7d5', 'id': 'd67dbd6b-7abe-44ac-ac34-2e279b9eee58', 'instance_id': u'216424c8-957c-4652-905b-148de0507707', 'mgmt_url': None, 'placement_attr': {'vim_name': u'VIM0'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Hello World\n\n '\nparameters: {}\nresources:\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64-uec\n networks:\n - port:\n get_resource: CP1\n - port:\n get_resource: CP2\n - port:\n get_resource: CP3\n user_data_format: SOFTWARE_CONFIG\n CP1:\n type: OS::Neutron::Port\n properties:\n network: tacker_mgmt\n port_security_enabled: false\n CP2:\n type: OS::Neutron::Port\n properties:\n network: tacker_private\n port_security_enabled: false\n CP3:\n type: OS::Neutron::Port\n properties:\n network: public\n port_security_enabled: false\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {}}'}, 'template_id': u'2fcc2eae-57ed-4352-94a3-9d889f428df0', 'name': ''} _create_device_post /usr/local/lib/python2.7/dist-packages/tacker/db/vm/vm_db.py:375