\r
// Service Function Path Metadata\r
\r
+ typedef context-metadata-ref {\r
+ type leafref {\r
+ path "/sfc-md:service-function-metadata/" +\r
+ "sfc-md:context-metadata/sfc-md:name";\r
+ }\r
+ description\r
+ "This type is used by data models that need to reference\r
+ configured context metadata headers.";\r
+ }\r
+\r
+ typedef variable-metadata-ref {\r
+ type leafref {\r
+ path "/sfc-md:service-function-metadata/" +\r
+ "sfc-md:variable-metadata/sfc-md:name";\r
+ }\r
+ description\r
+ "This type is used by data models that need to reference\r
+ configured variable metadata headers.";\r
+ }\r
+\r
+ //Another module would reference these headers like\r
+ //leaf name {\r
+ // type sfc-md:context-metadata-ref;\r
+ // description\r
+ // "A reference to the name of a configured context header";\r
+ //}\r
+\r
container service-function-metadata {\r
\r
description\r