Commit Graph

387 Commits

Author SHA1 Message Date
Srivats P
0b573d572e Device Emulation (contd.) - added intelligence for single or dual ip stack; fixed pktBuf memory leak 2016-01-01 11:59:31 +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
12d17ef6de Feature (contd.): Device Emulation - added/updated IPv6 fields in emulproto 2015-12-24 19:00:32 +05:30
Srivats P
e0f9e6a703 Feature (contd.): Device Emulation - minor cleanup of emultest.py 2015-12-24 18:28:47 +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
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
447b175516 Merge branch 'master' into emul 2015-12-05 21:47:56 +05:30
Srivats P
851278a41f CI: no luck with OSX/gcc - so excluding this combo for now 2015-12-05 21:33:56 +05:30
Srivats P
6fbfc4b375 CI: Another try for OSX/gcc; added build notification email 2015-12-05 21:21:56 +05:30
Srivats P
b027156384 CI: Change $CXX also for gcc-4.8 on OSX 2015-12-05 20:29:53 +05:30
Srivats P
f58372b348 CI: Use the 'real' gcc on OSX; restore linux which was removed earlier temporarily 2015-12-05 19:37:12 +05:30
Srivats P
8a8242fbda CI: Fix BSD/OSX compilation by adding missing #include 2015-12-05 19:22:06 +05:30
Srivats P
54e7e8c03d CI: Add OSX dependencies 2015-12-05 19:06:28 +05:30
Srivats P
600960a6d0 CI: Add OSX 2015-12-05 18:13:32 +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
bed034a08b Merge branch 'master' into emul 2015-12-01 19:16:24 +05:30
Srivats P
dc28dfefd6 Feature (contd.): Device Emulation - sort the device list returned by getDeviceList() RPC 2015-11-29 21:18:31 +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
b377a19918 Merge branch 'master' of D:/srivatsp/projects/ostinato/master 2015-11-06 19:00:15 +05:30
Srivats P
efdfa7f95d Feature: Ostinato client now accepts hostnames for drones and does DNS resolution for the same; IPv6 addresses are also accepted. Introduced Drone setting to listen to specific or 'any' IPv4 (or IPv6) address
Fixes #152
2015-11-06 18:57:07 +05:30
Srivats P
01e8524491 Regression Fix: Fix compilation issue on Windows introduced by the RateAccuracy feature 2015-11-06 18:53:27 +05:30
Srivats P
0db170d393 Added cscope.out to .gitignore 2015-11-05 18:33:34 +05:30
Srivats P
2840d5b7f2 Edited README.md to add link to COPYING 2015-11-04 19:01:29 +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
06182a435c Bugfix: Introduced RateAccuracy setting for Drone to conserve CPU at the cost of accuracy
Fixes #151
2015-10-12 18:11:30 +05:30
Srivats P
fdbae1f1bf Updated README - added TravisCI badge and license info 2015-10-07 21:07:22 +05:30
Srivats P
2cad79b87e Bugfix: A calculated UDP checksum of 0 should be set as 0xFFFF in the frame as per RFC 768. A checksum value of 0 in the frame is "special" and indicates that no checksum was calculated and hence receiver should not verify the same. This special case seems to be only for UDP, not TCP though.
Fixes #160
2015-10-07 20:40:31 +05:30
Srivats P
8c41b536a4 Feature (contd.): Device Emulation - fixed bug where we receive back a transmitted emulation packet 2015-10-03 21:27:15 +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
Srivats P
7f224f61cd Bugfix: Variable fields related code is now generated correctly when saving a stream as a python script
Fixes #158
2015-10-02 13:49:54 +05:30
Srivats P
246bc95c74 Feature (contd.): Device Emulation - user now configures a device group instead of a single device for easier creation of multiple devices; refactored and redistributed functionality between DeviceManager and Device; external functionality wise same as last commit; added initial code for vlans but not tested 2015-09-20 17:49:15 +05:30
Srivats P
ab433dc22b Feature: Device Emulation - first cut working code 2015-09-14 18:19:52 +05:30
Srivats P
dbf91934a8 Fixing the protoc compiler in travis config 2015-09-09 18:45:59 +05:30
Srivats P
5727d751da Added Travis CI YAML 2015-09-09 18:36:42 +05:30
Srivats P
449facd119 Fix PacketSet parameters' calculation when sending bursts so that actual transmit rate matches configured rate
Fixes issue #157
2015-09-08 18:46:56 +05:30
Srivats P
32766c6e8e Change how to get commit hash from mercurial to git 2015-08-12 20:11:17 +05:30
Srivats P
ee9d6e7c55 Edited README.md to minimal content with reference to the website for more information; converted .hgignore to .gitignore 2015-07-02 20:27:16 +05:30