openconfig-lacp

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

  • Version: 2023-12-11

    openconfig-lacp@2023-12-11


    
      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;
        }
        import openconfig-types {
          prefix oc-types;
        }
    
        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 "2023-12-11" {
          description
            "Add config container for aggregation member and port-priority leaf under
           both config and state";
          reference
            "2.0.0";
    
        }
    
        revision "2021-07-20" {
          description
            "Add count of number of timeouts and time of the last timeout.";
          reference
            "1.2.0";
    
        }
    
        revision "2018-11-21" {
          description
            "Add OpenConfig module metadata extensions.";
          reference
            "1.1.1";
    
        }
    
        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 "2.0.0";
        oc-ext:regexp-posix;
        oc-ext:catalog-organization "openconfig";
        oc-ext:origin "openconfig";
    
        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
    

© 2023 YumaWorks, Inc. All rights reserved.