hiroki | 096259b | 2018-12-07 09:33:24 -0800 | [diff] [blame] | 1 | module openconfig-transport-types { |
| 2 | |
| 3 | yang-version "1"; |
| 4 | |
| 5 | // namespace |
| 6 | namespace "http://openconfig.net/yang/transport-types"; |
| 7 | |
| 8 | prefix "oc-opt-types"; |
| 9 | |
| 10 | import openconfig-platform-types { prefix oc-platform-types; } |
| 11 | import openconfig-extensions { prefix oc-ext; } |
| 12 | import openconfig-types { prefix oc-types; } |
| 13 | |
| 14 | // meta |
| 15 | organization "OpenConfig working group"; |
| 16 | |
| 17 | contact |
| 18 | "OpenConfig working group |
| 19 | www.openconfig.net"; |
| 20 | |
| 21 | description |
| 22 | "This module contains general type definitions and identities |
| 23 | for optical transport models."; |
| 24 | |
| 25 | oc-ext:openconfig-version "0.6.0"; |
| 26 | |
| 27 | revision "2018-05-16" { |
| 28 | description |
| 29 | "Added interval,min,max time to interval stats."; |
| 30 | reference "0.6.0"; |
| 31 | } |
| 32 | |
| 33 | revision "2017-08-16" { |
| 34 | description |
| 35 | "Added ODU Cn protocol type"; |
| 36 | reference "0.5.0"; |
| 37 | } |
| 38 | |
| 39 | revision "2016-12-22" { |
| 40 | description |
| 41 | "Fixes and additions for terminal optics model"; |
| 42 | reference "0.4.0"; |
| 43 | } |
| 44 | |
| 45 | // typedef statements |
| 46 | |
| 47 | typedef frequency-type { |
| 48 | type uint64; |
| 49 | units "MHz"; |
| 50 | description |
| 51 | "Type for optical spectrum frequency values"; |
| 52 | } |
Rohit Singh | 16d4df9 | 2019-07-15 19:33:05 +0530 | [diff] [blame] | 53 | typedef modulation-format { |
| 54 | type enumeration { |
| 55 | enum UNKNOWN { |
| 56 | description |
| 57 | "quadrature phase-shift keying"; |
| 58 | } |
| 59 | enum BPSK { |
| 60 | description |
| 61 | "quadrature phase-shift keying"; |
| 62 | } |
| 63 | enum DP_BPSK { |
| 64 | description |
| 65 | "quadrature phase-shift keying"; |
| 66 | } |
| 67 | enum QPSK { |
| 68 | description |
| 69 | "quadrature phase-shift keying"; |
| 70 | } |
| 71 | enum DP_QPSK { |
| 72 | description |
| 73 | "quadrature phase-shift keying"; |
| 74 | } |
| 75 | enum 8QAM { |
| 76 | description |
| 77 | "quadrature amplitude modulation 8"; |
| 78 | } |
| 79 | enum DP_8QAM { |
| 80 | description |
| 81 | "quadrature amplitude modulation 8"; |
| 82 | } |
| 83 | enum 16QAM { |
| 84 | description |
| 85 | "quadrature amplitude modulation 16"; |
| 86 | } |
| 87 | enum DP_16QAM { |
| 88 | description |
| 89 | "quadrature amplitude modulation 16"; |
| 90 | } |
| 91 | enum 32QAM { |
| 92 | description |
| 93 | "quadrature amplitude modulation 16"; |
| 94 | } |
| 95 | enum DP_32QAM { |
| 96 | description |
| 97 | "quadrature amplitude modulation 16"; |
| 98 | } |
| 99 | enum 64QAM { |
| 100 | description |
| 101 | "quadrature amplitude modulation 16"; |
| 102 | } |
| 103 | enum DP_64QAM { |
| 104 | description |
| 105 | "quadrature amplitude modulation 16"; |
| 106 | } |
| 107 | } |
| 108 | description |
| 109 | "Modulation format"; |
| 110 | } |
hiroki | 096259b | 2018-12-07 09:33:24 -0800 | [diff] [blame] | 111 | |
| 112 | typedef admin-state-type { |
| 113 | type enumeration { |
| 114 | enum ENABLED { |
| 115 | description |
| 116 | "Sets the channel admin state to enabled"; |
| 117 | } |
| 118 | enum DISABLED { |
| 119 | description |
| 120 | "Sets the channel admin state to disabled"; |
| 121 | } |
| 122 | enum MAINT { |
| 123 | description |
| 124 | "Sets the channel to maintenance / diagnostic mode"; |
| 125 | } |
| 126 | } |
| 127 | description "Administrative state modes for |
| 128 | logical channels in the transponder model."; |
| 129 | } |
| 130 | |
| 131 | typedef loopback-mode-type { |
| 132 | type enumeration { |
| 133 | enum NONE { |
| 134 | description |
| 135 | "No loopback is applied"; |
| 136 | } |
| 137 | enum FACILITY { |
| 138 | description |
| 139 | "A loopback which directs traffic normally transmitted |
| 140 | on the port back to the device as if received on the same |
| 141 | port from an external source."; |
| 142 | } |
| 143 | enum TERMINAL { |
| 144 | description |
| 145 | "A loopback which directs traffic received from an external |
| 146 | source on the port back out the transmit side of the same |
| 147 | port."; |
| 148 | } |
| 149 | } |
| 150 | default NONE; |
| 151 | description |
| 152 | "Loopback modes for transponder logical channels"; |
| 153 | } |
| 154 | |
| 155 | // grouping statements |
| 156 | |
| 157 | grouping avg-min-max-instant-stats-precision2-ps-nm { |
| 158 | description |
| 159 | "Common grouping for recording picosecond per nanometer |
| 160 | values with 2 decimal precision. Values include the |
| 161 | instantaneous, average, minimum, and maximum statistics. |
| 162 | Statistics are computed and reported based on a moving time |
| 163 | interval (e.g., the last 30s). If supported by the device, |
| 164 | the time interval over which the statistics are computed, and |
| 165 | the times at which the minimum and maximum values occurred, |
| 166 | are also reported."; |
| 167 | |
| 168 | leaf instant { |
| 169 | type decimal64 { |
| 170 | fraction-digits 2; |
| 171 | } |
| 172 | units ps-nm; |
| 173 | description |
| 174 | "The instantaneous value of the statistic."; |
| 175 | } |
| 176 | |
| 177 | leaf avg { |
| 178 | type decimal64 { |
| 179 | fraction-digits 2; |
| 180 | } |
| 181 | units ps-nm; |
| 182 | description |
| 183 | "The arithmetic mean value of the statistic over the |
| 184 | time interval."; |
| 185 | } |
| 186 | |
| 187 | leaf min { |
| 188 | type decimal64 { |
| 189 | fraction-digits 2; |
| 190 | } |
| 191 | units ps-nm; |
| 192 | description |
| 193 | "The minimum value of the statistic over the time interval."; |
| 194 | } |
| 195 | |
| 196 | leaf max { |
| 197 | type decimal64 { |
| 198 | fraction-digits 2; |
| 199 | } |
| 200 | units ps-nm; |
| 201 | description |
| 202 | "The maximum value of the statistic over the time interval."; |
| 203 | } |
| 204 | |
| 205 | uses oc-types:stat-interval-state; |
| 206 | uses oc-types:min-max-time; |
| 207 | } |
| 208 | |
| 209 | grouping avg-min-max-instant-stats-precision2-ps { |
| 210 | description |
| 211 | "Common grouping for recording picosecond values with |
| 212 | 2 decimal precision. Values include the |
| 213 | instantaneous, average, minimum, and maximum statistics. |
| 214 | Statistics are computed and reported based on a moving time |
| 215 | interval (e.g., the last 30s). If supported by the device, |
| 216 | the time interval over which the statistics are computed, and |
| 217 | the times at which the minimum and maximum values occurred, |
| 218 | are also reported."; |
| 219 | |
| 220 | leaf instant { |
| 221 | type decimal64 { |
| 222 | fraction-digits 2; |
| 223 | } |
| 224 | units ps; |
| 225 | description |
| 226 | "The instantaneous value of the statistic."; |
| 227 | } |
| 228 | |
| 229 | leaf avg { |
| 230 | type decimal64 { |
| 231 | fraction-digits 2; |
| 232 | } |
| 233 | units ps; |
| 234 | description |
| 235 | "The arithmetic mean value of the statistic over the |
| 236 | time interval."; |
| 237 | } |
| 238 | |
| 239 | leaf min { |
| 240 | type decimal64 { |
| 241 | fraction-digits 2; |
| 242 | } |
| 243 | units ps; |
| 244 | description |
| 245 | "The minimum value of the statistic over the time interval."; |
| 246 | } |
| 247 | |
| 248 | leaf max { |
| 249 | type decimal64 { |
| 250 | fraction-digits 2; |
| 251 | } |
| 252 | units ps; |
| 253 | description |
| 254 | "The maximum value of the statistic over the time interval."; |
| 255 | } |
| 256 | |
| 257 | uses oc-types:stat-interval-state; |
| 258 | uses oc-types:min-max-time; |
| 259 | } |
| 260 | |
| 261 | grouping avg-min-max-instant-stats-precision2-ps2 { |
| 262 | description |
| 263 | "Common grouping for recording picosecond^2 values with |
| 264 | 2 decimal precision. Values include the |
| 265 | instantaneous, average, minimum, and maximum statistics. |
| 266 | Statistics are computed and reported based on a moving time |
| 267 | interval (e.g., the last 30s). If supported by the device, |
| 268 | the time interval over which the statistics are computed, and |
| 269 | the times at which the minimum and maximum values occurred, |
| 270 | are also reported."; |
| 271 | |
| 272 | leaf instant { |
| 273 | type decimal64 { |
| 274 | fraction-digits 2; |
| 275 | } |
| 276 | units ps^2; |
| 277 | description |
| 278 | "The instantaneous value of the statistic."; |
| 279 | } |
| 280 | |
| 281 | leaf avg { |
| 282 | type decimal64 { |
| 283 | fraction-digits 2; |
| 284 | } |
| 285 | units ps^2; |
| 286 | description |
| 287 | "The arithmetic mean value of the statistic over the |
| 288 | time interval."; |
| 289 | } |
| 290 | |
| 291 | leaf min { |
| 292 | type decimal64 { |
| 293 | fraction-digits 2; |
| 294 | } |
| 295 | units ps^2; |
| 296 | description |
| 297 | "The minimum value of the statistic over the time interval."; |
| 298 | } |
| 299 | |
| 300 | leaf max { |
| 301 | type decimal64 { |
| 302 | fraction-digits 2; |
| 303 | } |
| 304 | units ps^2; |
| 305 | description |
| 306 | "The maximum value of the statistic over the time |
| 307 | interval."; |
| 308 | } |
| 309 | |
| 310 | uses oc-types:stat-interval-state; |
| 311 | uses oc-types:min-max-time; |
| 312 | } |
| 313 | |
| 314 | grouping avg-min-max-instant-stats-precision18-ber { |
| 315 | description |
| 316 | "Common grouping for recording bit error rate (BER) values |
| 317 | with 18 decimal precision. Note that decimal64 supports |
| 318 | values as small as i x 10^-18 where i is an integer. Values |
| 319 | smaller than this should be reported as 0 to inidicate error |
| 320 | free or near error free performance. Values include the |
| 321 | instantaneous, average, minimum, and maximum statistics. |
| 322 | Statistics are computed and reported based on a moving time |
| 323 | interval (e.g., the last 30s). If supported by the device, |
| 324 | the time interval over which the statistics are computed, and |
| 325 | the times at which the minimum and maximum values occurred, |
| 326 | are also reported."; |
| 327 | |
| 328 | leaf instant { |
| 329 | type decimal64 { |
| 330 | fraction-digits 18; |
| 331 | } |
| 332 | units bit-errors-per-second; |
| 333 | description |
| 334 | "The instantaneous value of the statistic."; |
| 335 | } |
| 336 | |
| 337 | leaf avg { |
| 338 | type decimal64 { |
| 339 | fraction-digits 18; |
| 340 | } |
| 341 | units bit-errors-per-second; |
| 342 | description |
| 343 | "The arithmetic mean value of the statistic over the |
| 344 | time interval."; |
| 345 | } |
| 346 | |
| 347 | leaf min { |
| 348 | type decimal64 { |
| 349 | fraction-digits 18; |
| 350 | } |
| 351 | units bit-errors-per-second; |
| 352 | description |
| 353 | "The minimum value of the statistic over the time |
| 354 | interval."; |
| 355 | } |
| 356 | |
| 357 | leaf max { |
| 358 | type decimal64 { |
| 359 | fraction-digits 18; |
| 360 | } |
| 361 | units bit-errors-per-second; |
| 362 | description |
| 363 | "The maximum value of the statistic over the time |
| 364 | interval."; |
| 365 | } |
| 366 | |
| 367 | uses oc-types:stat-interval-state; |
| 368 | uses oc-types:min-max-time; |
| 369 | } |
| 370 | |
| 371 | // identity statements |
| 372 | |
| 373 | identity TRIBUTARY_PROTOCOL_TYPE { |
| 374 | description |
| 375 | "Base identity for protocol framing used by tributary |
| 376 | signals."; |
| 377 | } |
| 378 | |
| 379 | identity PROT_1GE { |
| 380 | base TRIBUTARY_PROTOCOL_TYPE; |
| 381 | description "1G Ethernet protocol"; |
| 382 | } |
| 383 | |
| 384 | identity PROT_OC48 { |
| 385 | base TRIBUTARY_PROTOCOL_TYPE; |
| 386 | description "OC48 protocol"; |
| 387 | } |
| 388 | |
| 389 | identity PROT_STM16 { |
| 390 | base TRIBUTARY_PROTOCOL_TYPE; |
| 391 | description "STM 16 protocol"; |
| 392 | } |
| 393 | |
| 394 | identity PROT_10GE_LAN { |
| 395 | base TRIBUTARY_PROTOCOL_TYPE; |
| 396 | description "10G Ethernet LAN protocol"; |
| 397 | } |
| 398 | |
| 399 | identity PROT_10GE_WAN { |
| 400 | base TRIBUTARY_PROTOCOL_TYPE; |
| 401 | description "10G Ethernet WAN protocol"; |
| 402 | } |
| 403 | |
| 404 | identity PROT_OC192 { |
| 405 | base TRIBUTARY_PROTOCOL_TYPE; |
| 406 | description "OC 192 (9.6GB) port protocol"; |
| 407 | } |
| 408 | |
| 409 | identity PROT_STM64 { |
| 410 | base TRIBUTARY_PROTOCOL_TYPE; |
| 411 | description "STM 64 protocol"; |
| 412 | } |
| 413 | |
| 414 | identity PROT_OTU2 { |
| 415 | base TRIBUTARY_PROTOCOL_TYPE; |
| 416 | description "OTU 2 protocol"; |
| 417 | } |
| 418 | |
| 419 | identity PROT_OTU2E { |
| 420 | base TRIBUTARY_PROTOCOL_TYPE; |
| 421 | description "OTU 2e protocol"; |
| 422 | } |
| 423 | |
| 424 | identity PROT_OTU1E { |
| 425 | base TRIBUTARY_PROTOCOL_TYPE; |
| 426 | description "OTU 1e protocol"; |
| 427 | } |
| 428 | |
| 429 | identity PROT_ODU2 { |
| 430 | base TRIBUTARY_PROTOCOL_TYPE; |
| 431 | description "ODU 2 protocol"; |
| 432 | } |
| 433 | |
| 434 | identity PROT_ODU2E { |
| 435 | base TRIBUTARY_PROTOCOL_TYPE; |
| 436 | description "ODU 2e protocol"; |
| 437 | } |
| 438 | |
| 439 | identity PROT_40GE { |
| 440 | base TRIBUTARY_PROTOCOL_TYPE; |
| 441 | description "40G Ethernet port protocol"; |
| 442 | } |
| 443 | |
| 444 | identity PROT_OC768 { |
| 445 | base TRIBUTARY_PROTOCOL_TYPE; |
| 446 | description "OC 768 protocol"; |
| 447 | } |
| 448 | |
| 449 | identity PROT_STM256 { |
| 450 | base TRIBUTARY_PROTOCOL_TYPE; |
| 451 | description "STM 256 protocol"; |
| 452 | } |
| 453 | |
| 454 | identity PROT_OTU3 { |
| 455 | base TRIBUTARY_PROTOCOL_TYPE; |
| 456 | description "OTU 3 protocol"; |
| 457 | } |
| 458 | |
| 459 | identity PROT_ODU3 { |
| 460 | base TRIBUTARY_PROTOCOL_TYPE; |
| 461 | description "ODU 3 protocol"; |
| 462 | } |
| 463 | |
| 464 | identity PROT_100GE { |
| 465 | base TRIBUTARY_PROTOCOL_TYPE; |
| 466 | description "100G Ethernet protocol"; |
| 467 | } |
| 468 | |
| 469 | identity PROT_100G_MLG { |
| 470 | base TRIBUTARY_PROTOCOL_TYPE; |
| 471 | description "100G MLG protocol"; |
| 472 | } |
| 473 | |
| 474 | identity PROT_OTU4 { |
| 475 | base TRIBUTARY_PROTOCOL_TYPE; |
| 476 | description "OTU4 signal protocol (112G) for transporting |
| 477 | 100GE signal"; |
| 478 | } |
| 479 | |
| 480 | identity PROT_OTUCN { |
| 481 | base TRIBUTARY_PROTOCOL_TYPE; |
| 482 | description "OTU Cn protocol"; |
| 483 | } |
| 484 | |
| 485 | identity PROT_ODUCN { |
| 486 | base TRIBUTARY_PROTOCOL_TYPE; |
| 487 | description "ODU Cn protocol"; |
| 488 | } |
| 489 | |
| 490 | identity PROT_ODU4 { |
| 491 | base TRIBUTARY_PROTOCOL_TYPE; |
| 492 | description "ODU 4 protocol"; |
| 493 | } |
| 494 | |
| 495 | identity TRANSCEIVER_FORM_FACTOR_TYPE { |
| 496 | description |
| 497 | "Base identity for identifying the type of pluggable optic |
| 498 | transceiver (i.e,. form factor) used in a port."; |
| 499 | } |
| 500 | |
| 501 | identity CFP { |
| 502 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 503 | description |
| 504 | "C form-factor pluggable, that can support up to a |
| 505 | 100 Gb/s signal with 10x10G or 4x25G physical channels"; |
| 506 | } |
| 507 | |
| 508 | identity CFP2 { |
| 509 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 510 | description |
| 511 | "1/2 C form-factor pluggable, that can support up to a |
| 512 | 200 Gb/s signal with 10x10G, 4x25G, or 8x25G physical |
| 513 | channels"; |
| 514 | } |
| 515 | |
| 516 | identity CFP2_ACO { |
| 517 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 518 | description |
| 519 | "CFP2 analog coherent optics transceiver, supporting |
| 520 | 100 Gb, 200Gb, and 250 Gb/s signal."; |
| 521 | } |
| 522 | |
| 523 | identity CFP4 { |
| 524 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 525 | description |
| 526 | "1/4 C form-factor pluggable, that can support up to a |
| 527 | 100 Gb/s signal with 10x10G or 4x25G physical channels"; |
| 528 | } |
| 529 | |
| 530 | identity QSFP { |
| 531 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 532 | description |
| 533 | "OriginalQuad Small Form-factor Pluggable transceiver that can |
| 534 | support 4x1G physical channels. Not commonly used."; |
| 535 | } |
| 536 | |
| 537 | identity QSFP_PLUS { |
| 538 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 539 | description |
| 540 | "Quad Small Form-factor Pluggable transceiver that can support |
| 541 | up to 4x10G physical channels."; |
| 542 | } |
| 543 | |
| 544 | identity QSFP28 { |
| 545 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 546 | description |
| 547 | "QSFP pluggable optic with support for up to 4x28G physical |
| 548 | channels"; |
| 549 | } |
| 550 | |
| 551 | identity CPAK { |
| 552 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 553 | description |
| 554 | "Cisco CPAK transceiver supporting 100 Gb/s."; |
| 555 | } |
| 556 | |
| 557 | identity SFP { |
| 558 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 559 | description |
| 560 | "Small form-factor pluggable transceiver supporting up to |
| 561 | 10 Gb/s signal"; |
| 562 | } |
| 563 | |
| 564 | identity SFP_PLUS { |
| 565 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 566 | description |
| 567 | "Enhanced small form-factor pluggable transceiver supporting |
| 568 | up to 16 Gb/s signals, including 10 GbE and OTU2"; |
| 569 | } |
| 570 | |
| 571 | identity XFP { |
| 572 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 573 | description |
| 574 | "10 Gigabit small form factor pluggable transceiver supporting |
| 575 | 10 GbE and OTU2"; |
| 576 | } |
| 577 | |
| 578 | identity X2 { |
| 579 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 580 | description |
| 581 | "10 Gigabit small form factor pluggable transceiver supporting |
| 582 | 10 GbE using a XAUI inerface and 4 data channels."; |
| 583 | } |
| 584 | |
| 585 | identity NON_PLUGGABLE { |
| 586 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 587 | description |
| 588 | "Represents a port that does not require a pluggable optic, |
| 589 | e.g., with on-board optics like COBO"; |
| 590 | } |
| 591 | |
| 592 | identity OTHER { |
| 593 | base TRANSCEIVER_FORM_FACTOR_TYPE; |
| 594 | description |
| 595 | "Represents a transceiver form factor not otherwise listed"; |
| 596 | } |
| 597 | |
| 598 | identity FIBER_CONNECTOR_TYPE { |
| 599 | description |
| 600 | "Type of optical fiber connector"; |
| 601 | } |
| 602 | |
| 603 | identity SC_CONNECTOR { |
| 604 | base FIBER_CONNECTOR_TYPE; |
| 605 | description |
| 606 | "SC type fiber connector"; |
| 607 | } |
| 608 | |
| 609 | identity LC_CONNECTOR { |
| 610 | base FIBER_CONNECTOR_TYPE; |
| 611 | description |
| 612 | "LC type fiber connector"; |
| 613 | } |
| 614 | |
| 615 | identity MPO_CONNECTOR { |
| 616 | base FIBER_CONNECTOR_TYPE; |
| 617 | description |
| 618 | "MPO (multi-fiber push-on/pull-off) type fiber connector |
| 619 | 1x12 fibers"; |
| 620 | } |
| 621 | |
| 622 | identity ETHERNET_PMD_TYPE { |
| 623 | description |
| 624 | "Ethernet compliance codes (PMD) supported by transceivers"; |
| 625 | } |
| 626 | |
| 627 | identity ETH_10GBASE_LRM { |
| 628 | base ETHERNET_PMD_TYPE; |
| 629 | description "Ethernet compliance code: 10GBASE_LRM"; |
| 630 | } |
| 631 | |
| 632 | identity ETH_10GBASE_LR { |
| 633 | base ETHERNET_PMD_TYPE; |
| 634 | description "Ethernet compliance code: 10GBASE_LR"; |
| 635 | } |
| 636 | |
| 637 | identity ETH_10GBASE_ZR { |
| 638 | base ETHERNET_PMD_TYPE; |
| 639 | description "Ethernet compliance code: 10GBASE_ZR"; |
| 640 | } |
| 641 | |
| 642 | identity ETH_10GBASE_ER { |
| 643 | base ETHERNET_PMD_TYPE; |
| 644 | description "Ethernet compliance code: 10GBASE_ER"; |
| 645 | } |
| 646 | |
| 647 | identity ETH_10GBASE_SR { |
| 648 | base ETHERNET_PMD_TYPE; |
| 649 | description "Ethernet compliance code: 10GBASE_SR"; |
| 650 | } |
| 651 | |
| 652 | identity ETH_40GBASE_CR4 { |
| 653 | base ETHERNET_PMD_TYPE; |
| 654 | description "Ethernet compliance code: 40GBASE_CR4"; |
| 655 | } |
| 656 | |
| 657 | identity ETH_40GBASE_SR4 { |
| 658 | base ETHERNET_PMD_TYPE; |
| 659 | description "Ethernet compliance code: 40GBASE_SR4"; |
| 660 | } |
| 661 | |
| 662 | identity ETH_40GBASE_LR4 { |
| 663 | base ETHERNET_PMD_TYPE; |
| 664 | description "Ethernet compliance code: 40GBASE_LR4"; |
| 665 | } |
| 666 | |
| 667 | identity ETH_40GBASE_ER4 { |
| 668 | base ETHERNET_PMD_TYPE; |
| 669 | description "Ethernet compliance code: 40GBASE_ER4"; |
| 670 | } |
| 671 | |
| 672 | identity ETH_40GBASE_PSM4 { |
| 673 | base ETHERNET_PMD_TYPE; |
| 674 | description "Ethernet compliance code: 40GBASE_PSM4"; |
| 675 | } |
| 676 | |
| 677 | identity ETH_4X10GBASE_LR { |
| 678 | base ETHERNET_PMD_TYPE; |
| 679 | description "Ethernet compliance code: 4x10GBASE_LR"; |
| 680 | } |
| 681 | |
| 682 | identity ETH_4X10GBASE_SR { |
| 683 | base ETHERNET_PMD_TYPE; |
| 684 | description "Ethernet compliance code: 4x10GBASE_SR"; |
| 685 | } |
| 686 | |
| 687 | identity ETH_100G_AOC { |
| 688 | base ETHERNET_PMD_TYPE; |
| 689 | description "Ethernet compliance code: 100G_AOC"; |
| 690 | } |
| 691 | |
| 692 | identity ETH_100G_ACC { |
| 693 | base ETHERNET_PMD_TYPE; |
| 694 | description "Ethernet compliance code: 100G_ACC"; |
| 695 | } |
| 696 | |
| 697 | identity ETH_100GBASE_SR10 { |
| 698 | base ETHERNET_PMD_TYPE; |
| 699 | description "Ethernet compliance code: 100GBASE_SR10"; |
| 700 | } |
| 701 | |
| 702 | identity ETH_100GBASE_SR4 { |
| 703 | base ETHERNET_PMD_TYPE; |
| 704 | description "Ethernet compliance code: 100GBASE_SR4"; |
| 705 | } |
| 706 | |
| 707 | identity ETH_100GBASE_LR4 { |
| 708 | base ETHERNET_PMD_TYPE; |
| 709 | description "Ethernet compliance code: 100GBASE_LR4"; |
| 710 | } |
| 711 | |
| 712 | identity ETH_100GBASE_ER4 { |
| 713 | base ETHERNET_PMD_TYPE; |
| 714 | description "Ethernet compliance code: 100GBASE_ER4"; |
| 715 | } |
| 716 | |
| 717 | identity ETH_100GBASE_CWDM4 { |
| 718 | base ETHERNET_PMD_TYPE; |
| 719 | description "Ethernet compliance code: 100GBASE_CWDM4"; |
| 720 | } |
| 721 | |
| 722 | identity ETH_100GBASE_CLR4 { |
| 723 | base ETHERNET_PMD_TYPE; |
| 724 | description "Ethernet compliance code: 100GBASE_CLR4"; |
| 725 | } |
| 726 | |
| 727 | identity ETH_100GBASE_PSM4 { |
| 728 | base ETHERNET_PMD_TYPE; |
| 729 | description "Ethernet compliance code: 100GBASE_PSM4"; |
| 730 | } |
| 731 | |
| 732 | identity ETH_100GBASE_CR4 { |
| 733 | base ETHERNET_PMD_TYPE; |
| 734 | description "Ethernet compliance code: 100GBASE_CR4"; |
| 735 | } |
| 736 | |
| 737 | identity ETH_UNDEFINED { |
| 738 | base ETHERNET_PMD_TYPE; |
| 739 | description "Ethernet compliance code: undefined"; |
| 740 | } |
| 741 | |
| 742 | identity SONET_APPLICATION_CODE { |
| 743 | description |
| 744 | "Supported SONET/SDH application codes"; |
| 745 | } |
| 746 | |
| 747 | identity VSR2000_3R2 { |
| 748 | base SONET_APPLICATION_CODE; |
| 749 | description |
| 750 | "SONET/SDH application code: VSR2000_3R2"; |
| 751 | } |
| 752 | |
| 753 | identity VSR2000_3R3 { |
| 754 | base SONET_APPLICATION_CODE; |
| 755 | description |
| 756 | "SONET/SDH application code: VSR2000_3R3"; |
| 757 | } |
| 758 | |
| 759 | identity VSR2000_3R5 { |
| 760 | base SONET_APPLICATION_CODE; |
| 761 | description |
| 762 | "SONET/SDH application code: VSR2000_3R5"; |
| 763 | } |
| 764 | |
| 765 | identity SONET_UNDEFINED { |
| 766 | base SONET_APPLICATION_CODE; |
| 767 | description |
| 768 | "SONET/SDH application code: undefined"; |
| 769 | } |
| 770 | |
| 771 | identity OTN_APPLICATION_CODE { |
| 772 | description |
| 773 | "Supported OTN application codes"; |
| 774 | } |
| 775 | |
| 776 | identity P1L1_2D1 { |
| 777 | base OTN_APPLICATION_CODE; |
| 778 | description |
| 779 | "OTN application code: P1L1_2D1"; |
| 780 | } |
| 781 | |
| 782 | identity P1S1_2D2 { |
| 783 | base OTN_APPLICATION_CODE; |
| 784 | description |
| 785 | "OTN application code: P1S1_2D2"; |
| 786 | } |
| 787 | |
| 788 | identity P1L1_2D2 { |
| 789 | base OTN_APPLICATION_CODE; |
| 790 | description |
| 791 | "OTN application code: P1L1_2D2"; |
| 792 | } |
| 793 | |
| 794 | identity OTN_UNDEFINED { |
| 795 | base OTN_APPLICATION_CODE; |
| 796 | description |
| 797 | "OTN application code: undefined"; |
| 798 | } |
| 799 | |
| 800 | identity TRIBUTARY_RATE_CLASS_TYPE { |
| 801 | description |
| 802 | "Rate of tributary signal _- identities will typically reflect |
| 803 | rounded bit rate."; |
| 804 | } |
| 805 | |
| 806 | identity TRIB_RATE_1G { |
| 807 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 808 | description |
| 809 | "1G tributary signal rate"; |
| 810 | } |
| 811 | |
| 812 | identity TRIB_RATE_2.5G { |
| 813 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 814 | description |
| 815 | "2.5G tributary signal rate"; |
| 816 | } |
| 817 | |
| 818 | identity TRIB_RATE_10G { |
| 819 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 820 | description |
| 821 | "10G tributary signal rate"; |
| 822 | } |
| 823 | |
| 824 | identity TRIB_RATE_40G { |
| 825 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 826 | description |
| 827 | "40G tributary signal rate"; |
| 828 | } |
| 829 | |
| 830 | identity TRIB_RATE_100G { |
| 831 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 832 | description |
| 833 | "100G tributary signal rate"; |
| 834 | } |
| 835 | |
| 836 | identity TRIB_RATE_150G { |
| 837 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 838 | description |
| 839 | "150G tributary signal rate"; |
| 840 | } |
| 841 | |
| 842 | identity TRIB_RATE_200G { |
| 843 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 844 | description |
| 845 | "200G tributary signal rate"; |
| 846 | } |
| 847 | |
| 848 | identity TRIB_RATE_250G { |
| 849 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 850 | description |
| 851 | "250G tributary signal rate"; |
| 852 | } |
| 853 | |
| 854 | identity TRIB_RATE_300G { |
| 855 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 856 | description |
| 857 | "300G tributary signal rate"; |
| 858 | } |
| 859 | |
| 860 | identity TRIB_RATE_400G { |
| 861 | base TRIBUTARY_RATE_CLASS_TYPE; |
| 862 | description |
| 863 | "400G tributary signal rate"; |
| 864 | } |
| 865 | |
| 866 | identity LOGICAL_ELEMENT_PROTOCOL_TYPE { |
| 867 | description |
| 868 | "Type of protocol framing used on the logical channel or |
| 869 | tributary"; |
| 870 | } |
| 871 | |
| 872 | identity PROT_ETHERNET { |
| 873 | base LOGICAL_ELEMENT_PROTOCOL_TYPE; |
| 874 | description |
| 875 | "Ethernet protocol framing"; |
| 876 | } |
| 877 | |
| 878 | identity PROT_OTN { |
| 879 | base LOGICAL_ELEMENT_PROTOCOL_TYPE; |
| 880 | description |
| 881 | "OTN protocol framing"; |
| 882 | } |
| 883 | |
| 884 | identity OPTICAL_CHANNEL { |
| 885 | base oc-platform-types:OPENCONFIG_HARDWARE_COMPONENT; |
| 886 | description |
| 887 | "Optical channels act as carriers for transport traffic |
| 888 | directed over a line system. They are represented as |
| 889 | physical components in the physical inventory model."; |
| 890 | } |
| 891 | |
| 892 | } |