ietf-babel

This YANG module defines a model for the Babel routing protocol. The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL ...

  • Version: 2024-10-10

    ietf-babel@2024-10-10


    
      module ietf-babel {
    
        yang-version 1.1;
    
        namespace
          "urn:ietf:params:xml:ns:yang:ietf-babel";
    
        prefix babel;
    
        import ietf-yang-types {
          prefix yang;
          reference
            "RFC 6991: Common YANG Data Types";
    
    
        }
        import ietf-inet-types {
          prefix inet;
          reference
            "RFC 6991: Common YANG Data Types";
    
    
        }
        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-crypto-types {
          prefix ct;
          reference
            "RFC 9640: YANG Data Types and Groupings
            for Cryptography";
    
    
        }
        import ietf-netconf-acm {
          prefix nacm;
          reference
            "RFC 8341: Network Configuration Access Control Model";
    
    
        }
    
        organization
          "IETF Babel routing protocol Working Group";
    
        contact
          "WG Web:  https://datatracker.ietf.org/wg/babel/
         WG List: babel@ietf.org
    
         Editor: Mahesh Jethanandani
                 mjethanandani@gmail.com
         Editor: Barbara Stark
                 bs7652@att.com";
    
        description
          "This YANG module defines a model for the Babel routing
         protocol.
    
         The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
         NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
         'MAY', and 'OPTIONAL' in this document are to be interpreted as
         described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
         they appear in all capitals, as shown here.
    
         Copyright (c) 2024 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 9647
         (https://www.rfc-editor.org/info/rfc9647); see the RFC itself
         for full legal notices.";
    
        revision "2024-10-10" {
          description "Initial version.";
          reference
            "RFC 9647: A YANG Data Model for Babel";
    
        }
    
    
        feature two-out-of-three-supported {
          description
            "This implementation supports the '2-out-of-3'
           computation algorithm.";
        }
    
        feature etx-supported {
          description
            "This implementation supports the Expected Transmission Count
           (ETX) metric computation algorithm.";
        }
    
        feature mac-supported {
          description
            "This implementation supports MAC-based security.";
          reference
            "RFC 8967: MAC Authentication for the Babel Routing
            Protocol";
    
        }
    
        feature dtls-supported {
          description
            "This implementation supports DTLS-based security.";
          reference
            "RFC 8968: Babel Routing Protocol over Datagram
            Transport Layer Security";
    
        }
    
        feature hmac-sha256-supported {
          description
            "This implementation supports the HMAC-SHA256 MAC algorithm.";
          reference
            "RFC 8967: MAC Authentication for the Babel Routing
            Protocol";
    
        }
    
        feature blake2s-supported {
          description
            "This implementation supports BLAKE2s MAC algorithms.";
          reference
            "RFC 8967: MAC Authentication for the Babel Routing
            Protocol";
    
        }
    
        feature x-509-supported {
          description
            "This implementation supports the X.509 certificate type.";
          reference
            "RFC 8968: Babel Routing Protocol over Datagram
            Transport Layer Security";
    
        }
    
        feature raw-public-key-supported {
          description
            "This implementation supports the raw public key certificate
           type.";
          reference
            "RFC 8968: Babel Routing Protocol over Datagram
            Transport Layer Security";
    
        }
    
        identity metric-comp-algorithms {
          description
            "Base identity from which all Babel metric computation
           algorithms MUST be derived.";
        }
    
        identity two-out-of-three {
          base metric-comp-algorithms;
          description "2-out-of-3 algorithm.";
          reference
            "RFC 8966: The Babel Routing Protocol, Section A.2.1";
    
        }
    
        identity etx {
          base metric-comp-algorithms;
          description
            "Expected Transmission Count (ETX) metric computation
           algorithm.";
          reference
            "RFC 8966: The Babel Routing Protocol, Section A.2.2";
    
        }
    
        identity mac-algorithms {
          description
            "Base identity for all Babel MAC algorithms.";
        }
    
        identity hmac-sha256 {
          base mac-algorithms;
          description
            "HMAC-SHA256 algorithm supported.";
          reference
            "RFC 4868: Using HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512
            with IPsec";
    
        }
    
        identity blake2s {
          base mac-algorithms;
          description
            "BLAKE2s algorithms supported. Specifically, BLAKE2-128 is
           supported.";
          reference
            "RFC 7693: The BLAKE2 Cryptographic Hash and Message
            Authentication Code (MAC)";
    
        }
    
        identity dtls-cert-types {
          description
            "Base identity for Babel DTLS certificate types.";
        }
    
        identity x-509 {
          base dtls-cert-types;
          description "X.509 certificate type.";
        }
    
        identity raw-public-key {
          base dtls-cert-types;
          description
            "Raw public key certificate type.";
        }
    
        identity babel {
          base rt:routing-protocol;
          description "Babel routing protocol";
        }
      }  // module ietf-babel
    

© 2024 YumaWorks, Inc. All rights reserved.