netconfcentral logo

openconfig-if-aggregate@2020-05-01



  module openconfig-if-aggregate {

    yang-version 1;

    namespace
      "http://openconfig.net/yang/interfaces/aggregate";

    prefix oc-lag;

    import openconfig-interfaces {
      prefix oc-if;
    }
    import openconfig-if-ethernet {
      prefix oc-eth;
    }
    import iana-if-type {
      prefix ianaift;
    }
    import openconfig-if-types {
      prefix oc-ift;
    }
    import openconfig-extensions {
      prefix oc-ext;
    }

    organization "OpenConfig working group";

    contact
      "OpenConfig working group
netopenconfig@googlegroups.com";

    description
      "Model for managing aggregated (aka bundle, LAG) interfaces.";

    revision "2020-05-01" {
      description
        "Update when statements to reference config nodes
from config true elements.";
      reference
        "2.4.3";

    }

    revision "2019-04-16" {
      description
        "Update import prefix for iana-if-type module";
      reference
        "2.4.2";

    }

    revision "2018-11-21" {
      description
        "Add OpenConfig module metadata extensions.";
      reference
        "2.3.2";

    }

    revision "2018-03-23" {
      description
        "Fix/cleanup when statements in aggregates model.";
      reference
        "2.3.1";

    }

    revision "2018-01-05" {
      description
        "Add logical loopback to interface.";
      reference
        "2.3.0";

    }

    revision "2017-12-22" {
      description
        "Add IPv4 proxy ARP configuration.";
      reference
        "2.2.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.4.3";
    oc-ext:regexp-posix;
    oc-ext:catalog-organization "openconfig";
    oc-ext:origin "openconfig";

    typedef aggregation-type {
      type enumeration {
        enum "LACP" {
          value 0;
          description "LAG managed by LACP";
        }
        enum "STATIC" {
          value 1;
          description
            "Statically configured bundle / LAG";
        }
      }
      description
        "Type to define the lag-type, i.e., how the LAG is
defined and managed";
    }
  }  // module openconfig-if-aggregate