Blame mibs/ietf/URI-TC-MIB

Packit 022b05
URI-TC-MIB DEFINITIONS ::= BEGIN
Packit 022b05
Packit 022b05
IMPORTS
Packit 022b05
    MODULE-IDENTITY, mib-2             FROM SNMPv2-SMI      -- [RFC2578]
Packit 022b05
    TEXTUAL-CONVENTION                 FROM SNMPv2-TC;      -- [RFC2579]
Packit 022b05
Packit 022b05
uriTcMIB MODULE-IDENTITY
Packit 022b05
    LAST-UPDATED "200709100000Z" -- 10 September 2007
Packit 022b05
    ORGANIZATION "IETF Operations and Management (OPS) Area"
Packit 022b05
    CONTACT-INFO "EMail: ops-area@ietf.org
Packit 022b05
                  Home page: http://www.ops.ietf.org/"
Packit 022b05
    DESCRIPTION
Packit 022b05
            "This MIB module defines textual conventions for
Packit 022b05
            representing URIs, as defined by RFC 3986 STD 66."
Packit 022b05
    REVISION     "200709100000Z" -- 10 September 2007
Packit 022b05
    DESCRIPTION
Packit 022b05
           "Initial revision, published as RFC 5017.
Packit 022b05
Packit 022b05
            Copyright (C) The IETF Trust (2007).  This version of this
Packit 022b05
            MIB module is part of RFC 5017; see the RFC itself for full
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
            legal notices."
Packit 022b05
    ::= { mib-2 164 }
Packit 022b05
Packit 022b05
Uri ::= TEXTUAL-CONVENTION
Packit 022b05
   DISPLAY-HINT "1a"
Packit 022b05
   STATUS      current
Packit 022b05
   DESCRIPTION
Packit 022b05
            "A Uniform Resource Identifier (URI) as defined by STD 66.
Packit 022b05
Packit 022b05
            Objects using this TEXTUAL-CONVENTION MUST be in US-ASCII
Packit 022b05
            encoding, and MUST be normalized as described by RFC 3986
Packit 022b05
            Sections 6.2.1, 6.2.2.1, and 6.2.2.2.  All unnecessary
Packit 022b05
            percent-encoding is removed, and all case-insensitive
Packit 022b05
            characters are set to lowercase except for hexadecimal
Packit 022b05
            digits, which are normalized to uppercase as described in
Packit 022b05
            Section 6.2.2.1.
Packit 022b05
Packit 022b05
            The purpose of this normalization is to help provide unique
Packit 022b05
            URIs.  Note that this normalization is not sufficient to
Packit 022b05
            provide uniqueness.  Two URIs that are textually distinct
Packit 022b05
            after this normalization may still be equivalent.
Packit 022b05
Packit 022b05
            Objects using this TEXTUAL-CONVENTION MAY restrict the
Packit 022b05
            schemes that they permit.  For example, 'data:' and 'urn:'
Packit 022b05
            schemes might not be appropriate.
Packit 022b05
Packit 022b05
            A zero-length URI is not a valid URI.  This can be used to
Packit 022b05
            express 'URI absent' where required, for example when used
Packit 022b05
            as an index field.
Packit 022b05
Packit 022b05
            Where this TEXTUAL-CONVENTION is used for an index field,
Packit 022b05
            it MUST be subtyped to restrict its length.  There is an
Packit 022b05
            absolute limit of 128 subids for an OID, and it is not
Packit 022b05
            efficient to have OIDs whose length approaches this
Packit 022b05
            limit."
Packit 022b05
   REFERENCE "RFC 3986 STD 66 and RFC 3305"
Packit 022b05
   SYNTAX      OCTET STRING
Packit 022b05
Packit 022b05
Uri255 ::= TEXTUAL-CONVENTION
Packit 022b05
   DISPLAY-HINT "255a"
Packit 022b05
   STATUS      current
Packit 022b05
   DESCRIPTION
Packit 022b05
            "A Uniform Resource Identifier (URI) as defined by STD 66.
Packit 022b05
Packit 022b05
            Objects using this TEXTUAL-CONVENTION MUST be in US-ASCII
Packit 022b05
            encoding, and MUST be normalized as described by RFC 3986
Packit 022b05
            Sections 6.2.1, 6.2.2.1, and 6.2.2.2.  All unnecessary
Packit 022b05
            percent-encoding is removed, and all case-insensitive
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
            characters are set to lowercase except for hexadecimal
Packit 022b05
            digits, which are normalized to uppercase as described in
Packit 022b05
            Section 6.2.2.1.
Packit 022b05
Packit 022b05
            The purpose of this normalization is to help provide unique
Packit 022b05
            URIs.  Note that this normalization is not sufficient to
Packit 022b05
            provide uniqueness.  Two URIs that are textually distinct
Packit 022b05
            after this normalization may still be equivalent.
Packit 022b05
Packit 022b05
            Objects using this TEXTUAL-CONVENTION MAY restrict the
Packit 022b05
            schemes that they permit.  For example, 'data:' and 'urn:'
Packit 022b05
            schemes might not be appropriate.
Packit 022b05
Packit 022b05
            A zero-length URI is not a valid URI.  This can be used to
Packit 022b05
            express 'URI absent' where required, for example when used
Packit 022b05
            as an index field.
Packit 022b05
Packit 022b05
            STD 66 URIs are of unlimited length.  Objects using this
Packit 022b05
            TEXTUAL-CONVENTION impose a length limit on the URIs that
Packit 022b05
            they can represent.  Where no length restriction is
Packit 022b05
            required, objects SHOULD use the 'Uri' TEXTUAL-CONVENTION
Packit 022b05
            instead.  Objects used as indices SHOULD subtype the 'Uri'
Packit 022b05
            TEXTUAL-CONVENTION."
Packit 022b05
   REFERENCE "RFC 3986 STD 66 and RFC 3305"
Packit 022b05
   SYNTAX      OCTET STRING (SIZE (0..255))
Packit 022b05
Packit 022b05
Uri1024 ::= TEXTUAL-CONVENTION
Packit 022b05
   DISPLAY-HINT "1024a"
Packit 022b05
   STATUS      current
Packit 022b05
   DESCRIPTION
Packit 022b05
            "A Uniform Resource Identifier (URI) as defined by STD 66.
Packit 022b05
Packit 022b05
            Objects using this TEXTUAL-CONVENTION MUST be in US-ASCII
Packit 022b05
            encoding, and MUST be normalized as described by RFC 3986
Packit 022b05
            Sections 6.2.1, 6.2.2.1, and 6.2.2.2.  All unnecessary
Packit 022b05
            percent-encoding is removed, and all case-insensitive
Packit 022b05
            characters are set to lowercase except for hexadecimal
Packit 022b05
            digits, which are normalized to uppercase as described in
Packit 022b05
            Section 6.2.2.1.
Packit 022b05
Packit 022b05
            The purpose of this normalization is to help provide unique
Packit 022b05
            URIs.  Note that this normalization is not sufficient to
Packit 022b05
            provide uniqueness.  Two URIs that are textually distinct
Packit 022b05
            after this normalization may still be equivalent.
Packit 022b05
Packit 022b05
            Objects using this TEXTUAL-CONVENTION MAY restrict the
Packit 022b05
            schemes that they permit.  For example, 'data:' and 'urn:'
Packit 022b05
            schemes might not be appropriate.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
            A zero-length URI is not a valid URI.  This can be used to
Packit 022b05
            express 'URI absent' where required, for example when used
Packit 022b05
            as an index field.
Packit 022b05
Packit 022b05
            STD 66 URIs are of unlimited length.  Objects using this
Packit 022b05
            TEXTUAL-CONVENTION impose a length limit on the URIs that
Packit 022b05
            they can represent.  Where no length restriction is
Packit 022b05
            required, objects SHOULD use the 'Uri' TEXTUAL-CONVENTION
Packit 022b05
            instead.  Objects used as indices SHOULD subtype the 'Uri'
Packit 022b05
            TEXTUAL-CONVENTION."
Packit 022b05
   REFERENCE "RFC 3986 STD 66 and RFC 3305"
Packit 022b05
   SYNTAX      OCTET STRING (SIZE (0..1024))
Packit 022b05
Packit 022b05
END