We are amped to announce the release of: tacker 0.4.0: OpenStack NFV Orchestration This release is part of the newton release series. For more details, please see below. 0.4.0 ^^^^^ Core configuration file is automatically generated. New Features ************ * Added support for key_name in TOSCA template for type tosca.nodes.nfv.VDU.Tacker. * Add VIM health monitor to Tacker * Default HTTP port for tacker is set to 9890. * Tacker no longer includes static example configuration file. Instead, use tools/generate_config_file_sample.sh to generate it. The file is generated with a .sample extension under etc/tacker directory. * Made VNFD/VNF/VIM names mandatory in tacker. Deprecation Notes ***************** * Support for legacy templates for creating a VNFD is deprecated and will be removed in 'Newton' cycle. Please use TOSCA based templates. Bug Fixes ********* * Fixes bug 1603851, VIM registry should not use keystone information from tacker.conf. This fixed the VIM keystone v3 support. Other Notes *********** * Tacker workflow definition samples. Changes in tacker 0.3.0..0.4.0 ------------------------------ 9218951 Support purge of soft-deleted resources from DB tables 138371e Logs events for VIM, VNFD and VNF operations e94357a Adds common services plugin for audit support 30a1d24 Enables soft deletion for VIM, VNFD and VNF 8ca9c9c Adds audit support for VIM, VNFD and VNF 282a099 Device refactor Part1: Rename device db name b7b60ae Make Name parameter positional argument in DOCs and devstack lib d28b4c5 Remove unused LOG to keep code clean d55db75 Implement tacker workflows d51e49b Make is_default optional in server side fe27336 Updated from global requirements 5f6303c doc change default vim registration via CLI 9b4257f Remove trailing whitespaces 6643068 Fix tarball generation error due to missing tacker.conf d24b02d Replace deprecated LOG.warn with LOG.warning 0077dce Updated from global requirements 567f0fc Password Mask for debug logs. 6e70a2a Remove *openstack/common* from flake8 excclude list in tox.ini 5b0492b Don't change existing nullable property d28f99c Update the home-page info with the developer documentation 10ad301 Updated from global requirements ace3f15 VNF scaling: REST API 89cb3c4 VNF scaling: Infra (heat) driver update 9b11c60 Updated from global requirements f68cd3e Remove keystone reconfiguration in devstack script 2a93a2a Remove execute permission on one file 55bc0c3 Remove proxy related db tables 2dcb15b Always use upper-constraints 52073b0 Add domain name info into auth for keystone v3 573479c Transition default VIM to API and DB operation db8fae5 Convert parameters to dict before passing to TOSCA parser 78de7a1 Tacker extension alias and name are swapped a79b308 Adding multi-vdu and http vnf monitoring testcase with tosca-template a5eb10b VNF scaling: TOSCA definitions and sample template f0ef9e2 Use assertEqual() instead of assertDictEqual() 5ee8bdb Change the amin_user_name to admin_user_name 0990ec6 Add TOSCA VNFD template for auto network creation 762ad5a Remove discover from test-requirements e575760 Sample tacker.conf generator 8ea5b7d Recover some file permissions 60942e0 Add VNFD template usage guide 86d848e Adding Tacker functional tests with parameterization using tosca template 40a4a45 Fix typo in devstack configuration file 4a669a1 VNFD Legacy templates deprecated d95bfda Updated from global requirements 81480d8 Refactor heat driver create() handler 66afcda Refactor tacker vnfd samples for consistency 9a6fb09 Heat driver config description updates 0f337cb Correct the reference and actual parameters in assertEqual 4944874 Remove all openstack common stuff 79dfbfe Use oslo i18n 36aadfc Use oslo policy df7c0da Fix dict.keys() PY3 compatible aea58d6 Updated from global requirements 96884e4 Remove unused LOG to keep code clean 792b1e0 Add monitor feature to the VIM 7fac85f Add .idea/ to .gitignore 4d2ac0a Masks hashed password in VIM CRUD responses 3531dbd Correct reraising of exception d7f6c61 Fixes manual installation doc a3b27d4 Error Indentation request 39a0cca Add python-tackerclient to test-requirements.txt 63bd600 Corrected execution step for devstack ab1d830 Fix some syntax errors and one spelling mistake 108ed74 Fix typos for Tacker 7d88448 Changing incorrect url 625b7e7 Fix foreign key and primary key errors in db scripts c3fd989 Updated from global requirements c14392c Remove common cache codes and timeutils 2259e75 Use python package instead of sshpass to execute remote commands. a703060 Use importutils and service from oslo b97c141 Updated from global requirements eb810b2 Add multisite VIM usage guide 496f946 Allow flavor creation for non admin projects 9923e95 Correcting net-mgmt to net_mgmt in sample template files ae9d314 Updated from global requirements a4f5829 Updated from global requirements fe26179 Remove double requirement a8395da Make VNFD/VNF/VIM Name Mandatory in Tacker API's 4a40eff Devref for EPA usage guide 02e42be Add key injection support to tosca.nodes.nfv.VDU.Tacker 4bfad6c Adds keystoneauth middleware into requirements.txt b7eaacf db schema improvements: set mandatory column not null cdf455b Use base context and uuidutils in oslo utils a7c32cd Functional test for a big VNFD template. 406cc78 Functional tests for auto resource creation 8348838 Release notes for deafult port change 13fb7c9 db schema improvements: openstack entity id set to 64 length 320ac44 db schema improvements: description is set to text bccb1eb db schema improvements: blob to json text 7fe9e48 db schema improvements: uuid consistency d083964 Add user_data sample TOSCA VNFD template. 840d391 Refactor respawn workflow for monitor 800507d Use oslo for excutils and versionutils 5583a69 Fix 'Nuetron' typo 5beb531 Correcting import order c74cb38 Delete device when instance_id is null fa7a787 Updated from global requirements e53b654 Log message correction 2808232 Use request_id from oslo middleware aaeda50 Use oslo serialization jsonutils 2a09f8d Remove the fixture codes which are not used. 7912256 nova infra driver failed to load 2a25788 Use oslo db for db access 0d9f84c oslo: remove usage of oslo.log verbose option 75a6f7a Adding vnf testcase with monitoring with new tosca template 2048383 Remove rpc_compat which is not used at all. fcc931a Updated from global requirements cce8dc6 Add reno support to tacker 4e7c713 Remove unused model class from db layer 55411c8 Fix the typo for 'device_template_id' 68b2fcb Change default port into 9890 82772a0 Use oslo log and oslo concurrency 3f6b27b Updated from global requirements 92c891b Fix keystone error handling in openstack driver 46663a4 Updated from global requirements 65f5f8e Fix user_data handling in VDU.Tacker node type 78d28c6 Fix the typo for 'VimNotFoundException' edd3b04 Add support to capture error_reason for the VNF 2ff062f Updated from global requirements dbbf891 Remove premature vnf delete from db 380a201 Re-organize tacker sample templates 6b84481 Updates method details in monitor-driver guide 992c0bc Updated from global requirements 9ba3421 Update devstack install guide for stable branch eb2d012 Updated from global requirements 46d6e58 Developers guide for functional tests 39f20f1 Update TOSCA defs to set required: true/false as appropriate on properties 8268c78 Updated from global requirements a213b74 Remove unused import logging 8d8699d Fixes broken link in tacker api doc 0fae717 Fixes get-started guide ffbd531 Remove 'MANIFEST.in' cd64ce2 Updated from global requirements 48e1a87 Replace string format arguments with function parameters f8b8cc5 Clean redundant argument to dict.get 0b4b9d8 Fix mutable default arguments 1e05cda Updated from global requirements 4bd2313 py3.x: Use six.iteritems for Iterable dict items. d9a9892 Disable nova quota for dsvm functional test 2f5fa31 Adds sample TOSCA VNFDs for EVP features 8cfc674 Apply vcpu and memory definitions to numa node for a VM cddc6d5 Cleanup and fix Tacker coverage 7647465 Fix monitoring of TOSCA VNFDs bf2bc85 Updated from global requirements eb0a307 Implements SR-IOV support 801896e Support port_security_enabled for Heat Kilo ver 1341c21 Add debug testenv in tox 643e730 py3.x: Use six.iteritems for Iterable dict items. 6608219 Openwrt image download failure handled 2ccfa45 Updated from global requirements 5e71d14 Deprecate infra driver nova for Mitaka 75c4c51 Fix keystone v2 support for multisite 5a2ce1d Updated from global requirements 4d58c76 Remove neutron agents codes 08fb227 Updated from global requirements 28e7112 Add an exception class for undefined default_vim option d96033b Updated from global requirements ffc88d3 Updated from global requirements f0acf4a Updated from global requirements 6f003a4 Remove unused attach/detach interface method. 1f95447 Updated from global requirements 3e0c3c3 Fix typos in Tacker files d517c24 Cleanup vim settings 0918172 Cleanup copyright header 8bdccea Collect test result reports b1f181e Fixing assignment-from-no-return issue. Diffstat (except docs and test files) ------------------------------------- .coveragerc | 4 +- .gitignore | 4 + MANIFEST.in | 14 - devstack/lib/tacker | 79 +- devstack/local.conf.example | 58 ++ devstack/local.sh.mysql_fix | 46 ++ devstack/plugin.sh | 3 +- devstack/samples/config-openwrt-with-firewall.yaml | 122 --- devstack/samples/local.conf.example | 58 -- devstack/samples/local.sh.mysql_fix | 46 -- devstack/samples/openwrt.yaml | 42 - devstack/samples/sample-tosca-vnfd-flavor.yaml | 37 - .../samples/sample-tosca-vnfd-http-monitor.yaml | 71 -- devstack/samples/sample-tosca-vnfd-image.yaml | 66 -- devstack/samples/sample-tosca-vnfd-monitor.yaml | 72 -- devstack/samples/sample-tosca-vnfd-multi-vdu.yaml | 137 ---- devstack/samples/sample-tosca-vnfd.yaml | 63 -- devstack/samples/sample-vnfd-http-monitor.yaml | 39 - devstack/samples/sample-vnfd-monitor.yaml | 40 - devstack/samples/sample-vnfd-multi-vdu.yaml | 75 -- devstack/samples/sample-vnfd.yaml | 31 - .../tosca-config-openwrt-with-firewall.yaml | 97 --- devstack/samples/tosca_openwrt.yaml | 71 -- devstack/samples/vim_config.yaml | 4 - .../samples/vnf_cirros_param_values_ipaddr.yaml | 17 - .../samples/vnf_cirros_param_values_user_data.yaml | 16 - devstack/samples/vnf_cirros_template_ipaddr.yaml | 45 - .../samples/vnf_cirros_template_user_data.yaml | 44 - devstack/settings | 4 +- devstack/vim_config.yaml | 6 + .../enhanced_placement_awareness_usage_guide.rst | 155 ++++ .../devref/mistral_workflows_usage_guide.rst | 504 ++++++++++++ .../devref/vnfd_template_parameterization.rst | 4 +- etc/config-generator.conf | 15 + etc/tacker/README.txt | 9 + etc/tacker/tacker.conf | 422 ---------- openstack-common.conf | 35 - releasenotes/notes/.placeholder | 0 ...sca-nodes-nfv-VDU-Tracker-bf415eaf6eb13c0d.yaml | 4 + ...add-vim-monitor-to-tacker-3bccceaeb2ef6989.yaml | 3 + ...cate-vnfd-legacy-template-41a0560aee1addc3.yaml | 4 + ...eystone-v3-support-in-vim-6d841e28b3e5bb78.yaml | 5 + .../http-port-change-to-9890-d51e3d836b0f32f7.yaml | 3 + .../notes/sample-config-file-f653eac0183bfa92.yaml | 8 + ...acker-workflow-definition-1a5b7790b69f9eb7.yaml | 3 + ...-name-mandatory-in-tacker-cb657fd11d725781.yaml | 4 + releasenotes/source/_static/.placeholder | 0 releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 259 ++++++ releasenotes/source/index.rst | 10 + releasenotes/source/unreleased.rst | 5 + requirements.txt | 39 +- samples/legacy-templates/README.warning | 6 + .../config-openwrt-with-firewall.yaml | 122 +++ samples/legacy-templates/openwrt.yaml | 42 + .../legacy-templates/sample-vnfd-http-monitor.yaml | 39 + samples/legacy-templates/sample-vnfd-monitor.yaml | 40 + .../legacy-templates/sample-vnfd-multi-vdu.yaml | 75 ++ samples/legacy-templates/sample-vnfd.yaml | 31 + .../vnf_cirros_param_values_ipaddr.yaml | 17 + .../vnf_cirros_param_values_user_data.yaml | 16 + .../vnf_cirros_template_ipaddr.yaml | 45 + .../vnf_cirros_template_user_data.yaml | 44 + samples/mistral/workflows/create_vnf.yaml | 53 ++ samples/mistral/workflows/create_vnfd.yaml | 22 + samples/mistral/workflows/delete_vnf.yaml | 16 + samples/mistral/workflows/delete_vnfd.yaml | 16 + samples/mistral/workflows/input/create_vnf.json | 11 + samples/mistral/workflows/input/create_vnfd.json | 10 + samples/mistral/workflows/input/delete_vnf.json | 3 + samples/mistral/workflows/input/delete_vnfd.json | 3 + .../vnfd/tosca-config-openwrt-with-firewall.yaml | 97 +++ .../vnfd/tosca-vnfd-cpu-dedicate.yaml | 37 + .../vnfd/tosca-vnfd-hello-world.yaml | 73 ++ .../vnfd/tosca-vnfd-http-monitor.yaml | 81 ++ .../tosca-templates/vnfd/tosca-vnfd-hugepages.yaml | 36 + samples/tosca-templates/vnfd/tosca-vnfd-image.yaml | 76 ++ .../tosca-templates/vnfd/tosca-vnfd-keyname.yaml | 42 + .../tosca-templates/vnfd/tosca-vnfd-monitor.yaml | 82 ++ .../tosca-templates/vnfd/tosca-vnfd-multi-vdu.yaml | 147 ++++ .../tosca-templates/vnfd/tosca-vnfd-network.yaml | 75 ++ .../vnfd/tosca-vnfd-nova-flavor.yaml | 68 ++ .../tosca-templates/vnfd/tosca-vnfd-numacount.yaml | 36 + .../vnfd/tosca-vnfd-numadefine.yaml | 46 ++ .../tosca-templates/vnfd/tosca-vnfd-openwrt.yaml | 81 ++ samples/tosca-templates/vnfd/tosca-vnfd-scale.yaml | 63 ++ samples/tosca-templates/vnfd/tosca-vnfd-sriov.yaml | 46 ++ .../tosca-templates/vnfd/tosca-vnfd-userdata.yaml | 46 ++ .../vnfd/tosca-vnfd-vcpu-topology.yaml | 39 + samples/vim/vim_config.yaml | 6 + setup.cfg | 23 +- tacker/__init__.py | 2 - tacker/_i18n.py | 34 + tacker/agent/common/__init__.py | 0 tacker/agent/common/config.py | 123 --- tacker/agent/linux/async_process.py | 223 ----- tacker/agent/linux/daemon.py | 149 ---- tacker/agent/linux/external_process.py | 102 --- tacker/agent/linux/interface.py | 456 ----------- tacker/agent/linux/ip_lib.py | 571 ------------- tacker/agent/linux/polling.py | 117 --- tacker/agent/linux/utils.py | 6 +- tacker/agent/rpc.py | 111 --- tacker/api/api_common.py | 8 +- tacker/api/extensions.py | 17 +- tacker/api/v1/attributes.py | 18 +- tacker/api/v1/base.py | 29 +- tacker/api/v1/resource.py | 6 +- tacker/api/v1/resource_helper.py | 5 +- tacker/api/v1/router.py | 6 +- tacker/api/versions.py | 9 +- tacker/api/views/versions.py | 2 - tacker/auth.py | 6 +- tacker/cmd/server.py | 15 +- tacker/common/cmd_executer.py | 107 +++ tacker/common/config.py | 33 +- tacker/common/driver_manager.py | 8 +- tacker/common/exceptions.py | 21 +- tacker/common/log.py | 6 +- tacker/common/rpc.py | 10 - tacker/common/rpc_compat.py | 167 ---- tacker/common/test_lib.py | 2 - tacker/common/utils.py | 19 +- tacker/context.py | 120 +-- tacker/db/api.py | 50 +- tacker/db/common_services/__init__.py | 0 tacker/db/common_services/common_services_db.py | 99 +++ tacker/db/db_base.py | 22 +- tacker/db/migration/__init__.py | 58 ++ .../versions/12a57080b278_alter_devices.py | 16 +- .../versions/1c6b0d82afcd_servicevm_framework.py | 4 - .../versions/22f5385a3d3f_add_status_to_vims.py | 35 + .../versions/22f5385a3d4f_remove_proxydb.py | 39 + .../versions/22f5385a3d50_rename_devicedb.py | 52 ++ .../versions/2ff0a0e360f1_audit_support.py | 37 + .../354de64ba129_set_mandatory_columns_not_null.py | 37 + .../versions/4ee19c8a6d0a_audit_support_events.py | 45 + ...f88e86b35c7_make_vnfd_vnf_vim_name_mandatory.py | 41 + .../versions/6e56d4474b2a_blob_to_json_text.py | 55 ++ .../versions/941b5a6fff9e_enable_soft_delete.py | 39 + .../db/migration/alembic_migrations/versions/HEAD | 2 +- .../acf941e54075_add_error_reason_to_device.py | 38 + ...07673bb8654_set_status_type_tenant_id_length.py | 54 ++ .../c7cde2f45f82_set_description_to_text.py | 41 + .../versions/d4f265e8eb9d_add_default_to_vim.py | 37 + .../versions/f958f58e5daa_uuid_consistency.py | 66 ++ tacker/db/migration/cli.py | 26 + tacker/db/migration/models/head.py | 1 - tacker/db/migration/purge_tables.py | 120 +++ tacker/db/model_base.py | 3 +- tacker/db/models_v1.py | 19 +- tacker/db/nfvo/nfvo_db.py | 156 +++- tacker/db/sqlalchemyutils.py | 4 - tacker/db/types.py | 49 ++ tacker/db/vm/proxy_db.py | 99 --- tacker/db/vm/vm_db.py | 386 +++++---- tacker/extensions/common_services.py | 145 ++++ tacker/extensions/nfvo.py | 56 +- tacker/extensions/vnfm.py | 103 ++- tacker/hooks.py | 2 - tacker/i18n.py | 30 - tacker/manager.py | 13 +- tacker/nfvo/drivers/vim/abstract_vim_driver.py | 8 + tacker/nfvo/drivers/vim/openstack_driver.py | 95 ++- tacker/nfvo/nfvo_plugin.py | 55 +- tacker/openstack/__init__.py | 0 tacker/openstack/common/__init__.py | 17 - tacker/openstack/common/cache/__init__.py | 0 .../openstack/common/cache/_backends/__init__.py | 0 tacker/openstack/common/cache/_backends/memory.py | 165 ---- tacker/openstack/common/cache/backends.py | 263 ------ tacker/openstack/common/cache/cache.py | 78 -- tacker/openstack/common/context.py | 83 -- tacker/openstack/common/db/__init__.py | 0 tacker/openstack/common/db/api.py | 162 ---- tacker/openstack/common/db/exception.py | 56 -- tacker/openstack/common/db/options.py | 171 ---- tacker/openstack/common/db/sqlalchemy/__init__.py | 0 tacker/openstack/common/db/sqlalchemy/models.py | 119 --- tacker/openstack/common/db/sqlalchemy/provision.py | 157 ---- tacker/openstack/common/db/sqlalchemy/session.py | 904 --------------------- tacker/openstack/common/db/sqlalchemy/test_base.py | 153 ---- tacker/openstack/common/db/sqlalchemy/utils.py | 647 --------------- tacker/openstack/common/eventlet_backdoor.py | 144 ---- tacker/openstack/common/excutils.py | 113 --- tacker/openstack/common/fileutils.py | 137 ---- tacker/openstack/common/fixture/__init__.py | 0 tacker/openstack/common/fixture/config.py | 45 - tacker/openstack/common/fixture/lockutils.py | 51 -- tacker/openstack/common/fixture/mockpatch.py | 49 -- tacker/openstack/common/fixture/moxstubout.py | 32 - tacker/openstack/common/gettextutils.py | 498 ------------ tacker/openstack/common/importutils.py | 66 -- tacker/openstack/common/jsonutils.py | 186 ----- tacker/openstack/common/local.py | 45 - tacker/openstack/common/lockutils.py | 303 ------- tacker/openstack/common/log.py | 626 -------------- tacker/openstack/common/log_handler.py | 30 - tacker/openstack/common/loopingcall.py | 145 ---- tacker/openstack/common/middleware/__init__.py | 0 tacker/openstack/common/middleware/audit.py | 44 - tacker/openstack/common/middleware/base.py | 56 -- tacker/openstack/common/middleware/catch_errors.py | 43 - .../openstack/common/middleware/correlation_id.py | 28 - tacker/openstack/common/middleware/debug.py | 60 -- tacker/openstack/common/middleware/notifier.py | 126 --- tacker/openstack/common/middleware/request_id.py | 41 - tacker/openstack/common/middleware/sizelimit.py | 81 -- tacker/openstack/common/network_utils.py | 89 -- tacker/openstack/common/periodic_task.py | 183 ----- tacker/openstack/common/policy.py | 781 ------------------ tacker/openstack/common/processutils.py | 248 ------ tacker/openstack/common/service.py | 512 ------------ tacker/openstack/common/sslutils.py | 98 --- tacker/openstack/common/strutils.py | 239 ------ tacker/openstack/common/systemd.py | 104 --- tacker/openstack/common/threadgroup.py | 129 --- tacker/openstack/common/timeutils.py | 210 ----- tacker/openstack/common/uuidutils.py | 37 - tacker/openstack/common/versionutils.py | 148 ---- tacker/plugins/common/constants.py | 28 +- tacker/plugins/common/utils.py | 2 - tacker/plugins/common_services/__init__.py | 0 .../common_services/common_services_plugin.py | 48 ++ tacker/policy.py | 346 ++++---- tacker/service.py | 29 +- tacker/services/service_base.py | 6 - .../etc/samples/sample-tosca-vnfd-flavor.yaml | 68 ++ .../samples/sample-tosca-vnfd-http-monitor.yaml | 41 +- .../samples/sample-tosca-vnfd-large-template.yaml | 137 ++++ .../etc/samples/sample-tosca-vnfd-monitor.yaml | 39 +- .../sample-tosca-vnfd-multi-vdu-monitoring.yaml | 156 ++++ .../etc/samples/sample-tosca-vnfd-multi-vdu.yaml | 15 + .../functional/vnfm/test_tosca_vnf_multiple_vdu.py | 22 +- .../unit/services/vm/test_servicevm_extension.py | 4 - .../unit/test_extension_extended_attribute.py | 9 +- .../heat/data/hot_openwrt_params.yaml | 1 + .../infra_drivers/heat/data/hot_scale_custom.yaml | 23 + .../vm/infra_drivers/heat/data/hot_scale_main.yaml | 26 + .../heat/data/hot_tosca_flavor_all_numa_nodes.yaml | 2 +- .../heat/data/hot_tosca_flavor_numa_nodes.yaml | 2 +- .../heat/data/hot_tosca_generic_vnfd_params.yaml | 45 + .../heat/data/hot_tosca_mgmt_sriov.yaml | 28 + .../infra_drivers/heat/data/hot_tosca_openwrt.yaml | 1 + .../heat/data/hot_tosca_openwrt_kilo.yaml | 25 + .../heat/data/hot_tosca_openwrt_userdata.yaml | 29 + .../infra_drivers/heat/data/hot_tosca_sriov.yaml | 28 + .../heat/data/hot_tosca_vnic_normal.yaml | 28 + .../infra_drivers/heat/data/test_tosca_flavor.yaml | 6 +- .../data/test_tosca_flavor_and_capabilities.yaml | 6 +- .../heat/data/test_tosca_flavor_defaults.yaml | 6 +- .../heat/data/test_tosca_flavor_no_units.yaml | 6 +- .../infra_drivers/heat/data/test_tosca_image.yaml | 6 +- .../heat/data/test_tosca_openwrt.yaml | 18 +- .../heat/data/test_tosca_openwrt_userdata.yaml | 49 ++ .../heat/data/tosca_flavor_all_numa_count.yaml | 6 +- .../heat/data/tosca_flavor_all_numa_nodes.yaml | 10 +- .../heat/data/tosca_flavor_cpu_allocations.yaml | 6 +- .../heat/data/tosca_flavor_huge_pages.yaml | 6 +- .../heat/data/tosca_flavor_numa_nodes.yaml | 10 +- .../heat/data/tosca_flavor_numa_nodes_count.yaml | 10 +- .../heat/data/tosca_generic_vnfd_params.yaml | 86 ++ .../infra_drivers/heat/data/tosca_mgmt_sriov.yaml | 57 ++ .../vm/infra_drivers/heat/data/tosca_scale.yaml | 44 + .../vm/infra_drivers/heat/data/tosca_sriov.yaml | 58 ++ .../infra_drivers/heat/data/tosca_vnic_port.yaml | 58 ++ .../data/vnf_cirros_param_values_user_data.yaml | 1 + .../heat/data/vnf_cirros_template_user_data.yaml | 1 + .../vm/monitor_drivers/http_ping/test_http_ping.py | 4 +- .../unit/vm/monitor_drivers/ping/test_ping.py | 4 +- .../vm/nfvo/drivers/vim/test_openstack_driver.py | 55 +- .../unit/vm/test_tosca_templates_under_samples.py | 76 ++ tacker/version.py | 2 - tacker/vm/constants.py | 4 - tacker/vm/hosting_device_scheduler.py | 6 +- tacker/vm/infra_drivers/abstract_driver.py | 12 - tacker/vm/infra_drivers/heat/heat.py | 705 ++++++++++++---- tacker/vm/infra_drivers/noop.py | 9 +- tacker/vm/infra_drivers/nova/nova.py | 44 +- tacker/vm/infra_drivers/scale_driver.py | 42 + tacker/vm/keystone.py | 11 +- tacker/vm/mgmt_drivers/abstract_driver.py | 6 +- tacker/vm/mgmt_drivers/constants.py | 4 - tacker/vm/mgmt_drivers/noop.py | 7 +- tacker/vm/mgmt_drivers/openwrt/openwrt.py | 28 +- tacker/vm/monitor.py | 47 +- tacker/vm/monitor_drivers/abstract_driver.py | 3 - tacker/vm/monitor_drivers/http_ping/http_ping.py | 8 +- tacker/vm/monitor_drivers/ping/ping.py | 8 +- tacker/vm/plugin.py | 280 ++++++- tacker/vm/tosca/lib/tacker_defs.yaml | 75 +- tacker/vm/tosca/lib/tacker_nfv_defs.yaml | 32 +- tacker/vm/tosca/utils.py | 111 ++- tacker/vm/vim_client.py | 53 +- tacker/wsgi.py | 40 +- test-requirements.txt | 14 +- tools/check_i18n.py | 3 +- tools/generate_config_file_sample.sh | 26 + tools/install_venv.py | 1 - tools/install_venv_common.py | 3 - tools/ostestr_compat_shim.sh | 8 + tools/with_venv.sh | 1 - tox.ini | 61 +- 373 files changed, 10467 insertions(+), 15093 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index f42dede..a97b23d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,2 +8,2 @@ PasteDeploy>=1.5.0 # MIT -Routes!=2.0,!=2.1,>=1.12.3;python_version=='2.7' # MIT -Routes!=2.0,>=1.12.3;python_version!='2.7' # MIT +Routes!=2.0,!=2.1,!=2.3.0,>=1.12.3;python_version=='2.7' # MIT +Routes!=2.0,!=2.3.0,>=1.12.3;python_version!='2.7' # MIT @@ -11 +11 @@ anyjson>=0.3.3 # BSD -Babel>=1.3 # BSD +Babel>=2.3.4 # BSD @@ -15,2 +15,3 @@ httplib2>=0.7.5 # MIT -requests!=2.9.0,>=2.8.1 # Apache-2.0 -iso8601>=0.1.9 # MIT +requests>=2.10.0 # Apache-2.0 +iso8601>=0.1.11 # MIT +keystonemiddleware!=4.1.0,!=4.5.0,>=4.0.0 # Apache-2.0 @@ -21,3 +22,3 @@ WebOb>=1.2.3 # MIT -python-heatclient>=0.6.0 # Apache-2.0 -python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0 -alembic>=0.8.0 # MIT +python-heatclient>=1.1.0 # Apache-2.0 +python-keystoneclient!=2.1.0,>=2.0.0 # Apache-2.0 +alembic>=0.8.4 # MIT @@ -25,4 +26,13 @@ six>=1.9.0 # MIT -stevedore>=1.5.0 # Apache-2.0 -oslo.config>=3.7.0 # Apache-2.0 -oslo.messaging>=4.0.0 # Apache-2.0 -oslo.rootwrap>=2.0.0 # Apache-2.0 +stevedore>=1.16.0 # Apache-2.0 +oslo.concurrency>=3.8.0 # Apache-2.0 +oslo.config>=3.14.0 # Apache-2.0 +oslo.context>=2.6.0 # Apache-2.0 +oslo.db>=4.10.0 # Apache-2.0 +oslo.log>=1.14.0 # Apache-2.0 +oslo.messaging>=5.2.0 # Apache-2.0 +oslo.middleware>=3.0.0 # Apache-2.0 +oslo.policy>=1.9.0 # Apache-2.0 +oslo.rootwrap>=5.0.0 # Apache-2.0 +oslo.serialization>=1.10.0 # Apache-2.0 +oslo.service>=1.10.0 # Apache-2.0 +oslo.utils>=3.16.0 # Apache-2.0 @@ -31 +41 @@ python-novaclient!=2.33.0,>=2.29.0 # Apache-2.0 -tosca-parser>=0.4.0 # Apache-2.0 +tosca-parser>=0.5.0 # Apache-2.0 @@ -33 +43,2 @@ heat-translator>=0.4.0 # Apache-2.0 -cryptography>=1.0 # BSD/Apache-2.0 +cryptography!=1.3.0,>=1.0 # BSD/Apache-2.0 +paramiko>=2.0 # LGPLv2.1+ diff --git a/test-requirements.txt b/test-requirements.txt index 27c3121..3214a14 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7 +6,0 @@ - @@ -10 +8,0 @@ coverage>=3.6 # Apache-2.0 -discover # BSD @@ -12 +10 @@ doc8 # Apache-2.0 -fixtures>=1.3.1 # Apache-2.0/BSD +fixtures>=3.0.0 # Apache-2.0/BSD @@ -14 +12 @@ hacking<0.11,>=0.10.2 -mock>=1.2 # BSD +mock>=2.0 # BSD @@ -15,0 +14 @@ python-subunit>=0.0.18 # Apache-2.0/BSD +python-tackerclient>=0.5.0 # Apache-2.0 @@ -17,2 +16 @@ ordereddict # MIT -six>=1.9.0 # MIT -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD +sphinx!=1.3b1,<1.3,>=1.2.1 # BSD @@ -19,0 +18 @@ oslotest>=1.10.0 # Apache-2.0 +os-testr>=0.7.0 # Apache-2.0 @@ -23,0 +23,3 @@ WebTest>=2.0 # MIT + +# releasenotes +reno>=1.8.0 # Apache2