Commit Graph

454 Commits

Author SHA1 Message Date
Srivats P
7561b09c1e Device Emulation (contd.): Implemented display of NDP Cache Device Detail; also fixed missing clear of NDP cache on server 2016-03-14 21:16:46 +05:30
Srivats P
853802b997 Device Emulation (contd.): Implemented display of ARP Cache Device Detail; styled "drillable" fields in DeviceModel suitably 2016-03-14 20:11:40 +05:30
Srivats P
24a93a5025 Device Emulation (contd.): PortsWindow - refactored all device related widgets into a separate DevicesWidget for better modularity. 2016-03-13 19:51:32 +05:30
Srivats P
941d522451 Device Emulation (contd.): GUI now fetches ARP/NDP also from server and display summary counts - resolved/total 2016-03-12 18:56:35 +05:30
Srivats P
7c87e2130a Device Emulation (contd.): Use two different TableViews for DeviceGroupList and DeviceList 2016-03-11 21:05:07 +05:30
Srivats P
0503c8acaf Device Emulation (contd.): Get and display Device List 2016-03-11 18:58:08 +05:30
Srivats P
f742cdbc7a Device Emulation (contd.): Trigger Device RPCs before Stream RPCs because Drone updates its packet list at the end of modifyStream() 2016-03-10 18:20:55 +05:30
Srivats P
e9759fde26 Device Emulation (contd.): Add icons for resolve/clear neighbor buttons 2016-03-09 21:54:01 +05:30
Srivats P
d55f44cab2 Device Emulation (contd.): Add buttons (and their implementation) for resolve/clear device neighbors to the port stats window 2016-03-09 21:20:11 +05:30
Srivats P
e7571b2022 Device Emulation (contd.): Add 'resolve' mode for src/dst mac address for GUI configuration of stream 2016-03-08 20:51:02 +05:30
Srivats P
10e1c5211d Device Emulation (contd.): Display IPv4/IPv6 (base) address in DeviceGroupListView 2016-03-08 18:49:28 +05:30
Srivats P
065698369f Device Emulation (contd.): If vlan tag count is zero, clear vlan encap 2016-03-08 18:27:10 +05:30
Srivats P
db8ad92738 Device Emulation (contd.): Assign a random mac address to a DeviceGroup at alloc time to ensure unique device keys when enumerating devices from device groups 2016-03-07 21:40:48 +05:30
Srivats P
600bdc1946 Device Emulation (contd.): Add check for duplicate/non-existing devices when deviceManager enumerates devices 2016-03-07 18:42:14 +05:30
Srivats P
11e9d0f6ef Device Emulation (contd.): fix deviceGroupId alloc bug 2016-03-05 04:31:29 +05:30
Srivats P
0ccb3e2fbd Device Emulation (contd.): Apply for deviceGroups implemented. This code has revealed bugs in other parts of the code which will be fixed in subsequent commits 2016-03-05 04:06:36 +05:30
Srivats P
bb69e644b1 Device Emulation (contd.): remove model from deviceGroupList if deviceInfo is selected - until deviceInfo model is implemented 2016-03-04 18:53:08 +05:30
Srivats P
c75e369840 Device Emulation (contd.): minor stuff 2016-03-04 18:46:59 +05:30
Srivats P
73485fb3bc Device Emulation (contd.): UI changes so that the 'Apply' button is seen to be common for both streams and devices; provisional UI for device information 2016-03-04 18:41:36 +05:30
Srivats P
f38567d33f Device Emulation (contd.): Hide/identify nice-to-have TODOs for DeviceGroup Dialog and call it done for now - phew! 2016-03-03 20:52:22 +05:30
Srivats P
c2df526aaf Device Emulation (contd.): DeviceGroup Dialog -fit/stretch the rows/cols of vlan Table plus minor stuff 2016-03-03 20:07:10 +05:30
Srivats P
586a177332 Device Emulation (contd.): Change SpinBoxDelegate for our needs and relicense under GPLv3; use SpinBoxDelegate for the Vlan Table validation 2016-03-03 18:23:25 +05:30
Srivats P
98c8149fbf Device Emulation (contd.): Added SpinBox Delegate (Qt Example) - unmodified code 2016-03-02 22:32:21 +05:30
Srivats P
0ef0c6cfc0 Device Emulation (contd.): Added a IntEdit class and used in DeviceGroup Dialog 2016-03-02 22:14:14 +05:30
Srivats P
2d8510cd3a Device Emulation (contd.): Fix build break due to case typo 2016-03-02 21:41:56 +05:30
Srivats P
a5fd26792e Device Emulation (contd.): DeviceGroupDialog - populate/load/store vlan table, update totalVlanCount and totalDeviceCount as other fields affecting these change 2016-03-02 21:10:29 +05:30
Srivats P
ff757d59c6 Device Emulation (contd.): Add default values for IPv6 fields, update IPv6 gateway if addr/pfxlen changes; define and use class Ip6Edit 2016-03-02 06:13:56 +05:30
Srivats P
0edfee8cdf Device Emulation (contd.): Add default values for IPv4 address/gateway, update gateway as address/pfxlen are edited; define and use a Ip4Edit class 2016-03-01 18:48:35 +05:30
Srivats P
9619439e6a Device Emulation (contd.): Use a default Mac address as per RFC 4814; define and use new MacEdit class 2016-02-29 20:12:02 +05:30
Srivats P
a4a654fb02 Device Emulation (contd.): Implemented load/store for the DeviceGroupDialog and supporting code - incomplete 2016-02-25 19:03:00 +05:30
Srivats P
c1d5ca90ac Device Emulation (contd.): Enable/Disable Device View actions based on selections 2016-02-22 20:19:33 +05:30
Srivats P
6d9327c9d4 Device Emulation (contd.): Implemented new/edit/delete actions for device groups in the GUI 2016-02-22 18:47:51 +05:30
Srivats P
c63528ebae Device Emulation (contd.): Added first cut code for the Device Group Configuration Dialog 2016-02-17 21:13:30 +05:30
Srivats P
264fe20c34 Device Emulation (contd.): Display vlan count and change device count to show total number of devices across all vlans 2016-02-16 18:57:08 +05:30
Srivats P
c569328bb3 Device Emulation (contd.): Added DeviceGroupModel on the GUI client 2016-02-12 19:10:19 +05:30
Srivats P
6fddf0436c Device Emulation (contd.): Client calls RPCs for retreiving device group id and config list(s) at connect; optimisation - don't retreive streamConfig if port doesn't have any streams 2016-02-05 19:06:14 +05:30
Srivats P
e8030bbd01 Device Emulation (contd.): Added a tab and view in the GUI for device configuration 2016-02-02 18:43:48 +05:30
Srivats P
3040c72181 Device Emulation (contd.): Optimize getDeviceMac() and getNeighborMac() to return 0 if no devices are configured 2016-01-28 21:21:24 +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
4f6195b8ba Bugfix: On Linux, if a port is unusable for any reason (e.g. if pcap_open failed), it is deleted - at this time, it should also be removed from the allPorts_ list otherwise subsequent traversal of the list accesses the freed LinuxPort object leading to crash.
Fixes #174
2016-01-14 20:09:42 +05:30
Srivats P
07dd945f50 Device Emulation (contd.): Lookup NDP Cache for IPv6 neighbor mac 2016-01-13 21:15:47 +05:30