}
grouping create-tunnel-input {
- uses base-tunnel-input;
+ uses tp:topology-instruction-input;
}
grouping create-tunnel-output {
uses base-tunnel-output;
+
+ leaf link-id {
+ type nt:link-id;
+ mandatory true;
+ }
}
grouping destroy-tunnel-input {
uses base-tunnel-output;
}
- grouping p2p-tunnel-input {
- uses base-tunnel-input;
-
- leaf source-tp {
- type nt:tp-ref;
+ grouping tp-reference {
+ leaf node {
+ type nt:node-ref;
mandatory true;
}
- leaf destination-tp {
+ leaf tp {
type nt:tp-ref;
mandatory true;
}
}
- grouping p2p-tunnel-output {
- uses base-tunnel-output;
- }
-
grouping create-p2p-tunnel-input {
- uses p2p-tunnel-input;
+ uses create-tunnel-input;
+
+ container destination {
+ uses tp-reference;
+ }
+ container source {
+ uses tp-reference;
+ }
}
grouping create-p2p-tunnel-output {
- uses p2p-tunnel-output;
+ uses create-tunnel-output;
}
}