We are overjoyed to announce the release of: heat-translator 2.0.0: Tool to translate non-heat templates to Heat Orchestration Template. This release is part of the ussuri stable release series. The source is available from: https://opendev.org/openstack/heat-translator Download the package from: https://pypi.org/project/heat-translator Please report issues through: https://bugs.launchpad.net/heat-translator/+bugs For more details, please see below. Changes in heat-translator 1.4.1..2.0.0 --------------------------------------- 7be4cd7 Add support for list data type 0d0b1a1 Replace assertItemsEqual with assertCountEqual b57e27b Update the minversion parameter. 2ceec3b [ussuri][goal] Drop python 2.7 support and testing 292248b ETSI-NFV SOL 001 translation: ScalingPolicy 59c61d7 ETSI-NFV SOL 001 translation: BlockStorage 6f94614 ETSI-NFV SOL 001 translation: CP,VL 4833eb5 ETSI-NFV SOL 001 translation: VNF, Compute 9d5056a nit: fix loading tosca classes including ., p, y dc89f07 Switch to official Ussuri jobs 4fd7fe0 Switch to Ussuri jobs 25945f4 Bump the openstackdocstheme extension to 1.20 85e2ad0 Fix broken URL of upper-contraints.tx in tox.ini Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 13 +- lower-constraints.txt | 8 +- requirements.txt | 4 +- ...rser-master.sh => run_py-tosca-parser-master.sh | 0 setup.cfg | 5 +- setup.py | 8 - tox.ini | 20 +- translator/hot/syntax/hot_resource.py | 65 +- translator/hot/tosca/etsi_nfv/__init__.py | 0 .../hot/tosca/etsi_nfv/scalingaspect/__init__.py | 0 .../tosca_policies_nfv_scalingaspect.py | 227 +++ .../hot/tosca/etsi_nfv/tosca_nfv_vdu_compute.py | 148 ++ .../etsi_nfv/tosca_nfv_vdu_virtualblockstorage.py | 52 + translator/hot/tosca/etsi_nfv/tosca_nfv_vducp.py | 117 ++ translator/hot/tosca/etsi_nfv/tosca_nfv_vnf.py | 31 + .../hot/tosca/etsi_nfv/tosca_nfv_vnfvirtuallink.py | 167 +++ .../tosca_policies_nfv_instantiationlevels.py | 33 + .../etsi_nfv/tosca_policies_nfv_scalingaspects.py | 124 ++ .../etsi_nfv/tosca_policies_nfv_vduinitialdelta.py | 40 + .../tosca_policies_nfv_vduinstantiationlevels.py | 36 + .../tosca_policies_nfv_vduscalingaspectdeltas.py | 46 + ..._policies_nfv_virtuallinkinstantiationlevels.py | 36 + translator/hot/tosca/tosca_policies_scaling.py | 46 +- translator/hot/translate_inputs.py | 3 +- translator/hot/translate_node_templates.py | 70 +- .../etsi_nfv/etsi_nfv_sol001_common_types.yaml | 202 +++ .../data/etsi_nfv/etsi_nfv_sol001_vnfd_types.yaml | 1465 ++++++++++++++++++++ .../data/etsi_nfv/tosca_nfv_blockstorage.yaml | 32 + .../data/etsi_nfv/tosca_nfv_check_cp_order.yaml | 82 ++ .../tosca_nfv_cp_with_extended_vnic_type.yaml | 50 + .../data/etsi_nfv/tosca_nfv_non_leaf_in_vl.yaml | 24 + ...sca_nfv_scaling_non_deltas_in_aspect_delta.yaml | 112 ++ ...nfv_scaling_non_target_vdu_in_aspect_delta.yaml | 112 ++ ...fv_scaling_non_target_vdu_in_initial_delta.yaml | 109 ++ .../tosca_nfv_vdu_cp_vl_with_mixed_scaling.yaml | 182 +++ ...osca_nfv_vdu_cp_with_scaling_multi_aspects.yaml | 187 +++ .../tosca_nfv_vdu_with_compute_requirements.yaml | 35 + ..._nfv_vdu_with_invalid_compute_requirements.yaml | 31 + .../etsi_nfv/tosca_nfv_vdu_with_logical_node.yaml | 34 + .../tosca_nfv_vdu_with_unsupported_storage.yaml | 40 + .../tosca_nfv_vl_with_unsupported_protocol.yaml | 95 ++ ...fv_vnf_vdu_cp_vl_blockstorage_with_scaling.yaml | 169 +++ .../hot_output/etsi_nfv/hot_nfv_blockstorage.yaml | 11 + .../etsi_nfv/hot_nfv_check_cp_order.yaml | 45 + .../hot_nfv_cp_with_extended_vnic_type.yaml | 32 + .../etsi_nfv/hot_nfv_non_leaf_in_vl.yaml | 15 + .../data/hot_output/etsi_nfv/hot_nfv_vdu.yaml | 18 + .../hot_nfv_vdu_with_compute_requirements.yaml | 19 + ..._nfv_vdu_with_invalid_compute_requirements.yaml | 18 + .../etsi_nfv/hot_nfv_vdu_with_logical_node.yaml | 18 + .../hot_nfv_vdu_with_unsupported_storage.yaml | 24 + .../hot_nfv_vl_with_unsupported_protocol.yaml | 38 + .../data/hot_output/etsi_nfv/hot_nfv_vnf.yaml | 11 + ...hot_nfv_scaling_non_deltas_in_aspect_delta.yaml | 37 + .../worker_instance.hot.yaml | 19 + ...nfv_scaling_non_target_vdu_in_aspect_delta.yaml | 43 + .../worker_instance.hot.yaml | 3 + ...fv_scaling_non_target_vdu_in_initial_delta.yaml | 37 + .../worker_instance.hot.yaml | 19 + .../hot_nfv_vdu_cp_vl_with_mixed_scaling.yaml | 61 + .../worker_instance.hot.yaml | 34 + .../hot_nfv_vdu_cp_with_scaling_multi_aspects.yaml | 67 + .../worker_instance1.hot.yaml | 19 + .../worker_instance2.hot.yaml | 19 + ...fv_vnf_vdu_cp_vl_blockstorage_with_scaling.yaml | 59 + .../worker_instance.hot.yaml | 27 + .../data/hot_output/reservation/SP_RSV_res.yaml | 2 +- 84 files changed, 5434 insertions(+), 124 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index e5f5c47..b5832e0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10 +10 @@ six>=1.10.0 # MIT -tosca-parser>=1.4.0 # Apache-2.0 +tosca-parser>=1.6.1 # Apache-2.0 @@ -15 +15 @@ python-glanceclient>=2.8.0 # Apache-2.0 -requests>=2.14.2 # Apache-2.0 +requests>=2.18.0 # Apache-2.0