ietf-pim-bidir

This YANG module defines a PIM (Protocol Independent Multicast) BIDIR (Bidirectional) mode model. Copyright (c) 2022 IETF Trust...

  • Version: 2022-10-19

    ietf-pim-bidir@2022-10-19


    
      module ietf-pim-bidir {
    
        yang-version 1.1;
    
        namespace
          "urn:ietf:params:xml:ns:yang:ietf-pim-bidir";
    
        prefix pim-bidir;
    
        import ietf-inet-types {
          prefix inet;
          reference
            "RFC 6991: Common YANG Data Types";
    
    
        }
        import ietf-routing-types {
          prefix rt-types;
          reference
            "RFC 8294: Common YANG Data Types for the Routing Area";
    
    
        }
        import ietf-interfaces {
          prefix if;
          reference
            "RFC 8343: A YANG Data Model for Interface Management";
    
    
        }
        import ietf-routing {
          prefix rt;
          reference
            "RFC 8349: A YANG Data Model for Routing Management (NMDA
            Version)";
    
    
        }
        import ietf-pim-base {
          prefix pim-base;
          reference
            "RFC 9128: A YANG Data Model for Protocol Independent
            Multicast (PIM)";
    
    
        }
        import ietf-pim-rp {
          prefix pim-rp;
          reference
            "RFC 9128: A YANG Data Model for Protocol Independent
            Multicast (PIM)";
    
    
        }
    
        organization "IETF PIM Working Group";
    
        contact
          "WG Web:   <https://datatracker.ietf.org/wg/pim/>
         WG List:  <mailto:pim@ietf.org>
    
         Editor:   Xufeng Liu
                   <mailto:xufeng.liu.ietf@gmail.com>
    
         Editor:   Pete McAllister
                   <mailto:pete.mcallister@metaswitch.com>
    
         Editor:   Anish Peter
                   <mailto:anish.ietf@gmail.com>
    
         Editor:   Mahesh Sivakumar
                   <mailto:sivakumar.mahesh@gmail.com>
    
         Editor:   Yisong Liu
                   <mailto:liuyisong@chinamobile.com>
    
         Editor:   Fangwei Hu
                   <mailto:hufwei@gmail.com>";
    
        description
          "This YANG module defines a PIM (Protocol Independent Multicast)
         BIDIR (Bidirectional) mode model.
    
         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 9128; see the
         RFC itself for full legal notices.";
    
        revision "2022-10-19" {
          description "Initial revision.";
          reference
            "RFC 9128: A YANG Data Model for Protocol Independent
            Multicast (PIM)";
    
        }
    
    
        feature intf-df-election {
          description
            "Supports configuration of interface DF election.";
          reference
            "RFC 5015: Bidirectional Protocol Independent Multicast
            (BIDIR-PIM), Section 3.5";
    
        }
    
        identity rp-bidir {
          base pim-rp:rp-mode;
          description "BIDIR mode.";
        }
    
        identity df-state {
          description
            "DF (Designated Forwarder) election state type.";
          reference
            "RFC 5015: Bidirectional Protocol Independent Multicast
            (BIDIR-PIM)";
    
        }
    
        identity df-state-offer {
          base df-state;
          description
            "Initial election state.  When in the Offer state, a router
           thinks it can eventually become the winner and periodically
           generates Offer messages.";
        }
    
        identity df-state-lose {
          base df-state;
          description
            "Either (1) there is a different election winner or
           (2) no router on the link has a path to the RPA
           (Rendezvous Point Address).";
        }
    
        identity df-state-win {
          base df-state;
          description
            "The router is the acting DF without any contest.";
        }
    
        identity df-state-backoff {
          base df-state;
          description
            "The router is the acting DF, but another router has made a
           bid to take over.";
        }
      }  // module ietf-pim-bidir
    

© 2023 YumaWorks, Inc. All rights reserved.