Srivats P
a1705e7619
Try to reconnect with drone after disconnect
...
This used to work earlier, but got broken when the incompatibility check
was added as we didn't want reconnect to be initiated if versions were
incompatible.
This fix will always try to reconnect, except for following cases -
* Compatibility check is false
* Bad data received from drone
* User triggered disconnect
Fixes #333
2021-04-25 10:52:42 +05:30
Srivats P
bcc21ccded
Gracefully handle portgroup disconnect during Apply
...
Fixes #326
2020-12-27 17:00:28 +05:30
Srivats P
c97a359f85
Warn about retreiving stream stats from a transmitting port
...
Tx stream stats are available only after transmit is finished.
Fixes #334
2020-12-27 11:28:18 +05:30
Srivats P
dccf2042f0
Abort connection if bad data received from drone
...
Currently we would crash because of qFatal(). The new behaviour is
better. Error is reported in the logs window alongwith a suggestion on
what to check.
2020-05-09 09:50:32 +05:30
Srivats P
3fca24396d
Report "Apply" time in logs
2019-07-02 18:24:55 +05:30
Srivats P
6817d3f870
Resolve neighbors before build as part of "apply"
2019-05-31 18:34:07 +05:30
Srivats P
edc7ed677c
Mark sync complete after build finish during apply
...
Since build is now the last step during "apply", use that to mark sync
complete. Since build will always be called irrespective of whether any
changes were made to devices/streams, we can now send the stream RPCs
only if required.
Additionally log RPC calls only if they are actually made.
2019-05-28 19:02:50 +05:30
Srivats P
7cf323202f
Add new build() RPC
...
Make build an explicit RPC so that clients can call resolveNeighbor
before build
2019-05-28 18:46:58 +05:30
Srivats P
cd9758f165
Merge branch 'master' into hostdev
2019-04-11 18:56:49 +05:30
Srivats P
2614eb8645
Retrieve devices at startup even if no device groups
...
Now that we have host devices, we can have devices without having a
device group
2019-03-11 19:15:08 +05:30
Srivats P
00bc01898d
Show a progress dialog during Apply
...
The most time spent during apply is during packet rebuilding.
Unfortunately, there is no feedback from the drone to know the actual
progress, so this is just a busy indicator for now.
I tried to put a jump url to the FAQ on why it takes time, but 'coz the
app cursor is a "wait cursor", user cannot click on any widgets/elements
inside the dialog box - so this won't work.
Iterate on this dialog and what it displays based on user feedback.
2019-02-22 18:58:13 +05:30
Srivats P
9003d339bc
Display all RPC failures and errors in the logs window
2019-02-21 20:51:18 +05:30
Srivats P
8b9cceb7ed
HostDev: Return smac/dmac resolve failure via RPC
2019-02-09 17:16:31 +05:30
Srivats P
bb80be30a6
LogsWindow: Add RPC info/warn/error logs
2018-08-20 20:40:58 +05:30
Srivats P
f801982830
Port common, rpc and client code to Qt5
...
Still pending
* server port to Qt5
* verify/test the port
2018-03-14 21:58:56 +05:30
Srivats P
6dd6511269
Merge branch 'master' into sign
2017-12-03 12:59:26 +05:30
Srivats P
b3fb053cca
Change all URLs to jump URLs
2017-10-10 21:36:06 +05:30
Srivats P
a2b349e5b7
Inform user about Drone version incompatibility
2017-09-25 21:26:57 +05:30
Srivats P
b2291eb1c0
Tweak text for Port Group has no ports
2017-09-23 16:47:02 +05:30
Srivats P
db77563466
UX: Change port name color if local config is changed
...
Although the applyHint is also changed in this case, the applyHint is
visible only when the port is selected. Having the port name in a
different color is a visual hint to the user that Apply is pending
2017-09-16 12:12:43 +05:30
Srivats P
eed4f8eb1d
sign: Clear Port+Stream Stats on Clear(All) click
...
Although the RPC API provides separate APIs for clearing Port and Stream
Stats, typical use case would be to clear both together
2016-11-28 20:19:17 +05:30
Srivats P
fda7807797
sign: GUI code for fetch/display of stream stats
2016-11-24 21:44:38 +05:30
Srivats P
5d701c9382
Change the FAQ URL and add button to open the URL; fixes #176
2016-06-23 20:36:35 +05:30
Srivats P
2acfb3f25a
Fix warnings introduced by recent feature development
2016-06-01 20:51:29 +05:30
Srivats P
b6a6b776e1
Open Session - Drone on Windows now sends actual /Device/NPF_XXXX as port names - client sets up the ifX style alias and uses that all places; this was needed for comparison of port names while opening sessions for Drones running on Windows
2016-05-18 18:37:48 +05:30
Srivats P
97ad497480
Open Session - no UI enabling/restore required after modifyPort
2016-05-14 20:13:43 +05:30
Srivats P
f626c179aa
Open Session - Invoke modifyPort RPC only if required
2016-05-14 19:49:07 +05:30
Srivats P
3090b5eebd
Mark SyncComplete after stream RPCs since those are invoked after device RPCs
2016-05-13 20:10:53 +05:30
Srivats P
672ceeeb2c
Open Session - implemented DeviceGroups related code
2016-05-12 18:47:16 +05:30
Srivats P
5406d3dad8
Open Session: Don't reconfigure ports reserved by someone else; also for the ports which are reconfigured, used self name rather than the name in the session file
2016-05-10 20:26:48 +05:30
Srivats P
0b24bd6dde
Save/Open Session: Fix crash while deleting atConnectConfig_
2016-05-09 18:37:42 +05:30
Srivats P
294d1c80a1
Save/Open Session: Save only owned ports if some ports are reserved - corresponding open session code not to overwrite a owned port is pending
2016-05-06 21:24:36 +05:30
Srivats P
b8db66a2d5
Save/Open Session - added open session code (incomplete)
2016-05-05 19:13:00 +05:30
Srivats P
2426632055
Don't wait for all responses of getStreamIdList() before invoking getStreamConfig(); similarly for devices too - this change should simplify session file open
2016-04-26 20:23:50 +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
72a6381c88
Device Emulation (contd.): Retrieve Device Information on connect to drone
2016-03-24 18:58:28 +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
6a7a17cd36
Device Emulation (contd.): Refresh device info (if reqd.) when "Apply" is clicked
2016-03-16 21:34:36 +05:30
Srivats P
8012a9e786
Device Emulation (contd.): Fixed DeviceGroup related RPCs to be invoked only if required by client when "Apply" is clicked
2016-03-16 20:51:36 +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
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
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
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
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
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.
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.
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.
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