-- extracted from draft-ops-endpoint-mib-02.txt -- at Tue Nov 16 07:07:01 1999 INET-ENDPOINT-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY FROM SNMPv2-SMI TEXTUAL-CONVENTION FROM SNMPv2-TC; inetEndpointMIB MODULE-IDENTITY LAST-UPDATED "9910210000Z" ORGANIZATION "IETF OPS Area" CONTACT-INFO "Send comments to mibs@ops.ietf.org" DESCRIPTION "A MIB module for Internet address definitions." ::= { XXX } -- -- -- New TCs for representing generic Internet endpoints. -- These are roughly equivalent to TDomain and TAddress... -- -- -- -- Internet endpoints types -- InetEndpointType ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A value that represents a type of Internet endpoint. Note that it is possible to sub-type objects defined with this syntax by removing one or more enumerated values. The DESCRIPTION clause of such objects (or their corresponding InetEndpoint object) must document specific usage." SYNTAX INTEGER { other(0), ipv4(1), ipv6(2), dns(3) } InetEndpoint ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Denotes an generic Internet endpoint. A InetEndpoint value is always interpreted within the context of a InetEndpointType value. Thus, each definition of a InetEndpointType value must be accompanied by a definition of a textual convention for use with that InetEndpointType. When this Textual Convention is used as the syntax of an index object, there may be issues with the limit of 128 sub-identifiers specified in [SMIv2]. In this case, it is recommended that the OBJECT-TYPE declaration include a 'SIZE' clause to limit the number of potential instance sub-identifiers." REFERENCE "See the TAddress TC in std58." SYNTAX OCTET STRING (SIZE (0..255)) -- -- -- TCs for specific Internet endpoint values. -- -- -- -- IPv4 Address -- InetEndpointIPv4 ::= TEXTUAL-CONVENTION DISPLAY-HINT "1d.1d.1d.1d" STATUS current DESCRIPTION "Represents an IPv4 network address: octets contents encoding 1-4 IP address network-byte order The corresponding InetEndpointType is ipv4(1)." SYNTAX OCTET STRING (SIZE (4)) -- -- IPv6 Address -- InetEndpointIPv6 ::= TEXTUAL-CONVENTION DISPLAY-HINT "2x:2x:2x:2x:2x:2x:2x:2x" STATUS current DESCRIPTION "Represents an IPv6 network address: octets contents encoding 1-16 IPv6 address network-byte order The corresponding InetEndpointType is ipv6(2)." REFERENCE "See the Ipv6Address TC in RFC 2465." SYNTAX OCTET STRING (SIZE (16)) -- -- DNS Name -- InetEndpointDNS ::= TEXTUAL-CONVENTION DISPLAY-HINT "255a" STATUS current DESCRIPTION "Represents a fully qualified DNS host name. The corresponding InetEndpointType is dns(3). The DESCRIPTION clause of InetEndpoint objects that may have InetEndpointDNS values must fully describe how (and when) such names are to be resolved to IP addresses." REFERENCE "RFCs 952 and 1123." SYNTAX OCTET STRING (SIZE (1..255)) END -- -- Copyright (C) The Internet Society (1999). All Rights Reserved. -- -- This document and translations of it may be copied and furnished to -- others, and derivative works that comment on or otherwise explain it -- or assist in its implementation may be prepared, copied, published -- and distributed, in whole or in part, without restriction of any -- kind, provided that the above copyright notice and this paragraph are -- included on all such copies and derivative works. However, this -- document itself may not be modified in any way, such as by removing -- the copyright notice or references to the Internet Society or other -- Internet organizations, except as needed for the purpose of -- developing Internet standards in which case the procedures for -- copyrights defined in the Internet Standards process must be -- followed, or as required to translate it into languages other than -- English. -- -- The limited permissions granted above are perpetual and will not be -- revoked by the Internet Society or its successors or assigns. -- -- This document and the information contained herein is provided on an -- "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING -- TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING -- BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION -- HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF -- MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. --