This schema was generated from the YANG module inet-types by pyang version 00.1. The schema describes an instance document consisting of the entire configuration data store and operational data. This schema can thus NOT be used as-is to validate NETCONF PDUs. This module contains standard derived YANG types for Internet addresses and related things. YANG Language Design Team Martin Bjorklund (Editor) <mbj@tail-f.com> Initial revision. This value represents the version of the IP protocol. The dscp type represents a Differentiated Services Code-Point that may be used for marking a traffic stream. The flow-label type represents flow identifier or Flow Label in an IPv6 packet header that may be used to discriminate traffic flows. The port-number type represents a 16-bit port number of an Internet transport layer protocol such as UDP, TCP, DCCP or SCTP. Port numbers are assigned by IANA. A current list of all assignments is available from <http://www.iana.org/>. Note that the value zero is not a valid port number. A union type might be used in situations where the value zero is meaningful. The asn type represents autonomous system numbers which identify an Autonomous System (AS). An AS is a set of routers under a single technical administration, using an interior gateway protocol and common metrics to route packets within the AS, and using an exterior gateway protocol to route packets to other ASs'. IANA maintains the AS number space and has delegated large parts to the regional registries. Autonomous system numbers are currently limited to 16 bits (0..65535). There is however work in progress to enlarge the autonomous system number space to 32 bits. This textual convention therefore uses an uint32 base type without a range restriction in order to support a larger autonomous system number space. The ip-address type represents an IP address and is IP version neutral. The format of the textual representations implies the IP version. The ipv4-address type represents an IPv4 address in dotted-quad notation. The IPv4 address may include a zone index, separated by a % sign. The ipv6-address type represents an IPv6 address in full, mixed, shortened and shortened mixed notation. The IPv6 address may include a zone index, separated by a % sign. The ip-prefix type represents an IP prefix and is IP version neutral. The format of the textual representations implies the IP version. The ipv4-prefix type represents an IPv4 address prefix. The prefix length is given by the number following the slash character and must be less than or equal 32. Values larger than 32 should be treated as 32. A prefix length value of n corresponds to an IP address mask which has n contiguous 1-bits from the most significant bit (MSB) and all other bits set to 0. The IPv4 address represented in dotted quad notation should have all bits that do not belong to the prefix set to zero. The ipv6-prefix type represents an IPv6 address prefix. The prefix length is given by the number following the slash character and must be less than or equal 128. Values larger than 128 should be treated as 128. A prefix length value of n corresponds to an IP address mask which has n contiguous 1-bits from the most significant bit (MSB) and all other bits set to 0. The IPv6 address represented in dotted quad notation should have all bits that do not belong to the prefix set to zero. The domain-name type represents a DNS domain name. The name SHOULD be fully qualified whenever possible. The description clause of objects using the domain-name type MUST describe how (and when) these names are resolved to IP addresses. Note that the resolution of a domain-name value may require to query multiple DNS records (e.g., A for IPv4 and AAAA for IPv6). The order of the resolution process and which DNS record takes precedence depends on the configuration of the resolver. The host type represents either an IP address or a DNS domain name.