-- ARISTA-SNMP-TRANSPORTS-MIB: Arista specific SNMP transports domains
-- Copyright (c) 2012 Arista Networks, Inc.  All rights reserved.

ARISTA-SNMP-TRANSPORTS-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, 
    OBJECT-IDENTITY        FROM SNMPv2-SMI        -- [RFC2578]
    TEXTUAL-CONVENTION     FROM SNMPv2-TC
    aristaModules          FROM ARISTA-SMI-MIB;

aristaSnmpTransportDomains MODULE-IDENTITY
    LAST-UPDATED "201201091300Z"
    ORGANIZATION "Arista Networks, Inc."
    CONTACT-INFO
        "Arista Networks, Inc.

         Postal: 5470 Great America Parkway
                 Santa Clara, CA 95054

         Tel: +1 408 547-5500

         E-mail: snmp@aristanetworks.com"
    DESCRIPTION
            "The Arista Networks specific SNMP transport domains."
       REVISION           "201201091300Z"
       DESCRIPTION
           "Updated imports"
        REVISION      "201201051830Z"
        DESCRIPTION
                "Initial version."
        ::= { aristaModules 1 }

aristaUDPNSDomain OBJECT-IDENTITY
    STATUS current
    DESCRIPTION
        "The SNMP over UDP transport domain.  The corresponding socket is
        opened in a specific namespace."
    ::= { aristaSnmpTransportDomains 1 }

aristaTCPNSDomain OBJECT-IDENTITY
    STATUS current
    DESCRIPTION
        "The SNMP over TCP transport domain.  The corresponding socket is
        opened in a specific namespace."
::= { aristaSnmpTransportDomains 2 }

aristaUDPNS6Domain OBJECT-IDENTITY
   STATUS current
   DESCRIPTION
      "The SNMP over UDP6 transport domain. The corresponding socket is
      opened in a specific namespace."
::= { aristaSnmpTransportDomains 3 }

aristaTCPNS6Domain OBJECT-IDENTITY
   STATUS current
   DESCRIPTION
      "The SNMP over TCP6 transport domain. The corresponding socket is
      opened in a specific namespace."
::= { aristaSnmpTransportDomains 4 }

TransportAddressIPv4NS ::= TEXTUAL-CONVENTION
   DISPLAY-HINT "*1a0a:1d.1d.1d.1d:2d"
   STATUS       current
   DESCRIPTION
      "Represents a transport address consisting of a namespace string, an IPv4
       address and a port number (as used for example by UDP, TCP and SCTP):

        octets          contents           encoding
         1-n            Namespace string   ASCII
         [n+1]-[n+4]    IPv4 address       network-byte order
         [n+5]-[n+6]    port number        network-byte order
       
       This textual convention SHOULD NOT be used directly in object
       definitions since it restricts addresses to a specific format. However,
       if it is used, it MAY be used either on its own or in conjunction with
       TransportAddressType or TransportDomain as a pair."
   SYNTAX      OCTET STRING (SIZE(7..255))

TransportAddressIPv6NS ::= TEXTUAL-CONVENTION
   DISPLAY-HINT "*1a0a:0a[2x:2x:2x:2x:2x:2x:2x:2x]0a:2d"
   STATUS       current
   DESCRIPTION
      "Represents a transport address consisting of a namespace string, an IPv6
       address and a port number (as used for example by UDP, TCP and SCTP):

        octets          contents           encoding
         1-n            Namespace string   ASCII
         [n+1]-[n+16]   IPv6 address       network-byte order
         [n+17]-[n+18]  port number        network-byte order
       
       This textual convention SHOULD NOT be used directly in object
       definitions since it restricts addresses to a specific format. However,
       if it is used, it MAY be used either on its own or in conjunction with
       TransportAddressType or TransportDomain as a pair."
   SYNTAX      OCTET STRING (SIZE(19..255))

END
