grouping context-key {
leaf context-type {
type context-type-ref;
- mandatory true;
}
leaf context-id {
type gbp-common:context-id;
- mandatory true;
}
}
}
}
+ grouping forwarding-fields {
+
+ container parent {
+ uses context-key;
+ }
+
+ leaf name {
+ type gbp-common:name;
+ }
+ }
+
grouping forwarding-with-tenant-fields {
leaf tenant-id {
type gbp-common:tenant-id;
key "context-type context-id";
uses context-key;
- uses has-address-type;
- container parent {
- uses context-key;
- }
+ uses forwarding-fields;
}
list network-domain {
key "network-domain-type network-domain-id";
uses network-domain-key;
- container parent {
- uses context-key;
- }
-
+ uses forwarding-fields;
description "Network domain can be augmented with further information.";
}
}