From a3f0c279eadad97fe8f924cf3d539df70d6ee6b4 Mon Sep 17 00:00:00 2001 From: shangxdy Date: Sun, 12 Jun 2016 22:45:41 +0800 Subject: Create test case about nfv tosca As a developer; I want to known the availability of current nfv tosca definitions about node types, capabilities types and relationship types. So i create some test cases to validate it. JIRA: PARSER-34 Change-Id: Id57e38c066eea1d2090a816f5129aa95de464d32 Signed-off-by: shangxdy --- .../tosca2heat/examples/Simple_RNC_definition.yaml | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'docs/parser_docs/tosca2heat/examples/Simple_RNC_definition.yaml') diff --git a/docs/parser_docs/tosca2heat/examples/Simple_RNC_definition.yaml b/docs/parser_docs/tosca2heat/examples/Simple_RNC_definition.yaml index b3dfd55..7478d98 100644 --- a/docs/parser_docs/tosca2heat/examples/Simple_RNC_definition.yaml +++ b/docs/parser_docs/tosca2heat/examples/Simple_RNC_definition.yaml @@ -1,4 +1,3 @@ -# ## Licensed under the Apache License, Version 2.0 (the "License"); you may ## not use this file except in compliance with the License. You may obtain ## a copy of the License at @@ -11,25 +10,24 @@ ## License for the specific language governing permissions and limitations ## under the License. -# Required TOSCA Definitions version string tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 -metadata: - template_name: tosca_simple_profile_for_nfv_vRNC - template_author: opnfv_parser_project_from_zte - template_version: tosca_simple_profile_for_nfv_1_0 +#metadata: +# template_name: tosca_simple_profile_for_nfv_vRNC +# template_author: opnfv_parser_project_from_zte +# template_version: tosca_simple_profile_for_nfv_1_0 # Optional description of the definitions inside the file. description: > NFV TOSCA simple profile for RNC types - 1, Compute Node MM, CM, DM, LB... + 1. Compute Node MM, CM, DM, LB... 1.1 MM: MaintainModule; 1.2 CM: Control Module; 1.3 DM: Data Module; 1.4 LB: LineCard Module. - 2, Network Node VL and CP + 2. Network Node VL and CP -# The import section shall be ignored if the value of tosca_definitions_version +# The import section shall be ignored if the value of tosca_definitions_version # is tosca_simple_profile_for_nfv_1_0_0, otherwise will be needed. #imports: # - TOSCA_nfv_definition_1_0.yaml @@ -41,7 +39,7 @@ node_types: properties: vnftype: type: string - description: type of the vnf + description: type of the RNC default: UMTS required: false constraints: @@ -50,15 +48,15 @@ node_types: - virtualLink_VNFM: capability: tosca.capabilities.nfv.VirtualLinkable relationship: tosca.relationships.nfv.VirtualLinksTo - node: tosca.nodes.nfv.VL + node: rnc.nodes.VL - virtualLink_EMS: capability: tosca.capabilities.nfv.VirtualLinkable relationship: tosca.relationships.nfv.VirtualLinksTo - node: tosca.nodes.nfv.VL + node: rnc.nodes.VL - virtualLink_TRAFFIC: capability: tosca.capabilities.nfv.VirtualLinkable relationship: tosca.relationships.nfv.VirtualLinksTo - node: tosca.nodes.nfv.VL + node: rnc.nodes.VL rnc.nodes.compute.MM: derived_from: tosca.nodes.nfv.VDU -- cgit 1.2.3-korg