[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [tosca] YAML v1.2: CSAR zip without TOSCA-Metadata directory clarification
Just wanted to reinforce that the Examples are not normative anyway as specified in the first paragraph of chapter 6: âTOSCA Cloud Service Archive (CSAR) formatâ, so this can be used as an argument on why it does not
require an additional public review process. BR, /Calin From: <tosca@lists.oasis-open.org> on behalf of "Nguyenphu, Thinh (Nokia - US/Dallas)" <thinh.nguyenphu@nokia.com> Calin and et al, Thanks for the clarification on the topic. Per our call discussion, it is confirmed that the value of template_version is 1.1. based on this normative statement from YAML v1.3 or v1.2 Section 6.3: ââThe CSAR-Version is defined by the template_version
metadata section.â Therefore, the example should illustrated as follow, in the case of YAML v1.1, 1.2, and 1.3:
Also, it was suggested and agreed to update the example in section 6.3.1, as long as this change does not requires additional public review process. Chris will bring this topic up during next TC meeting. 6.3.1 Example
The following represents a valid TOSCA template file acting as the CSAR Entry-Definitions file in an archive without TOSCA-Metadata directory.
Regards, Thinh From: Calin Curescu <calin.curescu@ericsson.com> Hi Thinh, You are right, this is an inherited problem for versions up to v1.3 that has been corrected in v2.0. In v2.0 we use for the version of the CSAR structure and TOSCA.meta file to be the following:
BR, /Calin From: <tosca@lists.oasis-open.org> on behalf of "Nguyenphu, Thinh (Nokia - US/Dallas)" <thinh.nguyenphu@nokia.com> Hello, I may discover an inconsistence within TOSCA YAML v1.2 and v1.3 states
The CSAR-Version is defined by the template_version metadata section. In 6.3 6.3 Archive without TOSCA-Metadata
In case the archive doesnât contains a TOSCA-Metadata directory the archive is required to contains a single YAML file at the root of the archive (other templates may exits in sub-directories). This file must be a valid TOSCA definitions YAML file with the additional restriction that the metadata section (as defined in 3.9.3.2) is required and template_name and template_version metadata are also required. TOSCA processors should recognized this file as being the CSAR Entry-Definitions file. The CSAR-Version is defined by the template_version metadata section. The Created-By value is defined by the template_author metadata. 6.3.1 Example
The following represents a valid TOSCA template file acting as the CSAR Entry-Definitions file in an archive without TOSCA-Metadata directory.
but in
3.10.3.5 template_version
This optional metadata keyname can be used to declare a domain specific version of the service template as a single-line string value.
3.10.3.5.3 Example
In YAML v1.2 or 1.3, there is two different version numbers. For the case
of Archive without TOSCA-Metadata, the
template_version: 1.0.
Whereas, CSAR with TOSCA-Metadata directory, the CSAR-Version: 1.1 So, what is template_version the CSAR version for both type of CSAR structure? What is normative requirement and value for template_version? Regards, Thinh Thinh Nguyenphu Bell Labs CTO Nokia +1 817-313-5189 |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]