OpenIxia / IxNetwork

A central location for IxNetwork sample scripts and utilities. Please also visit http://openixia.com
MIT License
50 stars 59 forks source link

Packet capture does not capture IGMP related data #136

Closed myusu closed 2 years ago

myusu commented 2 years ago

Regarding some emulation of a Multicast setup I needed to do some packet capture using the API. Looping: packetHeaders = capture_vport.Capture.CurrentPacket.Stack.find()' with for packetHeader in packetHeaders.find(DisplayName='Internet Group Management Protocol'): I get no IGMP data what so ever which I really should as everything else looks good Ixia - and other devices data wise in the topology. I get a lot of data with header names like 'Internet Protocol', 'Frame', 'Ethernet', '802.1q virtual lan' etc. when I remove the criteria onDisplayName='Internet Group Management Protocol'`

My code is pretty much based on: https://www.openixia.com/apis/getFileContents//OpenIxiaGit/IxNetwork/RestPy/SampleScripts/packetCapturing.py

Specifically I need to look into data regarding IGMP joins towards multicast groups from IGMP clients.

Using: Python 3.8.10, ixnetwork-restpy 1.0.65, IxNetwork API Server 9.00.1915.16

myusu commented 2 years ago

Did some manual testing on IXIA, thus closing this one..