netconfcentral logo

ieee802-dot1ab-types

HTML

ieee802-dot1ab-types@2018-10-02



  module ieee802-dot1ab-types {

    yang-version 1.1;

    namespace
      "urn:ieee:std:802.1Q:yang:ieee802-dot1ab-types";

    prefix lldp-types;

    organization "IEEE 802.1 Working Group";

    contact
      "WG-URL: http://www.ieee802.org/1/
    WG-EMail: stds-802-1-L@ieee.org

    Contact: IEEE 802.1 Working Group Chair
    Postal: C/O IEEE 802.1 Working Group
            IEEE Standards Association
            445 Hoes Lane
            P.O. Box 1331
            Piscataway
            NJ 08855-1331
            USA
  
    E-mail: STDS-802-1-L@IEEE.ORG";

    description
      "Common types used within ieee802-dot1ab-lldp modules.";

    revision "2018-10-02" {
      description
        "Creation for Task Group review.";
      reference
        "IEEE Std 802.1AB-2016, Station and Media Access Control
           Connectivity Discovery.";

    }


    typedef chassis-id-subtype-type {
      type enumeration {
        enum "chassis-component" {
          value 1;
          description
            "Represents a chassis identifier based on the value of
          entPhysicalAlias object (defined in IETF RFC 2737) for a
          chassis component (i.e., an entPhysicalClass value of
          chassis(3))";
        }
        enum "interface-alias" {
          value 2;
          description
            "Represents a chassis identifier based on the value of
          ifAlias object (defined in IETF RFC 2863) for an interface
          on the containing chassis.";
        }
        enum "port-component" {
          value 3;
          description
            "Represents a chassis identifier based on the value of
          entPhysicalAlias object (defined in IETF RFC 2737) for a
          port or backplane component (i.e., entPhysicalClass value of
          port(10) or backplane(4)), within the containing chassis.";
        }
        enum "mac-address" {
          value 4;
          description
            "Represents a chassis identifier based on the value of a
          unicast source address (encoded in network byte order and
          IEEE 802.3 canonical bit order), of a port on the containing
          chassis as defined in IEEE Std 802-2001.";
        }
        enum "network-address" {
          value 5;
          description
            "Represents a chassis identifier based on a network address,
          associated with a particular chassis.  The encoded address is
          actually composed of two fields.  The first field is a
          single octet, representing the IANA AddressFamilyNumbers
          value for the specific address type, and the second field is
          the network address value.";
        }
        enum "interface-name" {
          value 6;
          description
            "Represents a chassis identifier based on the value of
          ifName object (defined in IETF RFC 2863) for an interface
          on the containing chassis.";
        }
        enum "local" {
          value 7;
          description
            "Represents a chassis identifier based on a locally defined
          value.";
        }
      }
      description
        "The source of a chassis identifier.";
      reference
        "LLDP MIB 20050506";

    }

    typedef chassis-id-type {
      type string {
        length "1..255";
      }
      description
        "The format of a chassis identifier string. Objects of this type
      are always used with an associated lldp-chassis-is-subtype
      object, which identifies the format of the particular
      lldp-chassis-id object instance.

      If the associated lldp-chassis-id-subtype object has a value of
      chassis-component, then the octet string identifies
      a particular instance of the entPhysicalAlias object
      (defined in IETF RFC 2737) for a chassis component (i.e.,
      an entPhysicalClass value of chassis(3)).

      If the associated lldp-chassis-id-subtype object has a value
      of interface-alias, then the octet string identifies
      a particular instance of the ifAlias object (defined in
      IETF RFC 2863) for an interface on the containing chassis.
      If the particular ifAlias object does not contain any values,
      another chassis identifier type should be used.

      If the associated lldp-chassis-id-subtype object has a value
      of port-component, then the octet string identifies a
      particular instance of the entPhysicalAlias object (defined
      in IETF RFC 2737) for a port or backplane component within
      the containing chassis.

      If the associated lldp-chassis-id-subtype object has a value of
      mac-address, then this string identifies a particular
      unicast source address (encoded in network byte order and
      IEEE 802.3 canonical bit order), of a port on the containing
      chassis as defined in IEEE Std 802-2001.

      If the associated lldp-chassis-id-subtype object has a value of
      network-address, then this string identifies a particular
      network address, encoded in network byte order, associated
      with one or more ports on the containing chassis.  The first
      octet contains the IANA Address Family Numbers enumeration
      value for the specific address type, and octets 2 through
      N contain the network address value in network byte order.

      If the associated lldp-chassis-id-subtype object has a value
      of interface-name, then the octet string identifies
      a particular instance of the ifName object (defined in
      IETF RFC 2863) for an interface on the containing chassis.
      If the particular ifName object does not contain any values,
      another chassis identifier type should be used.

      If the associated lldp-chassis-id-subtype object has a value of
      local, then this string identifies a locally assigned
      Chassis ID.";
      reference
        "LLDP MIB 20050506";

    }

    typedef port-id-subtype-type {
      type enumeration {
        enum "interface-alias" {
          value 1;
          description
            "Represents a port identifier based on the ifAlias
          MIB object, defined in IETF RFC 2863.";
        }
        enum "port-component" {
          value 2;
          description
            "Represents a port identifier based on the value of
          entPhysicalAlias (defined in IETF RFC 2737) for a port
          component (i.e., entPhysicalClass value of port(10)), 
          within the containing chassis.";
        }
        enum "mac-address" {
          value 3;
          description
            "Represents a port identifier based on a unicast source
          address (encoded in network byte order and IEEE 802.3
          canonical bit order), which has been detected by the agent
          and associated with a particular port (IEEE Std 802-2001).";
        }
        enum "network-address" {
          value 4;
          description
            "Represents a port identifier based on a network address,
          detected by the agent and associated with a particular 
          port.";
        }
        enum "interface-name" {
          value 5;
          description
            "Represents a port identifier based on the ifName MIB object,
          defined in IETF RFC 2863.";
        }
        enum "agent-circuit-id" {
          value 6;
          description
            "Represents a port identifier based on the agent-local
          identifier of the circuit (defined in RFC 3046), detected by
          the agent and associated with a particular port.";
        }
        enum "local" {
          value 7;
          description
            "Represents a port identifier based on a value locally
          assigned.";
        }
      }
      description
        "The source of a particular type of port identifier used
      in the LLDP YANG module.";
    }

    typedef port-id-type {
      type string {
        length "8";
      }
      description
        "The format of a port identifier string. Objects of this type
      are always used with an associated lldp-port-id-subtype object,
      which identifies the format of the particular lldp-port-id
      object instance.

      If the associated lldp-port-id-subtype object has a value of
      interface-alias, then the octet string identifies a
      particular instance of the ifAlias object (defined in IETF
      RFC 2863).  If the particular ifAlias object does not contain
      any values, another port identifier type should be used.

      If the associated lldp-port-id-subtype object has a value of
      port-component, then the octet string identifies a
      particular instance of the entPhysicalAlias object (defined
      in IETF RFC 2737) for a port or backplane component.

      If the associated lldp-port-id-subtype object has a value of
      mac-address, then this string identifies a particular
      unicast source address (encoded in network byte order
      and IEEE 802.3 canonical bit order) associated with the port
      (IEEE Std 802-2001).

      If the associated lldp-port-id-subtype object has a value of
      network-address, then this string identifies a network
      address associated with the port.  The first octet contains
      the IANA AddressFamilyNumbers enumeration value for the
      specific address type, and octets 2 through N contain the
      networkAddress address value in network byte order.

      If the associated lldp-port-id-subtype object has a value of
      interface-name, then the octet string identifies a
      particular instance of the ifName object (defined in IETF
      RFC 2863).  If the particular ifName object does not contain
      any values, another port identifier type should be used.

      If the associated lldp-port-id-subtype object has a value of
      agent-circuit-id, then this string identifies a agent-local
      identifier of the circuit (defined in RFC 3046).

      If the associated lldp-port-id-subtype object has a value of
      local, then this string identifies a locally assigned port ID.";
    }
  }  // module ieee802-dot1ab-types

Summary

  
  
Organization IEEE 802.1 Working Group
  
Module ieee802-dot1ab-types
Version 2018-10-02
File ieee802-dot1ab-types.yang
  
Prefix lldp-types
Namespace urn:ieee:std:802.1Q:yang:ieee802-dot1ab-types
  
Cooked /cookedmodules/ieee802-dot1ab-types/2018-10-02
YANG /src/ieee802-dot1ab-types@2018-10-02.yang
XSD /xsd/ieee802-dot1ab-types@2018-10-02.xsd
  
Abstract Common types used within ieee802-dot1ab-lldp modules.
  
Contact
WG-URL: http://www.ieee802.org/1/
WG-EMail: stds-802-1-L@ieee.org

Contact: IEEE 802.1 Working Group Chair
Postal: C/O IEEE 802.1 Working Group
       IEEE Standards Association
       445 Hoes Lane
       P.O. Box 1331
       Piscataway
       NJ 08855-1331
       USA

E-mail: STDS-802-1-L@IEEE.ORG

Description

 
Common types used within ieee802-dot1ab-lldp modules.

Typedefs

Typedef Base type Abstract
chassis-id-subtype-type enumeration The source of a chassis identifier.
chassis-id-type string The format of a chassis identifier string. Objects of this type are always used with an associated lldp-chassis-is-subtype object, which identifies the format of the particular lldp-chassis-id object instance. If the associated lldp-chassis-id-subtype ob...
port-id-subtype-type enumeration The source of a particular type of port identifier used in the LLDP YANG module.
port-id-type string The format of a port identifier string. Objects of this type are always used with an associated lldp-port-id-subtype object, which identifies the format of the particular lldp-port-id object instance. If the associated lldp-port-id-subtype object has a v...