netconfcentral logo

ietf-bfd-ip-mh

HTML

ietf-bfd-ip-mh@2018-08-01



  module ietf-bfd-ip-mh {

    yang-version 1.1;

    namespace
      "urn:ietf:params:xml:ns:yang:ietf-bfd-ip-mh";

    prefix bfd-ip-mh;

    import ietf-bfd-types {
      prefix bfd-types;
      reference
        "RFC XXXX: YANG Data Model for BFD";


    }
    import ietf-bfd {
      prefix bfd;
      reference
        "RFC XXXX: YANG Data Model for BFD";


    }
    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:   <http://tools.ietf.org/wg/bfd>
     WG List:  <rtg-bfd@ietf.org>

     Editors:  Reshad Rahman (rrahman@cisco.com),
               Lianshu Zheng (vero.zheng@huawei.com),
               Mahesh Jethanandani (mjethanandani@gmail.com)";

    description
      "This module contains the YANG definition for BFD IP multi-hop
     as per RFC 5883.

     Copyright (c) 2018 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 Simplified BSD License
     set forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (http://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC XXXX; see
     the RFC itself for full legal notices.";

    reference
      "RFC XXXX";


    revision "2018-08-01" {
      description "Initial revision.";
      reference
        "RFC XXXX: A YANG data model for BFD IP multihop.";

    }


    augment /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/bfd:bfd {
      description
        "BFD augmentation for IP multihop.";
      container ip-mh {
        description
          "BFD IP multihop top level container.";
        uses bfd-types:session-statistics-summary;

        container session-groups {
          description
            "BFD IP multi-hop session groups.";
          list session-group {
            key "source-addr dest-addr";
            description
              "Group of BFD IP multi-hop sessions (for ECMP). A "
                + "group of sessions is between 1 source and 1  "
                + "destination, each session has a different field "
                + "in UDP/IP hdr for ECMP.";
            leaf source-addr {
              type inet:ip-address;
              description
                "Local IP address.";
            }

            leaf dest-addr {
              type inet:ip-address;
              description
                "IP address of the peer.";
            }

            uses bfd-types:common-cfg-parms;

            leaf tx-ttl {
              type bfd-types:hops;
              default '255';
              description
                "Hop count of outgoing BFD control packets.";
            }

            leaf rx-ttl {
              type bfd-types:hops;
              mandatory true;
              description
                "Minimum allowed hop count value for incoming BFD control
               packets. Control packets whose hop count is lower than
               this value are dropped.";
            }

            list sessions {
              config false;
              description
                "The multiple BFD sessions between a source and a "
                  + "destination.";
              uses bfd-types:all-session;
            }  // list sessions
          }  // list session-group
        }  // container session-groups
      }  // container ip-mh
    }

    notification multihop-notification {
      description
        "Notification for BFD multi-hop session state change. An "
          + "implementation may rate-limit notifications, e.g. when a "
          + "session is continuously changing state.";
      uses bfd-types:notification-parms;
    }  // notification multihop-notification
  }  // module ietf-bfd-ip-mh

Summary

  
  
Organization IETF BFD Working Group
  
Module ietf-bfd-ip-mh
Version 2018-08-01
File ietf-bfd-ip-mh@2018-08-01.yang
  
Prefix bfd-ip-mh
Namespace urn:ietf:params:xml:ns:yang:ietf-bfd-ip-mh
Reference
RFC XXXX
  
Cooked /cookedmodules/ietf-bfd-ip-mh/2018-08-01
YANG /src/ietf-bfd-ip-mh@2018-08-01.yang
XSD /xsd/ietf-bfd-ip-mh@2018-08-01.xsd
  
Abstract This module contains the YANG definition for BFD IP multi-hop as per RFC 5883. Copyright (c) 2018 IETF Trust and the persons id...
  
Contact
WG Web:   <http://tools.ietf.org/wg/bfd>
WG List:  <rtg-bfd@ietf.org>

Editors:  Reshad Rahman (rrahman@cisco.com),
	  Lianshu Zheng (vero.zheng@huawei.com),
	  Mahesh Jethanandani (mjethanandani@gmail.com)

Description

 
This module contains the YANG definition for BFD IP multi-hop
as per RFC 5883.

Copyright (c) 2018 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 Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).

This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices.

Notifications

Notification Abstract
multihop-notification Notification for BFD multi-hop session state change. An implementation may rate-limit notifications, e.g. when a session is continuously changing state.