Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yc.o sync #1609

Merged
merged 17 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module ietf-bfd-large {
described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
they appear in all capitals, as shown here.";

revision "2024-11-23" {
revision "2024-12-09" {
description
"Initial Version.";
reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ module ietf-layer0-types {
namespace "urn:ietf:params:xml:ns:yang:ietf-layer0-types";
prefix l0-types;

import ietf-te-types {
prefix te-types;
reference
"RFC YYYY: Common YANG Data Types for Traffic Engineering";
}
// RFC Editor: replace YYYY with actual RFC number assigned to
// [I-D.ietf-teas-rfc8776-update] and remove this note

organization
"IETF CCAMP Working Group";
contact
Expand Down Expand Up @@ -51,7 +59,7 @@ module ietf-layer0-types {

// replace the revision date with the module publication date
// the format is (year-month-day)
revision 2024-07-23 {
revision 2024-11-27 {
description
"To be updated";
reference
Expand Down Expand Up @@ -528,58 +536,6 @@ module ietf-layer0-types {
within the permissible frequency range.";
}

identity otu-type {
description
"Base identity from which specific OTU identities are derived";
reference
"ITU-T G.709: Interfaces for the Optical Transport Network";
}

identity OTU1 {
base otu-type;
description
"OTU1 (2.66 Gb/s)";
reference
"ITU-T G.709 v6.0 (06/2020): Interfaces for the Optical
Transport Network (OTN)";
}

identity OTU2 {
base otu-type;
description
"OTU2 (10.70 Gb/s)";
reference
"ITU-T G.709 v6.0 (06/2020): Interfaces for the Optical
Transport Network (OTN)";
}

identity OTU3 {
base otu-type;
description
"OTU3 (43.01 Gb/s)";
reference
"ITU-T G.709 v6.0 (06/2020): Interfaces for the Optical
Transport Network (OTN)";
}

identity OTU4 {
base otu-type;
description
"OTU4 (111.80 Gb/s)";
reference
"ITU-T G.709 v6.0 (06/2020): Interfaces for the Optical
Transport Network (OTN)";
}

identity OTUCn {
base otu-type;
description
"OTUCn (n x 105.25 Gb/s)";
reference
"ITU-T G.709 v6.0 (06/2020): Interfaces for the Optical
Transport Network (OTN)";
}

identity type-power-mode {
description
"power equalization mode used within the
Expand All @@ -598,6 +554,27 @@ module ietf-layer0-types {
"all elements must use power (dBm)";
}

identity switching-wson-lsc {
base te-types:switching-lsc;
description
"Wavelength Switched Optical Network Lambda-Switch Capable
(WSON-LSC).";
reference
"Section 3 of RFC 7688: GMPLS OSPF Enhancement for Signal and
Network Element Compatibility for Wavelength Switched Optical
Networks";
}

identity switching-flexi-grid-lsc {
base te-types:switching-lsc;
description
"Flexi-grid Lambda-Switch Capable (Flexi-Grid-LSC).";
reference
"Section 4.1 of RFC 8363: GMPLS OSPF-TE Extensions in Support
of Flexi-Grid Dense Wavelength Division Multiplexing (DWDM)
Networks";
}

/*
* Typedefs
*/
Expand Down Expand Up @@ -1549,6 +1526,7 @@ module ietf-layer0-types {
proper leafrefs when used: see for example the
transceiver-capabilities grouping below.";
choice mode {
config false;
mandatory true;
description
"Indicates whether the transceiver's mode is a standard
Expand Down Expand Up @@ -1602,6 +1580,7 @@ module ietf-layer0-types {
presence
"When present, it indicates that the modes supported by a
transceiver are reported.";
config false;
description
"The top level container for the list supported
transceiver's modes.";
Expand Down Expand Up @@ -2062,14 +2041,33 @@ module ietf-layer0-types {
description
"This parameter indicates the transmitter frequency fine
tuning steps e.g 3.125GHz or 0.001GHz.";
}
}
} // grouping transmitter-tuning-range

grouping common-all-modes {
description
"Common attributes used by all transceiver's modes.";

uses transmitter-tuning-range;
container transmitter-tuning-range {
config false;
description
"Transmitter tuning range (f_tx-min, f_tx-max)";
uses transmitter-tuning-range;
}
/* Alternative solution (not future safe):

uses transmitter-tuning-range {
refine min-central-frequency {
config false;
}
refine max-central-frequency {
config false;
}
refine transceiver-tunability {
config false;
}
}
*/
leaf tx-channel-power-min {
type power-dbm;
config false;
Expand Down
Loading
Loading