Blame mibs/ietf/URI-TC-MIB

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