netconfcentral logo


  module ietf-bfd {

    yang-version 1;


    prefix bfd;

    import ietf-bfd-types {
      prefix bfd-types;
    import ietf-routing {
      prefix rt;

    organization "IETF BFD Working Group";

      "WG Web:   <>
     WG List:  <>
     Editors:  Reshad Rahman (,
               Lianshu Zheng (,
               Mahesh Jethanandani (";

      "This module contains the YANG definition for BFD parameters as
     per RFC5880.

     Copyright (c) 2017 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

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

    revision "2017-10-30" {
      description "Initial revision.";
        "RFC XXXX: A YANG data model for BFD";


    augment /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol {
      when "rt:type = 'bfd-types:bfdv1'" {
          "This augmentation is only valid for a control-plane protocol
         instance of BFD (type 'bfdv1').";
      description "BFD augmentation.";
      container bfd {
          "BFD top level container";
        uses bfd-types:session-statistics;
      }  // container bfd
  }  // module ietf-bfd