ietf-ip

This module contains a collection of YANG definitions for managing IP implementations. Copyright (c) 2018 IETF Trust and the pe...

  • Version: 2018-02-22

    ietf-ip@2018-02-22


    
      module ietf-ip {
    
        yang-version 1.1;
    
        namespace
          "urn:ietf:params:xml:ns:yang:ietf-ip";
    
        prefix ip;
    
        import ietf-interfaces {
          prefix if;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-types {
          prefix yang;
        }
    
        organization
          "IETF NETMOD (Network Modeling) Working Group";
    
        contact
          "WG Web:   <https://datatracker.ietf.org/wg/netmod/>
    WG List:  <mailto:netmod@ietf.org>
    
    Editor:   Martin Bjorklund
    	  <mailto:mbj@tail-f.com>";
    
        description
          "This module contains a collection of YANG definitions for
    managing IP implementations.
    
    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
    (https://trustee.ietf.org/license-info).
    
    This version of this YANG module is part of RFC 8344; see
    the RFC itself for full legal notices.";
    
        revision "2018-02-22" {
          description "Updated to support NMDA.";
          reference
            "RFC 8344: A YANG Data Model for IP Management";
    
        }
    
        revision "2014-06-16" {
          description "Initial revision.";
          reference
            "RFC 7277: A YANG Data Model for IP Management";
    
        }
    
    
        feature ipv4-non-contiguous-netmasks {
          description
            "Indicates support for configuring non-contiguous
    subnet masks.";
        }
    
        feature ipv6-privacy-autoconf {
          description
            "Indicates support for privacy extensions for stateless address
    autoconfiguration in IPv6.";
          reference
            "RFC 4941: Privacy Extensions for Stateless Address
            	  Autoconfiguration in IPv6";
    
        }
    
        typedef ip-address-origin {
          type enumeration {
            enum "other" {
              value 0;
              description
                "None of the following.";
            }
            enum "static" {
              value 1;
              description
                "Indicates that the address has been statically
    configured -- for example, using the Network Configuration
    Protocol (NETCONF) or a command line interface.";
            }
            enum "dhcp" {
              value 2;
              description
                "Indicates an address that has been assigned to this
    system by a DHCP server.";
            }
            enum "link-layer" {
              value 3;
              description
                "Indicates an address created by IPv6 stateless
    autoconfiguration that embeds a link-layer address in its
    interface identifier.";
            }
            enum "random" {
              value 4;
              description
                "Indicates an address chosen by the system at
    random, e.g., an IPv4 address within 169.254/16, a
    temporary address as described in RFC 4941, or a
    semantically opaque address as described in RFC 7217.";
              reference
                "RFC 4941: Privacy Extensions for Stateless Address
                	  Autoconfiguration in IPv6
                 RFC 7217: A Method for Generating Semantically Opaque
                	  Interface Identifiers with IPv6 Stateless
                	  Address Autoconfiguration (SLAAC)";
    
            }
          }
          description
            "The origin of an address.";
        }
    
        typedef neighbor-origin {
          type enumeration {
            enum "other" {
              value 0;
              description
                "None of the following.";
            }
            enum "static" {
              value 1;
              description
                "Indicates that the mapping has been statically
    configured -- for example, using NETCONF or a command line
    interface.";
            }
            enum "dynamic" {
              value 2;
              description
                "Indicates that the mapping has been dynamically resolved
    using, for example, IPv4 ARP or the IPv6 Neighbor
    Discovery protocol.";
            }
          }
          description
            "The origin of a neighbor entry.";
        }
      }  // module ietf-ip
    

© 2021 YumaWorks, Inc. All rights reserved.