Skip to content

Commit d597e8d

Browse files
Added creation of an ICMPv6 layer and set an echo payload
1 parent f67f7ef commit d597e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

feature/system/management/otg_tests/management_ha_test/management_ha_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ func createFlowV6(t *testing.T, bs *cfgplugins.BGPSession) {
262262
v6 := v6Flow.Packet().Add().Ipv6()
263263
v6.Src().SetValue(ateNetPrefix)
264264
v6.Dst().Increment().SetStart(prefixesStart).SetCount(1)
265-
icmp1 := v6Flow.Packet().Add().Icmp()
266-
icmp1.SetEcho(gosnappi.NewFlowIcmpEcho())
265+
icmpv6 := v6Flow.Packet().Add().Icmpv6()
266+
icmpv6.SetEcho(gosnappi.NewFlowIcmpv6Echo())
267267

268268
bs.ATE.OTG().PushConfig(t, bs.ATETop)
269269
bs.ATE.OTG().StartProtocols(t)

0 commit comments

Comments
 (0)