Customer Service Center
Home
Knowledge Base
Forums
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ17741
Printer Friendly
Email Article Link
Spirent TestCenter-HLTAPI: Port objects do not have "Ospfv2RouterConfig" children. Those are for EmulatedDevices.
Environment/Versions
Xtapi 4.59
According to the documentation, the syntax for the command is:
========================================
Synopsis:
sth::emulation_ospfv2_info
-handle <port_handle>
[-mode {stats|clear_stats}]
Arguments:
-handle
Specifies one or more ports from which to gather transmitted
(tx) and received (rx) statistics. This argument is
mandatory.
========================================
-handle is supposed to be a port handle.
However, We see the following error in the logs:
Wed Aug 10 14:02:44 PDT 2016 [debug] {Calling ::sth::emulation_ospfv2_info}
Wed Aug 10 14:02:44 PDT 2016 [info] {Generating Ospfv2 stats table}
Wed Aug 10 14:02:44 PDT 2016 [stccall] stc::get port1 -children-Ospfv2RouterConfig
Wed Aug 10 14:02:44 PDT 2016 [debug] return value:
Wed Aug 10 14:02:44 PDT 2016 [error] Error: Provided router handle port1 does not have a OspfvRouterConfig object
We can see the problem on this line:
Wed Aug 10 14:02:44 PDT 2016 [stccall] stc::get port1 -children-Ospfv2RouterConfig
Port objects do not have "Ospfv2RouterConfig" children. Those are for EmulatedDevices.
Answer
Issue Fixed in xTAPI 4.62
Version
1.0
Publish Date
2016-10-25
Categories
Product : API
Related Articles