Commit graph

81 commits

Author SHA1 Message Date
ahrenholz
fef98f30c9 when executing Python scripts from the GUI, run in background thread and
wait for them to enter the RUNTIME state
2014-04-03 21:58:05 +00:00
ahrenholz
2c2c9a082f prevent extra MRU list entries by trimming spaces from script names
(Boeing r1835)
2014-04-03 21:50:51 +00:00
ahrenholz
ad93e7f292 added "Execute Python script with options..." menu item
enables filenames containing spaces
(Boeing r1834)
2014-04-03 17:26:47 +00:00
ahrenholz
738e1ff125 bump version to 4.6svn7 (periodic increment)
(Boeing r1833)
2014-04-03 14:46:45 +00:00
ahrenholz
77008b7aa8 updated project goals in manual from "real software" to "software re-use"
(Boeing r1832)
2014-04-03 14:44:54 +00:00
ahrenholz
81a22a7192 NRL SVN r954 / dean:
added nrl services for an mgen sink and nrlolsrv2
(Boeing r1831)
2014-04-03 14:43:23 +00:00
ahrenholz
e610a8d726 fix hash calculation used to determine GRE tunnel keys
for fixing tunnels between distributed controlnets
(Boeing r1830)
2014-04-02 21:19:41 +00:00
ahrenholz
d48af2afae GUI support for link delays up to 274 seconds (netem maximum for Linux
3.2.0-60-generic)
(Boeing r1829)
2014-03-18 17:55:18 +00:00
ahrenholz
481daf4c0d update examples scripts, replacing add_to_server() with two-line statement
note that due to the usage of the 'server' global, it will not work to add a
Session.add_to_server() or core.misc.utils.add_to_server() function
(Boeing r1828)
2014-03-12 21:38:07 +00:00
ahrenholz
5aef9cddbd change cored and GUI labels to core-daemon and core-gui in architecture diagram 2014-03-05 21:40:53 +00:00
ahrenholz
3dd1ec1de8 bump version to 4.6svn6 (periodic increment)
(Boeing r1826)
2014-03-05 20:21:26 +00:00
ahrenholz
f717fcc0dd (commit by Kelly Bunn)
session.py:  Created method (sendnodeemuid) to send node status response
             message, so all nodes can call it. Added per session updown
             script option.
service.py:  Added test for _starttime before calling float() in
             bootnodeservices().
             Changed servicesfromopaque code to collect unknown
             services and return with valid services.
             Changed handleevent to send a message with posible failed
             and unknown services.
coreobj.py:  Added code to put nodes actual configured services in
             tonodemsg.
core-daemon: Added call to self.session.sendnodeemuid if in running
             state in handlenodemsg

(Boeing r1824,1825)
2014-03-05 16:28:32 +00:00
ahrenholz
b3454da6df minor update to EMANE download URL in docs 2014-01-31 17:50:10 +00:00
ahrenholz
3b01f99e2c use a shell script to start SMF and detach stdin/stdout/stderr
(Boeing r1822)
2014-01-22 17:31:40 +00:00
ahrenholz
a69396d1d5 fixes for errors with distributed sessions not using the Python Broker
(Boeing r1821)
2014-01-21 22:17:31 +00:00
ahrenholz
de58978f2c bump version to 4.6svn5 (periodic increment)
(Boeing r1820)
2014-01-15 21:12:52 +00:00
ahrenholz
47433fc231 log exception messages generated by Session.exception()
(Boeing r1819)
2014-01-10 16:56:14 +00:00
ahrenholz
ee8023a64a fix bug #150 where the EMANE event service address and port were not used
added buildeventservicexml() helper to write /tmp/pycore.xxxxx/libemane...xml
dynamically set LIBEMANEEVENTSERVICECONFIG environment variable when needed
 to load the event service library XML
(Boeing r1818)
2013-12-19 22:27:10 +00:00
ahrenholz
bbbf775766 improved imports, added addtextelementsfromtuples() helper,
added sample XML in comments
(Boeing r1817)
2013-12-19 21:34:58 +00:00
ahrenholz
ca332bd83a added --(a)ddress and --(p)ort arguments to core-gui command-line
added save/close buttons to plugins dialog
updated man page/documentation with new arguments
(Boeing r1816)
2013-12-18 18:10:19 +00:00
ahrenholz
f2d1b6a553 bump to version 4.6svn4 (periodic increment)
(Boeing r1815)
2013-12-17 20:59:28 +00:00
ahrenholz
96f346804b allow default node class to be specified when initalizing an XML parser
write and parse default services and node types to/from XML ServicePlan
(Boeing r1814)
2013-12-16 23:57:42 +00:00
ahrenholz
c635c54a3a fix two exceptions when using ns2 scripted mobility along with SDT3D
(Boeing r1813)
2013-12-16 23:29:27 +00:00
ahrenholz
9e955d22f0 update MDR service to use broadcast interfaces for links to non-WLAN nets
(Boeing r1812)
2013-12-16 18:52:41 +00:00
ahrenholz
9d897e4898 unbreak mobility script pause event
(Boeing r1811)
2013-12-11 17:21:46 +00:00
ahrenholz
ddfc6f5de7 unbreak the ability to create a WLAN network during runtime
(Boeing r1810)
2013-12-09 23:43:46 +00:00
ahrenholz
5a1e8bfdca fix handling of service stop message
(Boeing r1809)
2013-12-09 22:14:05 +00:00
ahrenholz
fce1cf18ee allow run-time model changes when pressing "Apply" in WLAN config dialog
(Boeing r1808)
2013-12-09 17:56:06 +00:00
ahrenholz
2f560551d1 update GUI to receive services TLV from Node Message
(Boeing r1807)
2013-12-09 15:59:31 +00:00
ahrenholz
a9ea208a08 added reconfigure event type, for re-generating service config files
added new Event Message handling for starting mobility model or reconfiguring
  a service during runtime
(Boeing r1806)
2013-12-05 23:44:25 +00:00
ahrenholz
c1c71bb33a enter runtime state when start button pressed with empty canvas
(Boeing r1805)
2013-12-05 23:42:14 +00:00
ahrenholz
564cabaac6 minor change text label to use symmetric/asymmetric instead of uni/bidir.
(Boeing r1804)
2013-12-05 18:11:49 +00:00
ahrenholz
d281682772 globally replace old NRL URL with new
http://www.nrl.navy.mil/itd/ncs/products/core
(Boeing r1803)
2013-12-04 21:45:42 +00:00
ahrenholz
d03e836358 replace old NRL URL throughout user manual
(Boeing r1802)
2013-12-04 19:33:50 +00:00
ahrenholz
3e99c9d12f added extra logic to EMANE node to enable flow control in the virtual transport
if it is enabled in the MAC model
(Boeing r1801)
2013-12-03 23:10:21 +00:00
ahrenholz
6babc9895e fix error with EMANE CommEffect model with loss/duplicate % string values
(Boeing r1800)
2013-12-03 19:48:06 +00:00
ahrenholz
5390f280e3 update daemon to generate extra Link Messages for bidirectional link effects
support bidirectional links with session reconnect and XML save/load
(Boeing r1799)
2013-12-03 18:14:39 +00:00
ahrenholz
6547b898c3 daemon support for unidirectional link effects
also enable link effects between hub/switch and hub/switch connections
(Boeing r1798)
2013-12-02 21:20:52 +00:00
ahrenholz
f01ddd7c16 GUI support for unidirectional link effects; GUI support for link jitter
(Boeing r1796,1797)
2013-12-02 21:14:14 +00:00
ahrenholz
536ff20fff change API version to 1.23
change jitter to 64-bit value to align with delay in Link Message
added unidirectional link flag TLV to Link Message
(Boeing r1795)
2013-12-02 21:08:00 +00:00
ahrenholz
eee6310076 bump to version 4.6svn3 (periodic increment)
(Boeing r1794)
2013-11-25 20:41:53 +00:00
ahrenholz
acf2430dbd allow executing XML files from GUI via File > Execute XML or Python script...
adopt filename when connecting to running session having a filename
(Boeing r1793)
2013-11-25 19:56:08 +00:00
ahrenholz
1e8abc4c1e allow executing XML files from daemon from Register Message
(like a Python script)
added start flag to xmlutils.opensessionxml(), 
XML file will be parsed into a live running session
(Boeing r1792)
2013-11-25 19:54:02 +00:00
ahrenholz
93f96c7707 attempt to prevent accidental overwrite of Python script with imn file format
(Boeing r1791)
2013-11-25 19:31:08 +00:00
ahrenholz
d9b564acb4 added TODO comment for scripts that don't return
(Boeing r1790)
2013-10-28 21:42:32 +00:00
ahrenholz
ed401451d2 print stack trace when Python script fails to run in core-daemon context
(Boeing r1789)
2013-10-28 15:25:44 +00:00
ahrenholz
102dd2aa3b set NODE_NAME and NODE_NUMBER in default vnoded environment for SimpleLxcNodes
(Boeing r1788)
2013-10-28 14:33:31 +00:00
ahrenholz
b6f4e035c2 bump to version 4.6svn2 (periodic increment)
(Boeing 1787)
2013-10-25 16:19:37 +00:00
ahrenholz
d00a49d682 added mkdir flag to Session.__init__() to allow adopting existing sessions
(Boeing r1786)
2013-10-25 15:21:08 +00:00
ahrenholz
0fc51e38bf (Boeing r1784,1785)
implement local flag when receiving Execute Message, for running host commands
added checkforkernelmodule helper
2013-10-22 14:32:42 +00:00