<?xml version="1.0" encoding="UTF-8"?>

<xsd:schema xmlns="http://www.mibexplorer.com/xsd/mibs/DISMAN-NSLOOKUP-MIB" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:smi="http://www.mibexplorer.com/xsd/mibs/smi" xmlns:SNMPv2-SMI="http://www.mibexplorer.com/xsd/mibs/SNMPv2-SMI" xmlns:SNMPv2-TC="http://www.mibexplorer.com/xsd/mibs/SNMPv2-TC" xmlns:SNMPv2-CONF="http://www.mibexplorer.com/xsd/mibs/SNMPv2-CONF" xmlns:SNMP-FRAMEWORK-MIB="http://www.mibexplorer.com/xsd/mibs/SNMP-FRAMEWORK-MIB" xmlns:INET-ADDRESS-MIB="http://www.mibexplorer.com/xsd/mibs/INET-ADDRESS-MIB" xml:lang="en" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://www.mibexplorer.com/xsd/mibs/DISMAN-NSLOOKUP-MIB">
        <xsd:annotation>
                <xsd:appinfo>
                        <xsd:documentation>The Lookup MIB (DISMAN-NSLOOKUP-MIB) enables determination
of either the name(s) corresponding to a host address or of
the address(es) associated with a host name at a remote host.</xsd:documentation>
                </xsd:appinfo>
        </xsd:annotation>
        <xsd:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"/>
        <xsd:import namespace="http://www.mibexplorer.com/xsd/mibs/smi" schemaLocation="http://www.mibexplorer.com/xsd/mibs/smi.xsd"/>
        <xsd:import namespace="http://www.mibexplorer.com/xsd/mibs/SNMPv2-SMI" schemaLocation="http://www.mibexplorer.com/xsd/mibs/SNMPv2-SMI.xsd"/>
        <xsd:import namespace="http://www.mibexplorer.com/xsd/mibs/SNMPv2-TC" schemaLocation="http://www.mibexplorer.com/xsd/mibs/SNMPv2-TC.xsd"/>
        <xsd:import namespace="http://www.mibexplorer.com/xsd/mibs/SNMPv2-CONF" schemaLocation="http://www.mibexplorer.com/xsd/mibs/SNMPv2-CONF.xsd"/>
        <xsd:import namespace="http://www.mibexplorer.com/xsd/mibs/SNMP-FRAMEWORK-MIB" schemaLocation="http://www.mibexplorer.com/xsd/mibs/SNMP-FRAMEWORK-MIB.xsd"/>
        <xsd:import namespace="http://www.mibexplorer.com/xsd/mibs/INET-ADDRESS-MIB" schemaLocation="http://www.mibexplorer.com/xsd/mibs/INET-ADDRESS-MIB.xsd"/>
        <xsd:element name="snmp-data">
                <xsd:complexType>
                        <xsd:sequence>
                                <xsd:element name="context" minOccurs="0" maxOccurs="unbounded">
                                        <xsd:complexType>
                                                <xsd:sequence>
                                                        <xsd:element name="lookupObjects" minOccurs="0">
                                                                <xsd:complexType>
                                                                        <xsd:sequence>
                                                                                <xsd:element name="lookupMaxConcurrentRequests" minOccurs="0">
                                                                                        <xsd:annotation>
                                                                                                <xsd:appinfo>
                                                                                                        <maxAccess>read-write</maxAccess>
                                                                                                        <status>current</status>
                                                                                                        <oid>1.3.6.1.2.1.82.1.1</oid>
                                                                                                        <units>"requests"</units>
                                                                                                        <xsd:documentation>The maximum number of concurrent active lookup requests
that are allowed within an agent implementation.  A value
of 0 for this object implies that there is no limit for
the number of concurrent active requests in effect.</xsd:documentation>
                                                                                                </xsd:appinfo>
                                                                                        </xsd:annotation>
                                                                                        <xsd:simpleType>
                                                                                                <xsd:restriction base="smi:Unsigned32">
                                                                                                        <xsd:minInclusive value="0"/>
                                                                                                        <xsd:maxInclusive value="4294967295"/>
                                                                                                </xsd:restriction>
                                                                                        </xsd:simpleType>
                                                                                </xsd:element>
                                                                                <xsd:element name="lookupPurgeTime" minOccurs="0">
                                                                                        <xsd:annotation>
                                                                                                <xsd:appinfo>
                                                                                                        <maxAccess>read-write</maxAccess>
                                                                                                        <status>current</status>
                                                                                                        <oid>1.3.6.1.2.1.82.1.2</oid>
                                                                                                        <units>"seconds"</units>
                                                                                                        <xsd:documentation>The amount of time to wait before automatically
deleting an entry in the lookupCtlTable and any
dependent lookupResultsTable entries
after the lookup operation represented by an
lookupCtlEntry has completed.

An lookupCtEntry is considered complete
when its lookupCtlOperStatus object has a
value of completed(3).</xsd:documentation>
                                                                                                </xsd:appinfo>
                                                                                        </xsd:annotation>
                                                                                        <xsd:simpleType>
                                                                                                <xsd:union>
                                                                                                        <xsd:simpleType>
                                                                                                                <xsd:restriction base="xsd:unsignedInt">
                                                                                                                        <xsd:minInclusive value="0"/>
                                                                                                                        <xsd:maxInclusive value="86400"/>
                                                                                                                </xsd:restriction>
                                                                                                        </xsd:simpleType>
                                                                                                </xsd:union>
                                                                                        </xsd:simpleType>
                                                                                </xsd:element>
                                                                        </xsd:sequence>
                                                                </xsd:complexType>
                                                        </xsd:element>
                                                        <xsd:element name="lookupMaxConcurrentRequests" minOccurs="0">
                                                                <xsd:annotation>
                                                                        <xsd:appinfo>
                                                                                <maxAccess>read-write</maxAccess>
                                                                                <status>current</status>
                                                                                <oid>1.3.6.1.2.1.82.1.1</oid>
                                                                                <units>"requests"</units>
                                                                                <xsd:documentation>The maximum number of concurrent active lookup requests
that are allowed within an agent implementation.  A value
of 0 for this object implies that there is no limit for
the number of concurrent active requests in effect.</xsd:documentation>
                                                                        </xsd:appinfo>
                                                                </xsd:annotation>
                                                                <xsd:simpleType>
                                                                        <xsd:restriction base="smi:Unsigned32">
                                                                                <xsd:minInclusive value="0"/>
                                                                                <xsd:maxInclusive value="4294967295"/>
                                                                        </xsd:restriction>
                                                                </xsd:simpleType>
                                                        </xsd:element>
                                                        <xsd:element name="lookupPurgeTime" minOccurs="0">
                                                                <xsd:annotation>
                                                                        <xsd:appinfo>
                                                                                <maxAccess>read-write</maxAccess>
                                                                                <status>current</status>
                                                                                <oid>1.3.6.1.2.1.82.1.2</oid>
                                                                                <units>"seconds"</units>
                                                                                <xsd:documentation>The amount of time to wait before automatically
deleting an entry in the lookupCtlTable and any
dependent lookupResultsTable entries
after the lookup operation represented by an
lookupCtlEntry has completed.

An lookupCtEntry is considered complete
when its lookupCtlOperStatus object has a
value of completed(3).</xsd:documentation>
                                                                        </xsd:appinfo>
                                                                </xsd:annotation>
                                                                <xsd:simpleType>
                                                                        <xsd:union>
                                                                                <xsd:simpleType>
                                                                                        <xsd:restriction base="xsd:unsignedInt">
                                                                                                <xsd:minInclusive value="0"/>
                                                                                                <xsd:maxInclusive value="86400"/>
                                                                                        </xsd:restriction>
                                                                                </xsd:simpleType>
                                                                        </xsd:union>
                                                                </xsd:simpleType>
                                                        </xsd:element>
                                                        <xsd:element name="lookupCtlEntry" type="lookupCtlEntryType" minOccurs="0" maxOccurs="unbounded">
                                                                <xsd:annotation>
                                                                        <xsd:appinfo>
                                                                                <maxAccess>not-accessible</maxAccess>
                                                                                <status>current</status>
                                                                                <oid>1.3.6.1.2.1.82.1.3.1</oid>
                                                                                <xsd:documentation>Defines an entry in the lookupCtlTable.  A
lookupCtlEntry is initially indexed by
lookupCtlOwnerIndex, which is of type SnmpAdminString,
a textual convention that allows for use of the SNMPv3
View-Based Access Control Model (RFC 2575 [11], VACM)
and also allows an management application to identify
its entries.  The second index element,
lookupCtlOperationName, enables the same
lookupCtlOwnerIndex entity to have multiple outstanding
requests.

The value of lookupCtlTargetAddressType determines which
lookup function to perform.  Specification of dns(16)
as the value of this index implies that the gethostbyname
function should be performed to determine the numeric
addresses associated with a symbolic name via
lookupResultsTable entries.  Use of a value of either
ipv4(1) or ipv6(2) implies that the gethostbyaddr function
should be performed to determine the symbolic name(s)
associated with a numeric address at a remote host.</xsd:documentation>
                                                                        </xsd:appinfo>
                                                                </xsd:annotation>
                                                        </xsd:element>
                                                        <xsd:element name="lookupResultsEntry" type="lookupResultsEntryType" minOccurs="0" maxOccurs="unbounded">
                                                                <xsd:annotation>
                                                                        <xsd:appinfo>
                                                                                <maxAccess>not-accessible</maxAccess>
                                                                                <status>current</status>
                                                                                <oid>1.3.6.1.2.1.82.1.4.1</oid>
                                                                                <xsd:documentation>Defines an entry in the lookupResultsTable.  The
first two index elements identify the
lookupCtlEntry that a lookupResultsEntry belongs
to.  The third index element selects a single
lookup operation result.</xsd:documentation>
                                                                        </xsd:appinfo>
                                                                </xsd:annotation>
                                                        </xsd:element>
                                                </xsd:sequence>
                                                <xsd:attribute name="agent" type="xsd:NMTOKEN" use="required"/>
                                                <xsd:attribute name="port" type="xsd:integer" use="required"/>
                                        </xsd:complexType>
                                </xsd:element>
                        </xsd:sequence>
                </xsd:complexType>
        </xsd:element>
        <xsd:complexType name="lookupCtlEntryType">
                <xsd:sequence>
                        <xsd:element name="lookupCtlTargetAddressType" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:appinfo>
                                                <maxAccess>read-write</maxAccess>
                                                <status>current</status>
                                                <oid>1.3.6.1.2.1.82.1.3.1.3</oid>
                                                <xsd:documentation>Specifies the type of address for either performing a
gethostbyname or a gethostbyaddr function at a remote host.
Specification of dns(16) as the value for this object
means that the gethostbyname function should be performed
to return one or more numeric addresses.  Use of a value
of either ipv4(1) or ipv6(2) means that the gethostbyaddr
function should be used to return the symbolic names
associated with a remote host.</xsd:documentation>
                                        </xsd:appinfo>
                                </xsd:annotation>
                                <xsd:simpleType name="InetAddressType">
                                        <xsd:restriction base="xsd:NMTOKEN">
                                                <xsd:enumeration value="unknown">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>0</intValue>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="ipv4">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>1</intValue>
                                                                        <xsd:documentation>-- these named numbers are aligned</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="ipv6">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>2</intValue>
                                                                        <xsd:documentation>-- with AddressFamilyNumbers from</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="dns">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>16</intValue>
                                                                        <xsd:documentation>-- IANA-ADDRESS-FAMILY-NUMBERS-MIB</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                        </xsd:restriction>
                                </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="lookupCtlTargetAddress" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:appinfo>
                                                <maxAccess>read-write</maxAccess>
                                                <status>current</status>
                                                <oid>1.3.6.1.2.1.82.1.3.1.4</oid>
                                                <xsd:documentation>Specifies the address used for a resolver lookup at a
remote host.  The corresponding lookupCtlAddressType
objects determines its type as well as the function
that can be requested.

A value for this object MUST be set prior to
transitioning its corresponding lookupCtlEntry to
active(1) via lookupCtlRowStatus.</xsd:documentation>
                                        </xsd:appinfo>
                                </xsd:annotation>
                                <xsd:simpleType name="InetAddress">
                                        <xsd:restriction base="smi:OctetString">
                                                <xsd:minInclusive value="0"/>
                                                <xsd:maxInclusive value="255"/>
                                        </xsd:restriction>
                                </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="lookupCtlOperStatus" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:appinfo>
                                                <maxAccess>read-only</maxAccess>
                                                <status>current</status>
                                                <oid>1.3.6.1.2.1.82.1.3.1.5</oid>
                                                <xsd:documentation>Reflects the operational state of an lookupCtlEntry:

  enabled(1)    - Operation is active.
  notStarted(2) - Operation has not been enabled.
  completed(3)  - Operation has completed.

An operation is automatically enabled(1) when its
lookupCtlRowStatus object is transitioned to active(1)
status.  Until this occurs lookupCtlOperStatus MUST
report a value of notStarted(2).  After the lookup
operation completes (success or failure) the value
for lookupCtlOperStatus MUST be transitioned to
completed(3).</xsd:documentation>
                                        </xsd:appinfo>
                                </xsd:annotation>
                                <xsd:simpleType>
                                        <xsd:restriction base="xsd:NMTOKEN">
                                                <xsd:enumeration value="notStarted">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>2</intValue>
                                                                        <xsd:documentation>-- operation has not started</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="completed">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>3</intValue>
                                                                        <xsd:documentation>-- operation is done</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                        </xsd:restriction>
                                </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="lookupCtlTime" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:appinfo>
                                                <maxAccess>read-only</maxAccess>
                                                <status>current</status>
                                                <oid>1.3.6.1.2.1.82.1.3.1.6</oid>
                                                <units>"milliseconds"</units>
                                                <xsd:documentation>Reports the number of milliseconds that a lookup
operation required to be completed at a remote host.
Completed means operation failure as well as
success.</xsd:documentation>
                                        </xsd:appinfo>
                                </xsd:annotation>
                                <xsd:simpleType>
                                        <xsd:restriction base="smi:Unsigned32">
                                                <xsd:minInclusive value="0"/>
                                                <xsd:maxInclusive value="4294967295"/>
                                        </xsd:restriction>
                                </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="lookupCtlRc" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:appinfo>
                                                <maxAccess>read-only</maxAccess>
                                                <status>current</status>
                                                <oid>1.3.6.1.2.1.82.1.3.1.7</oid>
                                                <xsd:documentation>The system specific return code from a lookup
operation.  All implementations MUST return a value
of 0 for this object when the remote lookup
operation succeeds.  A non-zero value for this
objects indicates failure.  It is recommended that
implementations that support errno use it as the
value of this object to aid a management
application in determining the cause of failure.</xsd:documentation>
                                        </xsd:appinfo>
                                </xsd:annotation>
                                <xsd:simpleType>
                                        <xsd:restriction base="smi:Integer32">
                                                <xsd:minInclusive value="-2147483648"/>
                                                <xsd:maxInclusive value="2147483647"/>
                                        </xsd:restriction>
                                </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="lookupCtlRowStatus" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:appinfo>
                                                <maxAccess>read-write</maxAccess>
                                                <status>current</status>
                                                <oid>1.3.6.1.2.1.82.1.3.1.8</oid>
                                                <xsd:documentation>This object allows entries to be created and deleted
in the lookupCtlTable.

A remote lookup operation is started when an
entry in this table is created via an SNMP SET
request and the entry is activated.  This
occurs by setting the value of this object
to CreateAndGo(4) during row creation or
by setting this object to active(1) after
the row is created.

A value MUST be specified for lookupCtlTargetAddress
prior to a transition to active(1) state being
accepted.

A remote lookup operation starts when its entry
first becomes active(1).  Transitions in and
out of active(1) state have no effect on the
operational behavior of a remote lookup
operation, with the exception that deletion of
an entry in this table by setting its RowStatus
object to destroy(6) will stop an active
remote lookup operation.

The operational state of a remote lookup operation
can be determined by examination of its
lookupCtlOperStatus object.</xsd:documentation>
                                        </xsd:appinfo>
                                </xsd:annotation>
                                <xsd:simpleType name="RowStatus">
                                        <xsd:restriction base="xsd:NMTOKEN">
                                                <xsd:enumeration value="active">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>1</intValue>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="notInService">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>2</intValue>
                                                                        <xsd:documentation>-- the following value is a state:
-- this value may be read, but not written</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="notReady">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>3</intValue>
                                                                        <xsd:documentation>-- the following three values are
-- actions: these values may be written,
--   but are never read</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="createAndGo">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>4</intValue>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="createAndWait">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>5</intValue>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="destroy">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>6</intValue>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                        </xsd:restriction>
                                </xsd:simpleType>
                        </xsd:element>
                </xsd:sequence>
                <xsd:attribute name="lookupCtlOwnerIndex" type="SNMP-FRAMEWORK-MIB:SnmpAdminString"/>
                <xsd:attribute name="lookupCtlOperationName" type="SNMP-FRAMEWORK-MIB:SnmpAdminString"/>
        </xsd:complexType>
        <xsd:complexType name="lookupResultsEntryType">
                <xsd:sequence>
                        <xsd:element name="lookupResultsAddressType" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:appinfo>
                                                <maxAccess>read-only</maxAccess>
                                                <status>current</status>
                                                <oid>1.3.6.1.2.1.82.1.4.1.2</oid>
                                                <xsd:documentation>Indicates the type of result of a remote lookup
operation.  A value of unknown(0) implies that
either the operation hasn't been started or that
it has failed.</xsd:documentation>
                                        </xsd:appinfo>
                                </xsd:annotation>
                                <xsd:simpleType name="InetAddressType">
                                        <xsd:restriction base="xsd:NMTOKEN">
                                                <xsd:enumeration value="unknown">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>0</intValue>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="ipv4">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>1</intValue>
                                                                        <xsd:documentation>-- these named numbers are aligned</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="ipv6">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>2</intValue>
                                                                        <xsd:documentation>-- with AddressFamilyNumbers from</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                                <xsd:enumeration value="dns">
                                                        <xsd:annotation>
                                                                <xsd:appinfo>
                                                                        <intValue>16</intValue>
                                                                        <xsd:documentation>-- IANA-ADDRESS-FAMILY-NUMBERS-MIB</xsd:documentation>
                                                                </xsd:appinfo>
                                                        </xsd:annotation>
                                                </xsd:enumeration>
                                        </xsd:restriction>
                                </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="lookupResultsAddress" minOccurs="0">
                                <xsd:annotation>
                                        <xsd:appinfo>
                                                <maxAccess>read-only</maxAccess>
                                                <status>current</status>
                                                <oid>1.3.6.1.2.1.82.1.4.1.3</oid>
                                                <xsd:documentation>Reflects a result for a remote lookup operation
as per the value of lookupResultsAddressType.</xsd:documentation>
                                        </xsd:appinfo>
                                </xsd:annotation>
                                <xsd:simpleType name="InetAddress">
                                        <xsd:restriction base="smi:OctetString">
                                                <xsd:minInclusive value="0"/>
                                                <xsd:maxInclusive value="255"/>
                                        </xsd:restriction>
                                </xsd:simpleType>
                        </xsd:element>
                </xsd:sequence>
                <xsd:attribute name="lookupCtlOwnerIndex" type="SNMP-FRAMEWORK-MIB:SnmpAdminString"/>
                <xsd:attribute name="lookupCtlOperationName" type="SNMP-FRAMEWORK-MIB:SnmpAdminString"/>
                <xsd:attribute name="lookupResultsIndex" type="smi:Unsigned32"/>
        </xsd:complexType>
</xsd:schema>
<!--MIB Explorer 1.6 - Full License, no expiration-->

