Blame pibs/ietf/FRAMEWORK-TC-PIB

Packit 022b05
FRAMEWORK-TC-PIB  PIB-DEFINITIONS ::= BEGIN
Packit 022b05
Packit 022b05
IMPORTS  MODULE-IDENTITY, TEXTUAL-CONVENTION,
Packit 022b05
         Unsigned32, pib FROM COPS-PR-SPPI;
Packit 022b05
Packit 022b05
frwkTcPib  MODULE-IDENTITY
Packit 022b05
    SUBJECT-CATEGORIES   { all }
Packit 022b05
    LAST-UPDATED "200302130000Z"  -- 13 Feb 2003
Packit 022b05
    ORGANIZATION "IETF RAP WG"
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    CONTACT-INFO "Keith McCloghrie
Packit 022b05
                  Cisco Systems, Inc.
Packit 022b05
                  170 West Tasman Drive,
Packit 022b05
                  San Jose, CA 95134-1706 USA
Packit 022b05
                  Phone: +1 408 526 5260
Packit 022b05
                  Email: kzm@cisco.com
Packit 022b05
Packit 022b05
                  John Seligson
Packit 022b05
                  Nortel Networks, Inc.
Packit 022b05
                  4401 Great America Parkway
Packit 022b05
                  Santa Clara, CA 95054 USA
Packit 022b05
                  Phone: +1 408 495 2992
Packit 022b05
                  Email: jseligso@nortelnetworks.com
Packit 022b05
Packit 022b05
                  Ravi Sahita
Packit 022b05
                  Intel Labs.
Packit 022b05
                  2111 NE 25th Ave.
Packit 022b05
                  Hillsboro, OR 97124 USA
Packit 022b05
                  Phone: +1 503 712 1554
Packit 022b05
                  Email: ravi.sahita@intel.com
Packit 022b05
Packit 022b05
                  RAP WG Mailing list: rap@ops.ietf.org "
Packit 022b05
    DESCRIPTION
Packit 022b05
         "The PIB module containing the Role and RoleCombination
Packit 022b05
         Textual Conventions and other generic TCs.
Packit 022b05
Packit 022b05
         Copyright (C) The Internet Society (2003). This version of
Packit 022b05
         this PIB module is part of RFC 3318; see the RFC itself for
Packit 022b05
         full legal notices."
Packit 022b05
Packit 022b05
    REVISION     "200302130000Z"  -- 13 Feb 2003
Packit 022b05
    DESCRIPTION  "Initial version, published in RFC 3318."
Packit 022b05
      ::= { pib 3 }
Packit 022b05
Packit 022b05
Role ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A role represents a functionality characteristic or
Packit 022b05
        capability of a resource to which policies are applied.
Packit 022b05
        Examples of roles include Backbone_interface,
Packit 022b05
        Frame_Relay_interface, BGP-capable-router, web-server,
Packit 022b05
        firewall, etc.
Packit 022b05
        The only valid character set is US-ASCII. Valid characters
Packit 022b05
        are a-z, A-Z, 0-9, period, hyphen and underscore. A role
Packit 022b05
        must always start with a letter (a-z or A-Z). A role must
Packit 022b05
        not contain the US-ASCII characters '*' or '+' since they
Packit 022b05
        have special meaning associated with them, explained in the
Packit 022b05
        RoleCombination TEXTUAL CONVENTION."
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    SYNTAX OCTET STRING (SIZE (1..31))
Packit 022b05
Packit 022b05
RoleCombination ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An octet string containing concatenated Roles. For the
Packit 022b05
        format specification of roles, refer to the 'Role' TEXTUAL-
Packit 022b05
        CONVENTION. A valid Role Combination must be formed by a set
Packit 022b05
        of valid Roles, concatenated by the US-ASCII character '+',
Packit 022b05
        where the roles are in lexicographic order from minimum to
Packit 022b05
        maximum. For example, 'a+b' and 'b+a' are NOT different
Packit 022b05
        role-combinations; rather, they are different formatting of
Packit 022b05
        the same (one) role-combination.
Packit 022b05
Packit 022b05
        Notice the roles within a role-combination are in
Packit 022b05
        Lexicographic order from minimum to maximum, hence, we
Packit 022b05
        declare:
Packit 022b05
        'a+b' is the valid formatting of the role-combination,
Packit 022b05
        'b+a' is an invalid formatting of the role-combination.
Packit 022b05
Packit 022b05
        Notice the need of zero-length role-combination as the role-
Packit 022b05
        combination of interfaces to which no roles have been
Packit 022b05
        assigned. This role-combination is also known as the 'null'
Packit 022b05
        role-combination. (Note the deliberate use of lower case
Packit 022b05
        letters to avoid confusion with the US-ASCII NULL character
Packit 022b05
        which has a value of zero but length of one.)
Packit 022b05
Packit 022b05
        The US-ASCII character '*' is used to specify a wild carded
Packit 022b05
        Role Combination. '*' must not be used to wildcard Roles.
Packit 022b05
        Hence, we declare:
Packit 022b05
        '*+a+b' is a valid wild carded Role Combination.
Packit 022b05
        'eth*+a+b' is not a valid wild carded Role Combination.
Packit 022b05
        Note that since Roles are lexicographically listed in a Role
Packit 022b05
        Combination, the following is an invalid role combination,
Packit 022b05
        since '*' is lexicographically before 'a': 'a+b+*'."
Packit 022b05
    SYNTAX OCTET STRING  (SIZE (0..255))
Packit 022b05
Packit 022b05
PrcIdentifierOid ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An OID that identifies a PRC. The value MUST be an OID
Packit 022b05
        assigned to a PRC's entry definition. The Entry definition
Packit 022b05
        of a PRC has an OID value XxxTable.1 where XxxTable is the
Packit 022b05
        OID assigned to the PRC table object.
Packit 022b05
Packit 022b05
        An attribute with this syntax MUST specify a PRC, which is
Packit 022b05
        defined in the PIB module(s) registered in the context of
Packit 022b05
        the client-type used.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
        An attribute with this syntax cannot have the value 0.0
Packit 022b05
        (zeroDotZero). If the attribute using this syntax can be set
Packit 022b05
        to 0.0 use the PrcIdentifierOidOrZero TEXTUAL-CONVENTION
Packit 022b05
        which makes such use explicit."
Packit 022b05
    SYNTAX    OBJECT IDENTIFIER
Packit 022b05
Packit 022b05
PrcIdentifierOidOrZero ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An OID that identifies a PRC or zeroDotZero (0.0). The
Packit 022b05
        value MUST be an OID assigned to a PRC's entry definition or
Packit 022b05
        0.0  (zeroDotZero). The Entry definition of a PRC has an OID
Packit 022b05
        value XxxTable.1 where XxxTable is the OID assigned to the
Packit 022b05
        PRC table object.
Packit 022b05
Packit 022b05
        An attribute with this syntax can have the value 0.0
Packit 022b05
        (zeroDotZero) to indicate that it currently does not
Packit 022b05
        identify a PRC."
Packit 022b05
    SYNTAX    OBJECT IDENTIFIER
Packit 022b05
Packit 022b05
AttrIdentifier ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A Unsigned32 value that identifies an attribute in a PRC by
Packit 022b05
        its sub-id. The sub-id is the OID assigned to this attribute
Packit 022b05
        in the PRC definition.
Packit 022b05
Packit 022b05
        A AttrIdentifier value is always interpreted within the
Packit 022b05
        context of an attribute of type PrcIdentifierOid or
Packit 022b05
        PrcIdentifierOidOrZero. The PrcIdentifierOid (or
Packit 022b05
           PrcIdentifierOidOrZero) object which defines the context
Packit 022b05
        must be registered immediately before the object which uses
Packit 022b05
        the AttrIdentifier textual convention. If the context
Packit 022b05
        defining attribute is of type PrcIdentifierOidOrZero and has
Packit 022b05
        the value 0.0, then in that case this attribute value has no
Packit 022b05
        meaning.
Packit 022b05
Packit 022b05
        An attribute with this syntax MUST specify a sub-id which
Packit 022b05
        MUST be defined in the PRC identified (if any) in the
Packit 022b05
        PrcIdentifierOid (or PrcIdentifierOidOrZero) attribute. The
Packit 022b05
        PrcIdentifierOid (orZero) and the AttrIdentifier attributes
Packit 022b05
        together identify a particular attribute in a particular
Packit 022b05
        PRC.
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
        An attribute with this syntax cannot have the value 0
Packit 022b05
        (zero). If the attribute using this syntax can be set
Packit 022b05
        to 0 use the AttrIdentifierOrZero TEXTUAL-CONVENTION which
Packit 022b05
        makes that explicit."
Packit 022b05
    SYNTAX    Unsigned32 (1..4294967295)
Packit 022b05
Packit 022b05
AttrIdentifierOrZero ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "A Unsigned32 value that identifies an attribute in a PRC by
Packit 022b05
        its sub-id or has the value 0 (zero). The sub-id if non-
Packit 022b05
        zero, is the OID assigned to this attribute in the PRC
Packit 022b05
        definition.
Packit 022b05
Packit 022b05
        An AttrIdentifierOrZero value is always interpreted within
Packit 022b05
        the context of an attribute of type PrcIdentifierOid or
Packit 022b05
        PrcIdentifierOidOrZero. The PrcIdentifierOid (or
Packit 022b05
        PrcIdentifierOidOrZero) object that defines the context must
Packit 022b05
        be registered immediately before the object which uses the
Packit 022b05
        AttrIdentifierOrZero textual convention. If the context
Packit 022b05
        defining attribute is of type PrcIdentifierOidOrZero and has
Packit 022b05
        the value 0.0, then in that case this attribute value has no
Packit 022b05
        meaning.
Packit 022b05
Packit 022b05
        An attribute with this syntax can have the value 0 (zero) to
Packit 022b05
        indicate that it currently does not identify a PRC
Packit 022b05
        attribute. If it has a non-zero value, the
Packit 022b05
        PrcIdentifierOid (orZero) and the AttrIdentifierOrZero
Packit 022b05
        attributes together identify a particular attribute in a
Packit 022b05
        particular PRC."
Packit 022b05
    SYNTAX    Unsigned32
Packit 022b05
Packit 022b05
AttrIdentifierOid ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An OID that identifies an attribute in a PRC. The value
Packit 022b05
        MUST be an OID assigned to a PRC's attribute definition. The
Packit 022b05
        last sub-id is the sub-id of the attribute as it is
Packit 022b05
        defined in the PRC entry definition. The prefix OID (after
Packit 022b05
        dropping the last sub-id) is the OID assigned to the Entry
Packit 022b05
        object of a defined PRC. The Entry definition of a PRC has
Packit 022b05
        an OID value XxxTable.1 where XxxTable is the OID assigned
Packit 022b05
        to the PRC Table object.
Packit 022b05
Packit 022b05
        An attribute with this syntax MUST not have the value 0.0
Packit 022b05
        (zeroDotZero). If 0.0 is a valid value, the TEXTUAL
Packit 022b05
        CONVENTION AttrIdentifierOidOrZero must be used which makes
Packit 022b05
        such use explicit."
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    SYNTAX    OBJECT IDENTIFIER
Packit 022b05
Packit 022b05
AttrIdentifierOidOrZero ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An OID that identifies an attribute in a PRC or has a value
Packit 022b05
         0.0 (zeroDotZero). The value MUST be an OID assigned to a
Packit 022b05
         PRC's attribute definition or the value 0.0.
Packit 022b05
Packit 022b05
         If not 0.0, the last sub-id MUST be the sub-id of the
Packit 022b05
         attribute as it is defined in the PRC Entry object
Packit 022b05
         definition. The prefix OID (after dropping the last sub-id)
Packit 022b05
         is the OID assigned to the Entry object of a defined PRC.
Packit 022b05
         The Entry definition of a PRC has an OID value XxxTable.1
Packit 022b05
         Where, XxxTable is the OID assigned to the PRC Table
Packit 022b05
         object.
Packit 022b05
Packit 022b05
         An attribute with this syntax can have the value 0.0
Packit 022b05
         (zeroDotZero) to indicate that it currently does not
Packit 022b05
         identify a PRC's attribute."
Packit 022b05
    SYNTAX    OBJECT IDENTIFIER
Packit 022b05
Packit 022b05
ClientType ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An Unsigned32 value that identifies a COPS Client-type. An
Packit 022b05
        attribute with this syntax must be set to zero if it does
Packit 022b05
        not specify a COPS client-type for the PRI."
Packit 022b05
    REFERENCE
Packit 022b05
        "The COPS (Common Open Policy Service) Protocol, RFC 2748."
Packit 022b05
    SYNTAX    Unsigned32 (0..65535)
Packit 022b05
Packit 022b05
ClientHandle ::= TEXTUAL-CONVENTION
Packit 022b05
    STATUS       current
Packit 022b05
    DESCRIPTION
Packit 022b05
        "An octet string that identifies a COPS Client handle. A
Packit 022b05
        zero length value implies the attribute does not specify a
Packit 022b05
        valid client handle."
Packit 022b05
    REFERENCE
Packit 022b05
        "The COPS (Common Open Policy Service) Protocol, RFC 2748."
Packit 022b05
    SYNTAX    OCTET STRING (SIZE(0..65535))
Packit 022b05
Packit 022b05
END