8-130
Cisco Unified Communications Manager Managed Services Guide
OL-22523-01
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 ==
loc1) 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.
Содержание MCS-7825-H3-IPC1
Страница 28: ...Contents xxvi Cisco Unified Communications Manager Managed Services Guide OL 22523 01 ...
Страница 34: ...xxxii Cisco Unified Communications Manager Managed Services Guide OL 22523 01 Related Documentation ...
Страница 974: ...Index IN 8 Cisco Unified Communications Manager Managed Services Guide OL 22523 01 ...