Commit graph

1791 commits

Author SHA1 Message Date
ahrenholz
422ecab341 use default SDT URL as default session option
(Boeing r1840)
2014-04-22 15:49:12 +00:00
ahrenholz
7bc3fa99a0 added stdurl session option
(Boeing r1839)
2014-04-22 15:23:59 +00:00
ahrenholz
57022b7ca6 save and parse canvas origin (reference point) and scale in the Motion Plan XML
(Boeing r1838)
2014-04-08 16:18:11 +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
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
3b01f99e2c use a shell script to start SMF and detach stdin/stdout/stderr
(Boeing r1822)
2014-01-22 17:31:40 +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
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
ddfc6f5de7 unbreak the ability to create a WLAN network during runtime
(Boeing r1810)
2013-12-09 23:43:46 +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
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
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
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
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
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
102dd2aa3b set NODE_NAME and NODE_NUMBER in default vnoded environment for SimpleLxcNodes
(Boeing r1788)
2013-10-28 14:33:31 +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
ahrenholz
d676a9fd59 (Boeing r1783)
fix HTTP service running under Ubuntu by setting up /var/lock/apache2 dir
2013-10-22 14:23:57 +00:00
ahrenholz
f9e7c36204 (Boeing r1776)
bump CORE API version number to 1.22
2013-09-25 17:35:56 +00:00
ahrenholz
51e17db093 (Boeing r1775)
raise exception when veth created with local name longer than 16 bytes
2013-09-25 17:34:29 +00:00
ahrenholz
454d17a245 (Boeing r1774)
added which() function to search full PATH for executable; use it in checkexec()
2013-09-12 19:07:41 +00:00
ahrenholz
4f9c7bf804 (Boeing r1769)
include exception text when service startup command fails
2013-09-06 17:58:54 +00:00
ahrenholz
f96bbf7a29 (Boeing r1767)
update SDT helper to support 3D display of distributed emulations (fix bug #205)
2013-09-05 17:46:12 +00:00
ahrenholz
dba5f31b8d (Boeing r1766)
fix bug where TunnelNodes not included in boot count, session doesn't enter
 the RUNTIME state
2013-09-05 17:32:50 +00:00
ahrenholz
30965ba950 (Boeing r1764)
added Broker.handlerawmsg() helper to invoke handlemsg() using packed bytes
2013-09-04 17:03:34 +00:00
ahrenholz
83d238c691 (Boeing r1763)
include server TLV when generating node messages

useful for Python scripts that generate messages for feeding into the broker
2013-09-04 17:01:01 +00:00
ahrenholz
1a659fe9eb (Boeing r1761)
have broker forward conf reset messages to "all"

fixes issue with restarting distributed EMANE session
2013-08-30 18:42:42 +00:00
ahrenholz
aad3f07560 (Boeing r1760)
fix Session.instantiate() for EMANE slave servers, which wait for their 
  platform ID and starting NEM ID from the master server
2013-08-30 18:41:39 +00:00
ahrenholz
898a8c6c76 (Boeing r1757)
fix exception raised when EMANE model is missing config
2013-08-29 20:35:56 +00:00
ahrenholz
ce65d617c5 (Boeing r1755)
allow specifying multiple controlnet prefixes for distributed sessions

a callback causes the broker to munge the CONF message so that controlnet
  prefixes are assigned to slave servers by the master server
2013-08-29 17:51:19 +00:00
ahrenholz
7e63173d07 (Boeing r1754)
display message when control network bridge is added
2013-08-29 16:08:53 +00:00
ahrenholz
f8f46d28be initial import (Boeing r1752, NRL r878) 2013-08-29 14:21:13 +00:00