Printer FriendlyEmail Article Link

Spirent TestCenter-API:How to retrieve the EOAM Ais results?

Environment/Versions
  • Spirent TestCenter
  • Automation-API
  • EOAM

 

Answer

Below is the code:

stc::subscribe -resultparent eoammaintenancepointconfig1 -parent project1 -configtype eoammaintenancepointconfig -resulttype eoamaisresults
stc::create EoamChangeAisRxEnableCommand -under system1 -MepList eoammaintenancepointconfig1 -EnableAisRx TRUE
stc::perform deviceStart -deviceList emulateddevice1
stc::get emulateddevice1
stc::get emulateddevice1 -children-EoamNodeConfig
stc::get eoamnodeconfig1 -children-EoamMaintenancePointConfig
stc::config eoammaintenancepointconfig1 -LmrTxFCbStep 1 -LmrRxFCfStart 1 -LmrTxFCbStart 1 -LmrRxFCfStep 1 -OperationMode IEEE -DefaultCreated TRUE
stc::get eoammaintenancepointconfig1 -children-EoamAisResults
stc::get eoamaisresults1
stc::perform EoamStartAis -AisConfigList eoamaiscommandconfig1
puts "[stc::get eoamaisresults1]"

Also attached the sample script for reference.
 

Attachments
Attachment


Product : Spirent TestCenter,Automation,API,Spirent TestCenter,EOAM