ietf-bfd-lag

This module contains the YANG definition for BFD-over-LAG interfaces as per RFC 7130. Copyright (c) 2022 IETF Trust and the per...

  • Version: 2022-09-22

    ietf-bfd-lag@2022-09-22


    
      module ietf-bfd-lag {
    
        yang-version 1.1;
    
        namespace
          "urn:ietf:params:xml:ns:yang:ietf-bfd-lag";
    
        prefix bfd-lag;
    
        import ietf-bfd-types {
          prefix bfd-types;
          reference
            "RFC 9314: YANG Data Model for Bidirectional Forwarding
            Detection (BFD)";
    
    
        }
        import ietf-bfd {
          prefix bfd;
          reference
            "RFC 9314: YANG Data Model for Bidirectional Forwarding
            Detection (BFD)";
    
    
        }
        import ietf-interfaces {
          prefix if;
          reference
            "RFC 8343: A YANG Data Model for Interface Management";
    
    
        }
        import ietf-inet-types {
          prefix inet;
          reference
            "RFC 6991: Common YANG Data Types";
    
    
        }
        import ietf-routing {
          prefix rt;
          reference
            "RFC 8349: A YANG Data Model for Routing Management
            (NMDA Version)";
    
    
        }
    
        organization "IETF BFD Working Group";
    
        contact
          "WG Web:   <https://datatracker.ietf.org/wg/bfd/>
         WG List:  <mailto:rtg-bfd@ietf.org>
    
         Editor:   Reshad Rahman
                   <mailto:reshad@yahoo.com>
    
         Editor:   Lianshu Zheng
                   <mailto:veronique_cheng@hotmail.com>
    
         Editor:   Mahesh Jethanandani
                   <mailto:mjethanandani@gmail.com>";
    
        description
          "This module contains the YANG definition for BFD-over-LAG
         interfaces as per RFC 7130.
    
         Copyright (c) 2022 IETF Trust and the persons identified as
         authors of the code.  All rights reserved.
    
         Redistribution and use in source and binary forms, with or
         without modification, is permitted pursuant to, and subject
         to the license terms contained in, the Revised BSD License set
         forth in Section 4.c of the IETF Trust's Legal Provisions
         Relating to IETF Documents
         (https://trustee.ietf.org/license-info).
    
         This version of this YANG module is part of RFC 9314; see the
         RFC itself for full legal notices.";
    
        reference
          "RFC 7130: Bidirectional Forwarding Detection (BFD) on
          Link Aggregation Group (LAG) Interfaces
           RFC 9314: YANG Data Model for Bidirectional Forwarding
          Detection (BFD)";
    
    
        revision "2022-09-22" {
          description
            "Updating reference to RFC 9314.";
          reference
            "RFC 9314: YANG Data Model for Bidirectional Forwarding
            Detection (BFD).";
    
        }
    
        revision "2021-10-21" {
          description "Initial revision.";
          reference
            "RFC 9127: YANG Data Model for Bidirectional Forwarding
            Detection (BFD)";
    
        }
    
    
        notification lag-notification {
          description
            "Notification for BFD-over-LAG session state change.
           An implementation may rate-limit notifications, e.g., when a
           session is continuously changing state.";
          leaf local-discr {
            type discriminator;
            description
              "BFD local discriminator.";
          }
    
          leaf remote-discr {
            type discriminator;
            description
              "BFD remote discriminator.";
          }
    
          leaf new-state {
            type state;
            description "Current BFD state.";
          }
    
          leaf state-change-reason {
            type iana-bfd-types:diagnostic;
            description
              "Reason for the BFD state change.";
          }
    
          leaf time-of-last-state-change {
            type yang:date-and-time;
            description
              "Calendar time of the most recent previous state change.";
          }
    
          leaf dest-addr {
            type inet:ip-address;
            description "BFD peer address.";
          }
    
          leaf source-addr {
            type inet:ip-address;
            description "BFD local address.";
          }
    
          leaf session-index {
            type uint32;
            description
              "An index used to uniquely identify BFD sessions.";
          }
    
          leaf path-type {
            type identityref {
              base path-type;
            }
            description "BFD path type.";
          }
    
          leaf lag-name {
            type if:interface-ref;
            description "LAG interface name.";
          }
    
          leaf member-link {
            type if:interface-ref;
            description
              "Member link on which BFD is running.";
          }
        }  // notification lag-notification
      }  // module ietf-bfd-lag
    

© 2023 YumaWorks, Inc. All rights reserved.