Cisco MCS-7825-H3-IPC1 Service Manual page 934

Managed services guide
Table of Contents

Advertisement

Chapter 8
Industry-Standard Management Information Base
IF-MIB
get (ifTestId, ifTestStatus)
while (ifTestStatus != notInUse)
/*
* Loop while a test is running or some other
* manager is configuring a test.
*/
short delay
get (ifTestId, ifTestStatus)
}
/*
* Is not being used right now -- let's compete
* to see who gets it.
*/
lock_value = ifTestId
if ( set(ifTestId = lock_value, ifTestStatus = inUse,
ifTestOwner = 'my-IP-address') == FAILURE)
/*
* Another manager got the ifTestEntry -- go
* try again
*/
goto try_again;
/*
* I have the lock
*/
set up any test parameters.
/*
* This starts the test
*/
set(ifTestType = test_to_run);
Wait for test completion by polling ifTestResult when test completes, agent sets ifTestResult agent
also sets ifTestStatus = 'notInUse' retrieve any additional test results, and ifTestId if (ifTestId ==
lock_value+1) results are valid.
A manager station first retrieves the value of the appropriate ifTestId and ifTestStatus objects,
periodically repeating the retrieval if necessary, until the value of ifTestStatus is 'notInUse'. The
manager station then tries to set the same ifTestId object to the value it just retrieved, the same
ifTestStatus object to 'inUse', and the corresponding ifTestOwner object to a value indicating itself.
If the set operation succeeds then the manager has obtained ownership of the ifTestEntry, and the
value of the ifTestId object is incremented by the agent (per the semantics of TestAndIncr). Failure
of the set operation indicates that some other manager has obtained ownership of the ifTestEntry.
Cisco Unified Communications Manager Managed Services Guide
8-130
OL-22523-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Unified communications manager 8.5(1)

Table of Contents