}\r
\r
container template-definitions {\r
- uses nemo-template:template-definition;\r
+ description\r
+ "Contains all templates that the user defined. A\r
+ template defines a reusable function which could\r
+ be used many times.";\r
+\r
+ list template-definition {\r
+ key "template-name";\r
+ uses nemo-template:template-definition-grouping;\r
+ }\r
}\r
\r
container template-instances {\r
- uses nemo-template:template-instance;\r
+ description\r
+ "Contains all template instances that the user configured.\r
+ A template instance is to put specific values in the\r
+ parameter list of the definition.";\r
+\r
+ list template-instance {\r
+ key "template-instance-id";\r
+ uses nemo-template:template-instance-grouping;\r
+ }\r
}\r
}\r
\r
"Initial revision.";\r
}\r
\r
- grouping template-definition {\r
+ grouping template-definition-grouping {\r
description\r
- "It represents the node model instance and its metadata.\r
- A node model defines a reusable function or template\r
- which could be used many times.";\r
+ "It represents a template definition and its metadata.\r
+ A template defines a reusable function which could\r
+ be used many times.";\r
\r
leaf template-name {\r
description\r
}\r
}\r
\r
- grouping template-instance {\r
+ grouping template-instance-grouping {\r
description\r
"A template instance which put specific values in the parameter list.";\r
\r