Skip to content

Commit

Permalink
2019-01-15 Updated ietf-otn-types.yang
Browse files Browse the repository at this point in the history
2019-01-15 Updated ietf-otn-types.yang

Updated as per comments discussed in the pull request #27
Fixed editorial/formatting issues replacing tabs with spaces
  • Loading branch information
italobusi authored Jan 15, 2019
1 parent 4a5f6ba commit a64c26d
Showing 1 changed file with 32 additions and 14 deletions.
46 changes: 32 additions & 14 deletions YANG/ccamp/otn-tunnel/ietf-otn-types.yang
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module ietf-otn-types {
description
"This module defines OTN types.";

revision "2018-12-05" {
revision "2019-01-15" {
description
"Initial Revision";
reference
Expand Down Expand Up @@ -418,21 +418,39 @@ otn-topology/tunnel also need change */
of Evolving G.709 Optical Transport Networks";
}
}

grouping otn-label-step {
description "Label step for OTN";
leaf otn-step {
type uint16 {
range "1..4095";
}
default 1;
choice otn-label-type {
description
"Label step which represent possible increments for
tributary port or tributary slot.";
reference
"RFC7139: GMPLS Signaling Extensions for Control of Evolving
G.709 Optical Transport Networks.";
"OTN label range type, either TPN range or TS range";
case tributary-port {
leaf tpn-step {
type uint16 {
range "1..4095";
}
default 1;
description
"Label step which represents possible increments for
Tributary Port Number.";
reference
"RFC7139: GMPLS Signaling Extensions for Control of Evolving
G.709 Optical Transport Networks.";
}
}
case tributary-slot {
leaf ts {
type uint16 {
range "1..4095";
}
default 1;
description
"Label step which represents possible increments for
Tributary Slot Number.";
reference
"RFC7139: GMPLS Signaling Extensions for Control of Evolving
G.709 Optical Transport Networks.";
}
}
}
}

}
}

0 comments on commit a64c26d

Please sign in to comment.