[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 答复: [tosca] 答复: RE: [tosca] One question about Namespace Alias and URI.
Hi Shitao,
I agree if we always set the value of tosca_definitions _version to the alias of simple-profile-yaml.
But in this case it means that we have to comply with the grammar and regulations of tosca-simple-profile in tosca-nfv-profile and we have no margin for us to leave something specific?
Moreover, if I understand correctly, we would probably be unable to distinguish those templates using different versions of tosca-nfv-profile because they have the same value. Sure it works as long as different versions of tosca-nfv-profile have no conflicts with each other. Maybe we could keep the alias and so we could use it in future?
Thanks,
Feng yuanxing
Hi Yuanxing
In tosca-simple-profile-yaml, the namespace Alias is needed because it relates to tosca_definitions _version.
In tosca-nfv-profile, as we discussed and agreed, the tosca_definitions _version value will always set to the namespace Alias of tosca-simple-profile-yaml to represent a specific TOSCA grammar version used in the template, so it is not needed to create a new namespace Alias for tosca-nfv-profile.
In general, the conclusion is that in tosca-nfv-profile, it will only specify a namespace URI and a namespace prefix.
Regards
shitao
发件人: feng.yuanxing@zte.com.cn [mailto:feng.yuanxing@zte.com.cn]
发送时间: 2017年11月21日 16:48
收件人: lauwers@ubicity.com
抄送: Lishitao <lishitao@huawei.com>; tosca@lists.oasis-open.org
主题: 答复: RE: [tosca] One question about Namespace Alias and URI.
Hi,
It confused me and I wonder why "alias" was removed. If I understand correctly, the alias is necessary.
If we remove the alias from the spec, what shall we use to define the tosca_definition_version below? Would that be the whole URI? That's too long.
tosca_definitions _version: tosca_simple_profile_for_nfv_1_0
description: service template of a VDU # Human readable description of the Vdu.
topology_template:
inputs:
Thanks,
Feng yuanxing
原始邮件
发件人: <lauwers@ubicity.com>;
收件人:冯远兴10034308; <lishitao@huawei.com>;
抄送人: <tosca@lists.oasis-open.org>;
日 期 :2017年11月21日 13:24
主 题 :RE: [tosca] One question about Namespace Alias and URI.
Hi Shitao,
Based on our latest namespace discussions, I believe the “alias” is no longer needed. You would only ever use the fully qualified URI (from the Target Namespace) or the prefix.
Chris
From: tosca@lists.oasis-open.org [mailto:tosca@lists.oasis-open.org] On Behalf Of feng.yuanxing@zte.com.cn
Sent: Wednesday, November 15, 2017 11:32 PM
To: lishitao@huawei.com
Cc: tosca@lists.oasis-open.org
Subject: [tosca] One question about Namespace Alias and URI.
Hi all,
I noticed that namespace URI and alias in TOSCA NFV Profile Specification is defined. And we use the alias in the sample template as below. On yesterday's nfv call, we decided to remove the alias. Is that alias the same one referred in the following table?
Alias | Target Namespace | Specification Description |
tosca_simple_profile_for_nfv_1_0 | http://docs.oasis-open.org/tosca/ns/simple/yaml/1.0/nfv/1.0/ | The TOSCA Simple Profile for NFV v1.0 target namespace and namespace alias. |
tosca_definitions _version: tosca_simple_profile_for_nfv_1_0
description: service template of a VDU # Human readable description of the Vdu.
topology_template:
inputs:
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]