Commit Graph

57 Commits

Author SHA1 Message Date
Srivats P
b1e960b858 sign: refactored the stream stats test; new problem discovered if the data stream is appended to an ICMP error packet sent by the DUT we will count the ICMP packet as a signed packet as well 2016-11-20 22:03:30 +05:30
Srivats P
e9bdfa04ea sign: implemented rx stream stats - loopback problem to be fixed 2016-11-17 21:44:34 +05:30
Srivats P
defdc218bd sign: fix the tx stream stats calculation and update associated test case 2016-11-15 22:23:55 +05:30
Srivats P
f8575ef101 sign: post tx stream stats collection; testing pending 2016-11-13 19:11:24 +05:30
Srivats P
cffada4c07 sign: server rpc implementation of stream stats; actual collection of stream stats pending 2016-11-10 18:18:27 +05:30
Srivats P
783db4e832 sign: add stream GUID to sign protocol 2016-11-07 20:09:17 +05:30
Srivats P
bf92ea09df sign: TDD test script for stream stats 2016-11-06 21:28:31 +05:30
Srivats P
c5487067e5 Fix build of pcap import test code 2016-06-26 17:26:06 +05:30
Srivats P
8f08fc92c9 Update TODO Test cases for Session Save/Open 2016-05-19 20:02:32 +05:30
Srivats P
bcb5376f9d Save/Open Session - added UI and related infra to invoke OssnFileFormat; code to build sessionContent incomplete 2016-04-14 07:44:07 +05:30
Srivats P
fbb56720ba Device Emulation (contd.): Renamed Device List and Device Neighbor List fields so that the names are better reflective of what they contain 2016-03-22 20:18:53 +05:30
Srivats P
0e32a1942d Device Emulation (contd.): Verify ARP/NDP cache is cleared after clearNeighbors(); also rename dev_cfg var to devcfg to avoid clash with the test param dev_cfg 2016-03-21 18:19:15 +05:30
Srivats P
259dafa3e9 Device Emulation (contd.): Fixed bug where DeviceNeighborList.device_index did not match the correct device in PortDeviceList 2016-03-15 18:15:35 +05:30
Srivats P
f6c852495d Device Emulation (contd.): resolveNeighbors() now resolves the device gateway also in addition to looking at transmit packet content to figure out which IPs to resolve 2016-01-28 20:01:19 +05:30
Srivats P
e3a3a0cf1f Device Emulation (contd.): Fix frames not being truncated (introduced by recent changes in StreamBase::frameValue()); add test case for the same and add checksum/error check to pktlentest(s) 2016-01-27 20:39:54 +05:30
Srivats P
754a9ac20e Merge branch 'master' into emul 2016-01-27 18:46:07 +05:30
Srivats P
ad866e3025 Bugfix: Fix incorrect IPv4 pseudo-header checksum calculation for a stream with incrementing/decrementing packet length (regression bug caused by variable fields feature introduced in 0.7) 2016-01-27 18:26:49 +05:30
Srivats P
d309bc9362 Device Emulation(contd.): Specify minimum tshark version that supports the filters we need for verification 2016-01-26 14:05:26 +05:30
Srivats P
83e4aeb992 Device Emulation: Remove path for windows' tshark - expect it to be part of user env $PATH 2016-01-24 13:45:13 +05:30
Srivats P
8efdb44e6a Device Emulation (contd.): Enhanced the VLAN Devices test case to include IPv6 (and dual stack) scenario(s) 2016-01-23 21:01:47 +05:30
Srivats P
efe22149e1 Device Emulation (contd.): Minor refactoring in test case 2016-01-21 18:41:21 +05:30
Srivats P
6b772bfabe Device Emulation (contd.): Fix IPv6 test case to work with non-zero step value and vary IPv6 dst-addr correctly 2016-01-15 18:47:02 +05:30
Srivats P
f1ff9e2616 Device Emulation (contd.) - StreamBase::frameValue() now returns truncated packet content and length instead of bailing out if the passed in buffer size is less than the packet length. This is useful for some of the device emulation code which needs packet content only uptil the IP header but not beyond, so we don't need to unnecessarily create the entire packet with payload for these cases 2016-01-15 09:37:43 +05:30
Srivats P
07dd945f50 Device Emulation (contd.): Lookup NDP Cache for IPv6 neighbor mac 2016-01-13 21:15:47 +05:30
Srivats P
04147076c4 Device Emulation (contd.): Implemented responding IPv6 NS with NA 2016-01-08 20:01:42 +05:30
Srivats P
eff603304e Device Emulation (contd.): Receive, parse IPv6 Neigh Advt and update NDP Table 2016-01-06 18:10:28 +05:30
Srivats P
d9be523827 Device Emulation (contd.) - Implemented sending of IPv6 Neighbor Solicitation packets for IPv6 resolution 2016-01-01 20:17:54 +05:30
Srivats P
aaf6dbcbf2 Device Emulation (contd.) - Implemented IPv6 device creation and deletion 2015-12-31 20:17:56 +05:30
Srivats P
ea68b42059 Feature (contd.): Device Emulation - added test case for IPv6 - currently failing pending IPv6 implementation 2015-12-30 18:25:13 +05:30
Srivats P
e0f9e6a703 Feature (contd.): Device Emulation - minor cleanup of emultest.py 2015-12-24 18:28:47 +05:30
Srivats P
414d89860d Pull cleanup: minor changes after merging pull request #172 2015-12-24 14:16:35 +05:30
Srivats P
ea44e55e78 Feature (contd.): Device Emulation - Test case and code to support sending ping echo reply in response to received ping echo request 2015-12-23 21:18:25 +05:30
Raja Krishnamoorthy
1e268080c2 fixed the testcases in rpctest.py
fixed the testcases in rpctest.py
2015-12-22 21:18:58 +05:30
Srivats P
b135cb8df7 Feature (contd.): Device Emulation - add test case for non-default VLAN step value 2015-12-21 18:41:46 +05:30
Srivats P
baef6c2ea6 Feature (contd.): Device Emulation - add test for non default mac step value 2015-12-21 18:28:35 +05:30
Srivats P
03f427ce91 Feature (contd.): Device Emulation - Test case and code to support non default vlan TPID 2015-12-20 19:33:02 +05:30
Srivats P
6b5a8105e6 Feature (contd.): Device Emulation - parameterized test case to check for IP step value other than 1 (default) 2015-12-19 20:51:04 +05:30
Srivats P
71d04b63bc Feature (contd.): Device Emulation - refactored and moved EncapEmulation as a native field of DeviceGroup instead of a extension - now the device_count comment of "per encap" makes more sense with encap at the same level as device_count 2015-12-16 20:48:17 +05:30
Srivats P
ad1fb5fc37 Feature (contd.): Device Emulation - fixed problems in code and in test case for multi-tagged vlans 2015-12-14 21:04:58 +05:30
Srivats P
cb1e16976d Feature (contd.): Device Emulation - refactored the vlan test case to work for multiple tags and parametrized it to verify 1 to 4 tags 2015-12-13 18:41:39 +05:30
Srivats P
c022290da1 Merge branch 'master' of https://github.com/pstavirs/ostinato into emul
Conflicts:
	server/pcapport.cpp
2015-12-01 21:00:41 +05:30
Srivats P
cad62c1fd7 Feature (contd.): Device Emulatiom - converted emulation tests to use the py.test framework 2015-11-29 12:52:08 +05:30
Srivats P
f8d5cbd252 Bugfix: Fixed frameVariableCount() for the stream when it doesn't contain the payload protocol and is configured to generate increment/decrement/random length packets
Fixes #168
2015-11-22 20:03:24 +05:30
Srivats P
3a5396c865 Feature (contd.): Device Emulation - Got rid of a bunch of FIXMEs and all trailing whitespace (in the code added for this feature) 2015-11-14 17:06:43 +05:30
Srivats P
7daf75c95a Feature (contd.): Device Emulation - added getDeviceList() RPC 2015-11-11 13:05:15 +05:30
Srivats P
492a207ede Feature (contd.): Device Emulation - reorganized/renamed some emulation RPCs and messages 2015-11-11 10:52:29 +05:30
Srivats P
280d4bedaa Feature (contd.): Device Emulation - Mac protocol can now 'resolve' src/dst mac corresponding to the packet from the Device Emulation infra 2015-11-10 19:40:32 +05:30
Srivats P
9302e5f17c Feature (contd.): Device Emulation - added resolveNeighbors() and related RPC code and implementation to send out ARP Requests and build the ARP Table on each device 2015-11-04 18:50:08 +05:30
Srivats P
fcfcfe6887 Feature (contd.): Device Emulation - Removed 'mode' from both vlan and device; will reintroduce or replace with something else when needed 2015-10-03 20:15:20 +05:30
Srivats P
0c98e30a93 Feature (contd.): Device Emulation - added test cases for multiple ip4 devices with and without VLANs; fixed bugs discovered via these cases 2015-10-03 13:18:44 +05:30