Commit Graph

395 Commits

Author SHA1 Message Date
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
Srivats P.
ab76da1ad2 Bugfix: Escape the username RegExp used for filtering Ports window 2015-05-06 21:47:46 +05:30
Srivats P.
efbc2dcf48 Feature: Show My Reserved Ports Only linked to Port Stats window also 2015-05-06 21:40:55 +05:30
Srivats P.
ad3a279cd6 Bugfix: Fixed crash on clicking 'apply' caused by an invalid proxyPortModel->mapToSource() 2015-05-04 22:29:35 +05:30
Srivats P.
2c28433533 Feature: View Menu: Restore Defaults
Fixes issue 68
2015-05-03 23:44:35 +05:30
Srivats P.
05b73a5390 Feature: Show My Reserved Ports Only 2015-05-03 22:18:54 +05:30
Srivats P.
7dc7a840f1 Merging heads 2015-05-02 11:46:05 +05:30
Srivats P.
25ef8dd1e4 Infra: Added code to disable notifications for python-ostinato scripts since python-ostinato does not expect and hence does not know how to deal with notifications
Updates issue 144
2015-05-01 21:41:04 +05:30
Srivats P.
f1378965ca Bugfix: Fixed bugs in RPC Channel read function that causes the client to miss some messages or not receive any at all (see the diff for details); these bugs are day one bugs but adding the Notify RPC increased the chances of seeing them
Updates issue 144
2015-05-01 13:20:12 +05:30
Srivats P.
fbaf6edcdf Bugfix: Use 'smart' pointer to refcount and auto-destruct to avoid notification memory leaks
Updates issue 144
2015-04-28 18:45:35 +05:30
Srivats P.
9be69a8f46 Refactoring: Cleanup RPC Channel's knowledge of notification prototype
Updates issue 144
2015-04-25 20:12:37 +05:30
Srivats P.
ad6baea4af Infra: On a port modify, all clients are sent notifications of the same - they can request for port config again to get latest config
Updates issue 144
2015-04-24 20:53:00 +05:30
Srivats P.
fd22d49ead Refactoring: Move gzip/diff/awk path default values init on Windows into the Preferences class 2015-04-16 22:30:18 +05:30
Srivats P.
a9da643fb2 Feature: Reserve Ports for cooperative use of shared drone. If a port is reserved the GUI will display the username of the owner but others can still view and control the port; in other words, we just potentially prevent unintentional usage of other people's ports, users still need to play nice with each other!
Fixes issue 144
2015-04-16 22:20:07 +05:30
Srivats P.
0c861201b3 Save streams as Python Script: The generated script now checks for Ctrl-C while waiting for transmit to stop, so that cleanup can be done 2015-04-09 21:44:54 +05:30
Srivats P.
ecbb257912 Add feature to duplicate selected streams to create user defined number of copies
Fixes issue 23
2015-03-01 21:58:40 +05:30
Srivats P.
e3e61b7320 Merge 2015-03-01 21:36:54 +05:30
Srivats P.
10d921adfc Export streams as a python script for use with python-ostinato 2015-03-01 21:36:13 +05:30
Srivats P.
c0f6a71123 Fix infinite loop(s) when QT_NO_DEBUG_OUTPUT is defined
Fixes issue 146
2015-02-27 20:29:38 +05:30
Srivats P.
b617c44e61 64bit stats support added for Linux if supported by the kernel and driver
Fixes issue 70
2015-02-18 21:20:27 +05:30