Printer FriendlyEmail Article Link

Spirent TestCenter: HLTAPI- While performing Ping using API sth::emulation_ping, Why an extra device is created?

Environment/Versions
  • Spirent TestCenter
  • Automation- HLTAPI
  • Ping
Answer
  • Resolved in HLTAPI t4.30 release and above.
  • Ping can be performed by providing handle of existing device.

API:

sth::emulation_ping
-port_handle <portHandle>
-handle <handle>
-host {a.b.c.d|<aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh>}
[-count <integer>]
[-interval <integer>]
[-mac_address_start <aa:bb:cc:dd:ee:ff>]

Description:
-handle

Specifies the host handle from which to send ICMP ECHO_REQUESTs. For example, the handle received from function sth::interface_config.
Note: -port_handle and -handle are mutually exclusive. It is mandatory to specify either of the two but not both.


Product : Spirent TestCenter,Automation,API,Spirent TestCenter,ICMP