Containment endpoint can only have relative location
[groupbasedpolicy.git] / groupbasedpolicy / src / main / yang / model / renderer.yang
index 2b15e8487c5ceff3b2c19efd0ab4f891569e0268..6d508eec353d16e89eeb62b768ff003a261d1b26 100755 (executable)
@@ -164,7 +164,9 @@ module renderer {
                 list renderer-node {
                     key "node-path";
                     leaf node-path {
-                        description "Path to the node where policy needs to be enforced.";
+                        description "Path to the node where policy needs to be enforced.
+                            This field is matched against internal-node and external-node-mount-point
+                            from base-endoint:endpoint-locations.";
                         type instance-identifier;
                     }
                 }
@@ -234,7 +236,7 @@ module renderer {
                         list containment-endpoint-with-location {
                             key "context-type context-id";
                             uses base-endpoint:address-endpoint-fields;
-                            uses base-endpoint:has-location;
+                            uses base-endpoint:has-relative-location;
                         }
                     }