}
container renderers {
- description
- "Leaf containing all renderers' description.";
-
list renderer {
description
"A renderer provides a list of capabilities and status about configured policy.
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;
}
}
description "Renderer tries to apply given policy on devices.";
container renderer-endpoints {
list renderer-endpoint {
+ min-elements 1;
description "Policy between renderer-endpoint and peer-endpoints (peers).
Renderer configures policy for renderer endpoints.";
key "context-type context-id address-type address";
container rule-groups {
list rule-group {
+ min-elements 1;
description "A specific policy rule group that apply to pair of endpoints.
The policy rule group represents the subject with resolved rules.";
key "tenant-id contract-id subject-name";
container endpoints {
list address-endpoint-with-location {
+ min-elements 1;
key "context-type context-id address-type address";
uses base-endpoint:address-endpoint-fields;
uses base-endpoint:has-location;
list containment-endpoint-with-location {
key "context-type context-id";
- uses base-endpoint:address-endpoint-fields;
- uses base-endpoint:has-location;
+ uses base-endpoint:containment-endpoint-fields;
+ uses base-endpoint:has-relative-location;
}
}
- container forwarding-contexts {
- list forwarding-context-by-tenant {
+ container renderer-forwarding {
+ list renderer-forwarding-by-tenant {
+ min-elements 1;
key tenant-id;
- uses forwarding:forwarding-with-tenant-fields;
+ leaf tenant-id {
+ type gbp-common:tenant-id;
+ description
+ "The tenant with which forwarding is associated";
+ }
+
+ list renderer-forwarding-context {
+ key "context-type context-id";
+ uses forwarding:context-key;
+
+ uses forwarding:forwarding-fields;
+ }
+
+ list renderer-network-domain {
+ key "network-domain-type network-domain-id";
+ uses forwarding:network-domain-key;
+
+ uses forwarding:forwarding-fields;
+ description "Renderer network domain can be augmented with further information.";
+ }
}
}
}