openconfig-lacp

This module describes configuration and operational state data for Link Aggregation Control Protocol (LACP) for managing aggrega...

  • Version: 2017-05-05

    openconfig-lacp@2017-05-05


    
      module openconfig-lacp {
    
        yang-version 1;
    
        namespace
          "http://openconfig.net/yang/lacp";
    
        prefix oc-lacp;
    
        import openconfig-interfaces {
          prefix oc-if;
        }
        import openconfig-yang-types {
          prefix oc-yang;
        }
        import openconfig-extensions {
          prefix oc-ext;
        }
    
        organization "OpenConfig working group";
    
        contact
          "OpenConfig working group
      www.openconfig.net";
    
        description
          "This module describes configuration and operational state
      data for Link Aggregation Control Protocol (LACP) for
      managing aggregate interfaces.   It works in conjunction with
      the OpenConfig interfaces and aggregate interfaces models.";
    
        revision "2017-05-05" {
          description
            "Add member local and remote port num";
          reference
            "1.1.0";
    
        }
    
        revision "2016-05-26" {
          description
            "OpenConfig public release";
          reference
            "1.0.2";
    
        }
    
        oc-ext:openconfig-version "1.1.0";
    
        typedef lacp-activity-type {
          type enumeration {
            enum "ACTIVE" {
              value 0;
              description
                "Interface is an active member, i.e., will detect and
            maintain aggregates";
            }
            enum "PASSIVE" {
              value 1;
              description
                "Interface is a passive member, i.e., it participates
            with an active partner";
            }
          }
          description
            "Describes the LACP membership type, active or passive, of the
        interface in the aggregate";
          reference
            "IEEE 802.1AX-2008";
    
        }
    
        typedef lacp-timeout-type {
          type enumeration {
            enum "LONG" {
              value 0;
              description
                "Participant wishes to use long timeouts to detect
            status of the aggregate, i.e., will expect less frequent
            transmissions. Long timeout is 90 seconds.";
            }
            enum "SHORT" {
              value 1;
              description
                "Participant wishes to use short timeouts, i.e., expects
            frequent transmissions to aggressively detect status
            changes. Short timeout is 3 seconds.";
            }
          }
          description
            "Type of timeout used, short or long, by LACP participants";
          reference
            "IEEE 802.1AX-2008";
    
        }
    
        typedef lacp-synchronization-type {
          type enumeration {
            enum "IN_SYNC" {
              value 0;
              description
                "Participant is in sync with the system id and key
            transmitted";
            }
            enum "OUT_SYNC" {
              value 1;
              description
                "Participant is not in sync with the system id and key
            transmitted";
            }
          }
          description
            "Indicates LACP synchronization state of participant";
          reference
            "IEEE 802.1AX-2008";
    
        }
    
        typedef lacp-period-type {
          type enumeration {
            enum "FAST" {
              value 0;
              description
                "Send LACP packets every second";
            }
            enum "SLOW" {
              value 1;
              description
                "Send LACP packets every 30 seconds";
            }
          }
          description
            "Defines the period options for the time between sending
        LACP messages";
          reference
            "IEEE 802.3ad";
    
        }
      }  // module openconfig-lacp
    

© 2024 YumaWorks, Inc. All rights reserved.