def showTrafficItemPacketStack(self, configElementObj): """ Description Display a list of the current packet stack in a Traffic Item 1: Ethernet II 2: VLAN 3: IPv4 4: UDP 5: Frame Check Sequence CRC-32 Parameters configElementObj: /api/v1/sessions/1/ixnetwork/traffic/trafficItem/{id}/configElement/{id} """ print() response = self.ixnObj.get(self.ixnObj.httpHeader+configElementObj+'/stack') self.ixnObj.logInfo('\n', timestamp=False) for (index, eachHeader) in enumerate(response.json()): self.ixnObj.logInfo('%s: %s' % (str(index+1), eachHeader['displayName']), timestamp=False)