Commit Graph

414 Commits

Author SHA1 Message Date
Taras Petriv
5a51e13ad9 Some changes 2015-11-24 14:33:25 +02:00
Taras Petriv
f5c4648bb1 Adding STP protocol support 2015-11-24 14:31:17 +02:00
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
Srivats P
d79bfe8796 ../../gc2gh/finishGoogleCodeGitHubWikiMigration: Moved ProjectHome.md from wiki branch to README.md in master branch. 2015-07-02 18:29:24 +05:30
Srivats P.
a5c562a50f Bumped version to 0.7.1 2015-06-15 18:10:09 +05:30
Srivats P.
53b0154e79 Bugfix (collateral): Fixed msg parsing logic for blob/error which causes GUI to crash or become unresponsive; this was a colleteral of reworking of the msg parsing code to fix day one issues in revision c484106d19b8
Fixes issue 153
2015-06-14 18:02:22 +05:30
Srivats P.
d6da34e2b3 Bumping version to 0.7 2015-06-07 12:27:55 +05:30
Srivats P.
24d341cce3 Bugfix(collateral): Fixed TCP/UDP checksum on big-endian platforms; collateral of changes made in IPv4/IPv6 pseudo header cksum for variable fields feature 2015-06-06 15:28:16 +05:30
Srivats P.
d677b09491 Fixed gcc4 warnings 2015-06-05 20:18:41 +05:30
Srivats P.
0bec1cfdf8 Misc: Changed the version update check URL to a (hopefully) more permanent one 2015-06-03 21:34:19 +05:30
Srivats P.
384fd6e172 Feature (contd.): Variable Fields - fixed errors and warnings reported by gcc4 in the code added for this feature 2015-06-01 19:05:43 +05:30
Srivats P.
a8069bbb39 Feature (contd.): Variable Fields - bumped up file format revision number because of this new feature 2015-05-31 21:38:07 +05:30
Srivats P.
22d35f8a41 Feature (contd.): Variable Fields - fixed bug where the correct validation/masks were not setup when adding a new VF or switching between protocols 2015-05-31 21:21:46 +05:30
Srivats P.
022fac534c Feature (contd.): Variable Fields - fixed 2nd protocol of combo protocols not being listed and offset/mask not being calculated correctly for them via the GUI 2015-05-31 20:47:25 +05:30
Srivats P.
6bb64a3b26 Feature (contd.): Variable Fields - renamed variable_fields as singular; this makes it consistent with other repeated variables in protocol.proto and in any case the C++/Python generated code "sounds" better with a repeated field named in its singular form, rather than plural 2015-05-31 20:14:32 +05:30
Srivats P.
641a4f3c89 Feature (contd.): Variable Fields - defined a template function varyCounter to avoid duplicating code for different counter sizes 2015-05-31 19:46:16 +05:30
Srivats P.
77f5b124e7 Feature (contd.): Variable Fields - fixed the code to use 'step' while varying fields which was missed out earlier. Updated the test suite and made sure all test cases pass 2015-05-31 18:02:06 +05:30
Srivats P.
4093e52d48 Feature (contd.): Variable fields - filled in the placeholder with the actual test suite; some tests are failing - need to fix the code 2015-05-30 13:26:14 +05:30
Srivats P.
60c47c34a1 Feature (contd.): Variable Fields - AbstractProtocol now caches fieldFrameBitOffset unless the subclass says not to 2015-05-27 22:41:31 +05:30
Srivats P.
4f2abcb789 Feature (contd.): Variable Fields - AbstractProtocol now caches the frameVariableCount (of variableFields) 2015-05-27 21:28:40 +05:30
Srivats P.
7a1f791a37 Feature (contd.): Variable Fields - removed protocol subclass implementations of isProtocolFrameValueVariable() since the updated implementation in the base abstract class is now sufficient. Updated subclass implementations of protocolFrameValueVariableCount() to query the base class and use the return value in its calculation 2015-05-27 20:36:49 +05:30
Srivats P.
df24cf8b15 Feature: Variable Fields - any field of any protocol can now be varied by specifying it as a generic 8/16/32 bit field at a specified offset (relative to the protocol frame value) with a certain mask and a (initial) value alongwith count and step; this is working code - but incomplete. Bunch of FIXME/TODOs and testing pending 2015-05-26 21:43:37 +05:30
Srivats P.
77fe49bf10 Bugfix: When changing transmit mode of a port, the avg rates should be recalculated 2015-05-08 21:49:43 +05:30
Srivats P.
1dbc4120c9 Bugfix: When we add a portgroup, there was a delay in the port stats window showing '*' in the column titles 2015-05-08 21:24:52 +05:30
Srivats P.
250065970f Optimization: Modify port from the Ostinato GUI client now only sends those fields that have changed 2015-05-07 21:12:06 +05:30
Srivats P.
382c94b326 Behaviour Change: 'Clear All' in the port stats window now clears only the visible ports in the window, not all ports of all portgroups. This behaviour is the more appropriate behaviour when two or more clients are connected to the same portgroup and are using mutually exclusive ports within the portgroup - this way they don't affect each other's ports (assuming they have only their used ports visible) 2015-05-07 18:56:32 +05:30