This model defines Yang model for IP (IPv4 and IPv6) interfaces. This model reuses data items defined in the IETF YANG model fo...
Version: 2024-05-31
module org-openroadm-ip { yang-version 1; namespace "http://org/openroadm/ip"; prefix org-openroadm-ip; import org-openroadm-device { prefix org-openroadm-device; revision-date "2024-05-31"; } import ietf-inet-types { prefix inet; revision-date "2013-07-15"; } import ietf-yang-types { prefix yang; revision-date "2013-07-15"; } organization "Open ROADM MSA"; contact "OpenROADM.org"; description "This model defines Yang model for IP (IPv4 and IPv6) interfaces. This model reuses data items defined in the IETF YANG model for interfaces described by RFC 7277. Some attributes which are not required in Open ROADM MSA are removed. Yang file included are changed to fit into Open ROADM MSA yang structure. IETF code is subject to the following copyright and license: Copyright (c) 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)."; revision "2024-05-31" { description "Version 15.1"; } revision "2024-03-29" { description "Version 15.0"; } revision "2023-12-08" { description "Version 14.1"; } revision "2023-09-29" { description "Version 14.0"; } revision "2023-05-26" { description "Version 13.1"; } revision "2023-03-31" { description "Version 13.0"; } revision "2022-12-09" { description "Version 12.1"; } revision "2022-09-30" { description "Version 12.0"; } revision "2022-05-27" { description "Version 11.1"; } revision "2022-03-25" { description "Version 11.0"; } revision "2021-12-10" { description "Version 10.1"; } revision "2021-09-24" { description "Version 10.0"; } revision "2021-05-28" { description "Version 9.1"; } revision "2021-03-26" { description "Version 9.0"; } revision "2020-12-11" { description "Version 8.1"; } revision "2020-09-25" { description "Version 8.0"; } revision "2020-05-29" { description "Version 7.1.0"; } revision "2020-03-27" { description "Version 7.0.0"; } revision "2019-11-29" { description "Version 6.1.0"; } revision "2019-09-27" { description "Version 6.0.0"; } revision "2019-05-31" { description "Version 5.1.0"; } revision "2019-03-29" { description "Version 5.0.0"; } 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 ipv4-proxy-arp-subnet { description "Indicates support for IPv4 proxy arp subnet"; } 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"; } feature ipv6-proxy-ndp-subnet { description "Indicates support for IPv6 proxy ndp subnet"; } 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 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, an RFC 4941 temporary address, or an RFC 7217 semantically opaque address."; 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, e.g., IPv4 ARP or the IPv6 Neighbor Discovery protocol."; } } description "The origin of a neighbor entry."; } typedef ipv6-address-status { type enumeration { enum "preferred" { value 0; description "This is a valid address that can appear as the destination or source address of a packet."; } enum "deprecated" { value 1; description "This is a valid but deprecated address that should no longer be used as a source address in new communications, but packets addressed to such an address are processed as expected."; } enum "invalid" { value 2; description "This isn't a valid address, and it shouldn't appear as the destination or source address of a packet."; } enum "inaccessible" { value 3; description "The address is not accessible because the interface to which this address is assigned is not operational."; } enum "unknown" { value 4; description "The status cannot be determined for some reason."; } enum "tentative" { value 5; description "The uniqueness of the address on the link is being verified. Addresses in this state should not be used for general communication and should only be used to determine the uniqueness of the address."; } enum "duplicate" { value 6; description "The address has been determined to be non-unique on the link and so must not be used."; } enum "optimistic" { value 7; description "The address is available for use despite DAD not being fully complete"; } } } } // module org-openroadm-ip
© 2023 YumaWorks, Inc. All rights reserved.