-- Module TestCategories-ASN1Module (X.737:11/1995)
-- See also ITU-T X.737 (11/1995)
-- See also the index of all ASN.1 assignments needed in this document
TestCategories-ASN1Module {joint-iso-itu-t ms(9) function(2) part14(14)
asn1Module(2) 1} DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS everything
IMPORTS
CMIP-ATTRIBUTE, AttributeSet, AttributeId
FROM CMIP-1 {joint-iso-itu-t ms(9) cmip(1) modules(0) protocol(3)}
DMI-TYPE-IDENTIFIER, ManagementExtension, StartTime, StopTime
FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2)
asn1Module(2) 1}
TimeoutPeriod, TestOutcome, Timespec, MORTs, AssociatedObjects
FROM Test-ASN1Module {joint-iso-itu-t ms(9) function(2) part12(12)
asn1Module(2) 0};
ConnectionTestInfo ::= SEQUENCE {
testPattern [0] EXPLICIT TestPattern OPTIONAL, -- test pattern sent
testDirection [1] TestDirection OPTIONAL,
testDuration [2] EXPLICIT TestDuration OPTIONAL,
reportingInterval [3] Timespec OPTIONAL
}
ConnectionTestResults ::= SEQUENCE {
receivedTestPattern [0] EXPLICIT TestPattern OPTIONAL,
errorRatio [1] REAL OPTIONAL,
testDirection [2] TestDirection OPTIONAL,
testDurationMade [3] Timespec OPTIONAL
}
ConnectivityTestInfo ::= SEQUENCE {
timeoutPeriod
[0] EXPLICIT CHOICE {timeUnits Timespec,
attributeId AttributeId},
effectiveTime [1] Timespec
}
ConnectivityTestResults ::= CHOICE {
establishmentTime [0] Timespec,
timeoutPeriod [1] TimeoutPeriod,
testThreshold [2] EXPLICIT TestThreshold,
specificError [3] OBJECT IDENTIFIER
}
ConnectivityThreshold ::= CHOICE {
time [0] SEQUENCE {unitsType UnitsType,
unitsTotal UnitsTotal},
rawData [1] RawData
}
ContCond ::= CHOICE {intervalTime Timespec,
pDUReception PDUReception
}
DataCategory ::= INTEGER {bits(0), octets(1), blocks(2), packets(3)}
DataIntegrityTestInfo ::= SEQUENCE OF DataUnits
DataIntegrityTestResults ::= CHOICE {
testResult
[0] SEQUENCE {establishmentTime [1] EstablishmentTime OPTIONAL,
originalData [2] DataUnits,
corruptedData [3] DataUnits OPTIONAL},
timeoutPeriod [4] TimeoutPeriod,
testThreshold [5] EXPLICIT TestThreshold
}
DataRate ::= CHOICE {real REAL,
oi OBJECT IDENTIFIER
}
DataSize ::= INTEGER
DataType ::= CHOICE {
integerDataType IntegerDataType,
objectIdentifierDataType OBJECT IDENTIFIER
}
DataUnits ::= SEQUENCE {
dataType [0] EXPLICIT DataType,
dataCategory [1] DataCategory OPTIONAL,
dataSize [2] DataSize OPTIONAL,
dataNumber [3] UnitsTotal OPTIONAL,
dataRate [4] EXPLICIT DataRate OPTIONAL
}
EndConnectionTestResults ::= ConnectionTestResults
ErrorRatioReportType ::= ENUMERATED {errorBitNumber(0), percentErrorSecond(1)}
ErrorUnitThreshold ::= SEQUENCE {
unitType [0] UnitsType,
unitsTotal [1] UnitsTotal
}
EstablishmentTime ::= Timespec
FailedCase ::= ENUMERATED {lineDisconnected(0), counterOverflow(1)
} -- error counter overflow
IntegerDataType ::= INTEGER {
allBitOn(0), allBitOff(1), incrementNumber(2),
pn11(3), -- CCITT 0.152
pn15(4), -- CCITT 0.151
pn20(5)}
IntermediateResourceBoundaryTestOutcome ::= ENUMERATED {
passed(0), unexpected(1), wrongSignalReceived(2), waitDurationTimerExpired(3)
}
IntermediateResponse ::= ENUMERATED {
inProgress(0), delayedMeasurement(1), interruptedMeasurement(2),
repeatLater(3), noAcknowledgement(4)
} -- abnormal condition, a correct response cannot be sent
CDTC-TEST-RESULTS ::= DMI-TYPE-IDENTIFIER
InternalResourceTestResults ::= SEQUENCE {
functionTested CDTC-TEST-RESULTS.&id({InternalResourceSet}),
testResult
CDTC-TEST-RESULTS.&Value({InternalResourceSet}{@.functionTested})
}
InternalResourceSet CDTC-TEST-RESULTS ::=
{...}
LoopbackError ::= CHOICE {errorBitNo INTEGER,
percent REAL
}
LoopbackFailInfo ::= INTEGER {
errorRatioThresholdExceeded(0), loopbackTimeoutExceeded(1)}
LoopbackTestResult ::= SEQUENCE {
passed
SEQUENCE {loopbackDataReceived TestPatternSequence,
loopbackErrorReceived LoopbackError},
fail LoopbackFailInfo,
timeout [1] NULL, -- test timeout period exceeded
prematureTermination [2] NULL,
inconclusive [3] NULL
}
LoopbackTxDelayInfo ::= NULL
LoopbackType ::= OBJECT IDENTIFIER
Parameter ::= SEQUENCE {
attributeType CMIP-ATTRIBUTE.&id({AttributeSet}),
value CMIP-ATTRIBUTE.&Value({AttributeSet}{@.attributeType})
}
LoopbackTestInfo ::= SEQUENCE {
loopbackData TestPatternSequence OPTIONAL,
testStartTime GeneralizedTime OPTIONAL,
testIntervalTime [1] Timespec OPTIONAL,
reportingIntervalTime [2] Timespec OPTIONAL,
loopbackType OBJECT IDENTIFIER OPTIONAL,
loopbackTimeout [3] Timespec OPTIONAL,
loopbackErrorThreshold LoopbackError OPTIONAL
}
PatternType ::= DataType
PDUReception ::= SEQUENCE {
pDUType PDUType,
parameter Parameter,
responseTimeout ResponseTimeout OPTIONAL
}
PDUSequence ::= SEQUENCE {
pDUType PDUType,
parameter Parameter,
contCond ContCond,
waitDuration WaitDuration OPTIONAL
}
PDUType ::= OBJECT IDENTIFIER
ProtocolIntegrityTestInfo ::=
SEQUENCE { -- This ProtocolIntegrityTestInfo is optional.
pDUSequence [0] PDUSequence,
pDUReception [1] PDUReception OPTIONAL, -- one, and only one, of the pDUReception
waitingInterval [2] WaitingInterval OPTIONAL, -- and the waitingInterval shall be present
startTime [3] StartTime OPTIONAL,
stopTime [4] StopTime OPTIONAL
}
ProtocolIntegrityTestResults ::= INTEGER {
wrongPDUResponse(0), pDUResponseNotReceived(1)}
RawData ::= OCTET STRING
ResourceBoundaryTestInfo ::= SEQUENCE {
resultReportIndicator [0] IMPLICIT ResultReportIndicator OPTIONAL,
sequenceOfEvents [1] IMPLICIT SequenceOfEvents OPTIONAL
}
ResourceBoundaryTestResults ::= SEQUENCE {
signalReceived [0] IMPLICIT SignalReceived OPTIONAL,
intermediateResourceBoundaryTestOutcome
[1] IMPLICIT IntermediateResourceBoundaryTestOutcome OPTIONAL,
eventId [2] IMPLICIT INTEGER OPTIONAL
}
ResourceSelfTestInfo ::= SEQUENCE {
diagnosticType [0] INTEGER OPTIONAL, --type of diagnostic to be run
phases SET OF INTEGER, -- phases to be run
iteration [1] INTEGER, -- number of iterations for each type
timeoutPeriod [2] TimeoutPeriod
}
ResourceSelfTestResults ::= CHOICE {
intermediateResponse IntermediateResponse,
nonIntermediate
SEQUENCE {phases SET OF INTEGER,
iteration [0] INTEGER,
timeoutPeriod [1] TimeoutPeriod,
finalResponse PrintableString OPTIONAL}
}
ResponseTimeout ::= TimeoutPeriod
ResultInterval ::= INTEGER
ResultReportIndicator ::= ENUMERATED {
resultReportForPassedSequences(0), noResultReportForPassedSequences(1)
}
CDTC-SIGNAL-TYPE ::= DMI-TYPE-IDENTIFIER
SequenceOfEvents ::= SEQUENCE {
eventId INTEGER,
signalType CDTC-SIGNAL-TYPE.&id({SignalTypeSet}),
signalValue CDTC-SIGNAL-TYPE.&Value({SignalTypeSet}{@.signalType}),
signalDirection SignalDirection,
mORTs MORTs,
associatedObjects AssociatedObjects,
waitDuration WaitDuration
}
SignalTypeSet CDTC-SIGNAL-TYPE ::=
{...}
SignalDirection ::= ENUMERATED {send(0), receive(1)}
SignalReceived ::=
SET OF
SEQUENCE {signalType CDTC-SIGNAL-TYPE.&id({SignalTypeSet}),
signalValue
CDTC-SIGNAL-TYPE.&Value({SignalTypeSet}{@.signalType}),
mORTs MORTs,
associatedObjects AssociatedObjects}
StateTransitionTimeInterval ::= Timespec
TerminationReason ::= OBJECT IDENTIFIER
TestConditions ::= SEQUENCE {
first INTEGER {testIfBusy(0), rejectIfBusy(1), waitIfBusy(2)},
second INTEGER {customerOverrideTest(0), noCustomerOverrideTest(1)} OPTIONAL
}
TestDirection ::= INTEGER {
atoZ(0), ztoA(1), bothDirections(2), transmitFromNearEnd(3),
receiveFromNearEnd(4)}
TestDuration ::= CHOICE {
signalDuration Timespec,
signalLength SEQUENCE {size INTEGER,
dataRate DataRate OPTIONAL}
}
TestInfrastructureTestResults ::= NULL
TestPatternSequence ::=
SEQUENCE OF TestPattern -- There should be some size limitation here
-- if test signal pattern is to fit in one pdu!!!!!
TestPattern ::= CHOICE {
rawData OCTET STRING,
standardType DataType,
undefinedType ManagementExtension
}
TestThreshold ::= CHOICE {
bitErrorThreshold [0] INTEGER,
percentageErrorThreshold [1] REAL,
errorUnitThreshold [2] ErrorUnitThreshold
}
Type ::= INTEGER {connectionOriented(0), connectionless(1)}
UnitsTotal ::= INTEGER
UnitsType ::= OBJECT IDENTIFIER
WaitDuration ::= Timespec
WaitingInterval ::= Timespec
END
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D