openconfig-if-ethernet

Model for managing Ethernet interfaces -- augments the OpenConfig model for interface configuration and state.

  • Version: 2023-03-10

    openconfig-if-ethernet@2023-03-10


    
      module openconfig-if-ethernet {
    
        yang-version 1;
    
        namespace
          "http://openconfig.net/yang/interfaces/ethernet";
    
        prefix oc-eth;
    
        import openconfig-interfaces {
          prefix oc-if;
        }
        import iana-if-type {
          prefix ianaift;
        }
        import openconfig-yang-types {
          prefix oc-yang;
        }
        import openconfig-extensions {
          prefix oc-ext;
        }
    
        organization "OpenConfig working group";
    
        contact
          "OpenConfig working group
    netopenconfig@googlegroups.com";
    
        description
          "Model for managing Ethernet interfaces -- augments the OpenConfig
    model for interface configuration and state.";
    
        revision "2023-03-10" {
          description
            "Allow Ethernet configuration parameters to be
    used for aggregate (LAG) interfaces.";
          reference
            "2.13.0";
    
        }
    
        revision "2022-04-20" {
          description "Remove unused import";
          reference
            "2.12.2";
    
        }
    
        revision "2021-07-20" {
          description
            "Fix typo in hardware MAC address description.";
          reference
            "2.12.1";
    
        }
    
        revision "2021-07-07" {
          description
            "Add support for configuring fec-mode per interface.";
          reference
            "2.12.0";
    
        }
    
        revision "2021-06-16" {
          description
            "Remove trailing whitespace.";
          reference
            "2.11.1";
    
        }
    
        revision "2021-06-09" {
          description
            "Add support for standalone link training.";
          reference
            "2.11.0";
    
        }
    
        revision "2021-05-17" {
          description
            "Add ethernet counters: in-carrier-errors,
    in-interrupted-tx, in-late-collision, in-mac-errors-rx,
    in-single-collision, in-symbol-error and out-mac-errors-tx";
          reference
            "2.10.0";
    
        }
    
        revision "2021-03-30" {
          description
            "Add counter for drops due to oversized frames.";
          reference
            "2.9.0";
    
        }
    
        revision "2020-05-06" {
          description "Minor formatting fix.";
          reference
            "2.8.1";
    
        }
    
        revision "2020-05-06" {
          description
            "Add 200G, 400G, 600G and 800G Ethernet speeds.";
          reference
            "2.8.0";
    
        }
    
        revision "2020-05-05" {
          description
            "Fix when statement checks to use rw paths when
    from a rw context.";
          reference
            "2.7.3";
    
        }
    
        revision "2019-04-16" {
          description
            "Update import prefix for iana-if-type module";
          reference
            "2.7.2";
    
        }
    
        revision "2018-11-21" {
          description
            "Add OpenConfig module metadata extensions.";
          reference
            "2.6.2";
    
        }
    
        revision "2018-09-04" {
          description
            "Remove in-crc-align-errors as it is a duplicate of
    in-crc-errors";
          reference
            "2.6.1";
    
        }
    
        revision "2018-08-28" {
          description
            "Add Ethernet counter in-block-errors";
          reference
            "2.6.0";
    
        }
    
        revision "2018-07-02" {
          description
            "Add new ethernet counters of in-undersize-frames,
    in-crc-align-errors and the distribution container";
          reference
            "2.5.0";
    
        }
    
        revision "2018-04-10" {
          description
            "Add identities for 2.5 and 5 Gbps.";
          reference
            "2.4.0";
    
        }
    
        revision "2018-01-05" {
          description
            "Add logical loopback to interface.";
          reference
            "2.3.0";
    
        }
    
        revision "2017-12-21" {
          description
            "Added IPv6 router advertisement configuration.";
          reference
            "2.1.0";
    
        }
    
        revision "2017-07-14" {
          description
            "Added Ethernet/IP state data; Add dhcp-client;
    migrate to OpenConfig types modules; Removed or
    renamed opstate values";
          reference
            "2.0.0";
    
        }
    
        revision "2016-12-22" {
          description
            "Fixes to Ethernet interfaces model";
          reference
            "1.1.0";
    
        }
    
        oc-ext:openconfig-version "2.13.0";
        oc-ext:regexp-posix;
        oc-ext:catalog-organization "openconfig";
        oc-ext:origin "openconfig";
    
        identity INTERFACE_FEC {
          description
            "Base type to specify FEC modes that can be configured on the interface.
    These are FEC modes defined for applying to logical interfaces and their
    underlying electrical channels.";
        }
    
        identity FEC_FC {
          base INTERFACE_FEC;
          description
            "Firecode is used for channels with NRZ modulation and speeds less than 100G.
    This FEC is designed to comply with the IEEE 802.3, Clause 74.";
        }
    
        identity FEC_RS528 {
          base INTERFACE_FEC;
          description
            "RS528 is used for channels with NRZ modulation. This FEC is designed to
    comply with IEEE 802.3, Clause 91.";
        }
    
        identity FEC_RS544 {
          base INTERFACE_FEC;
          description
            "RS544 is used for channels with PAM4 modulation.";
        }
    
        identity FEC_RS544_2X_INTERLEAVE {
          base INTERFACE_FEC;
          description
            "RS544-2x-interleave is used for channels with PAM4 modulation.";
        }
    
        identity FEC_DISABLED {
          base INTERFACE_FEC;
          description
            "FEC is administratively disabled.";
        }
    
        identity ETHERNET_SPEED {
          description
            "base type to specify available Ethernet link
    speeds";
        }
    
        identity SPEED_10MB {
          base ETHERNET_SPEED;
          description "10 Mbps Ethernet";
        }
    
        identity SPEED_100MB {
          base ETHERNET_SPEED;
          description "100 Mbps Ethernet";
        }
    
        identity SPEED_1GB {
          base ETHERNET_SPEED;
          description "1 Gbps Ethernet";
        }
    
        identity SPEED_2500MB {
          base ETHERNET_SPEED;
          description "2.5 Gbps Ethernet";
        }
    
        identity SPEED_5GB {
          base ETHERNET_SPEED;
          description "5 Gbps Ethernet";
        }
    
        identity SPEED_10GB {
          base ETHERNET_SPEED;
          description "10 Gbps Ethernet";
        }
    
        identity SPEED_25GB {
          base ETHERNET_SPEED;
          description "25 Gbps Ethernet";
        }
    
        identity SPEED_40GB {
          base ETHERNET_SPEED;
          description "40 Gbps Ethernet";
        }
    
        identity SPEED_50GB {
          base ETHERNET_SPEED;
          description "50 Gbps Ethernet";
        }
    
        identity SPEED_100GB {
          base ETHERNET_SPEED;
          description "100 Gbps Ethernet";
        }
    
        identity SPEED_200GB {
          base ETHERNET_SPEED;
          description "200 Gbps Ethernet";
        }
    
        identity SPEED_400GB {
          base ETHERNET_SPEED;
          description "400 Gbps Ethernet";
        }
    
        identity SPEED_600GB {
          base ETHERNET_SPEED;
          description "600 Gbps Ethernet";
        }
    
        identity SPEED_800GB {
          base ETHERNET_SPEED;
          description "800 Gbps Ethernet";
        }
    
        identity SPEED_UNKNOWN {
          base ETHERNET_SPEED;
          description
            "Interface speed is unknown.  Systems may report
    speed UNKNOWN when an interface is down or unpopuplated (e.g.,
    pluggable not present).";
        }
      }  // module openconfig-if-ethernet
    

© 2023 YumaWorks, Inc. All rights reserved.