summaryrefslogtreecommitdiffstats
path: root/docs/parser_docs/tosca2heat/examples/Simple_RNC_definition.yaml
diff options
context:
space:
mode:
authorshangxdy <shang.xiaodong@zte.com.cn>2016-06-12 22:45:41 +0800
committershangxdy <shang.xiaodong@zte.com.cn>2016-06-13 10:04:56 +0800
commita3f0c279eadad97fe8f924cf3d539df70d6ee6b4 (patch)
treee7d371c147a91fe94ff9cf3188510cd54bb3f4cf /docs/parser_docs/tosca2heat/examples/Simple_RNC_definition.yaml
parent37c637988622dde3425390fb861800ffdaf2b6cb (diff)
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 <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'docs/parser_docs/tosca2heat/examples/Simple_RNC_definition.yaml')
-rw-r--r--docs/parser_docs/tosca2heat/examples/Simple_RNC_definition.yaml24
1 files changed, 11 insertions, 13 deletions
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