Commit graph

68 commits

Author SHA1 Message Date
tgoff0@gmail.com
dee5a1670e daemon: Some code reorganization to make XML support more modular. 2014-12-15 18:22:46 +00:00
ahrenholz@gmail.com
81d5348afc added docker service file from r603 2014-10-31 18:47:57 +00:00
ahrenholz@gmail.com
ddb8881388 make calcdistance a staticmethod
(Boeing r1897)
2014-10-31 16:46:43 +00:00
ahrenholz@gmail.com
bf6743a5d9 added Docker service contributed by Stuart Marsden, with some mods
fixes bug #264
(Boeing r1896)
2014-10-31 16:45:03 +00:00
ahrenholz@gmail.com
ed5f0eb02b update HTTP service to support apache 2.4 on Ubuntu 14.04 (fixes bug #261)
(Boeing r1895)
2014-10-30 18:13:43 +00:00
ahrenholz@gmail.com
e282c8c302 use hex value for short session ID used in naming interfaces
use interface names "vethOOOOO.ii.ss" and "vethOOOOO.iipss" for veth pairs

(where OOOOO = object id, ii = interface index, ss = hex short session ID)

fixes bug #260 virtual interface names too long
(Boeing r1894)
2014-10-28 21:18:16 +00:00
ahrenholz@gmail.com
b641fc9125 set IP addresses on TAP devices used with EMANE 0.9.2 (fixes bug #268)
(Boeing r1892)
2014-10-28 17:24:31 +00:00
ahrenholz@gmail.com
a4374c608d revise EMANE 0.9.2 detection due to protobuf file under Ubuntu 12.04
make Emane.detectversionfromcmd() a classmethod
(Boeing r1890,1891)
2014-10-27 20:52:01 +00:00
ahrenholz@gmail.com
7042b6bb0f update labels, EMANE 0.9.x RF-PIPE jitter/delay is in seconds, not microseconds
(Boeing r1886)
2014-10-02 15:00:19 +00:00
ahrenholz@gmail.com
0a552d60dd fix improper EMANE version detection when stopping/starting sessions
(Boeing r1885)
2014-09-30 14:52:13 +00:00
ahrenholz@gmail.com
adaddcd6e7 added support for distributed EMANE 0.9.2
(Boeing r1884)
2014-09-29 19:07:25 +00:00
ahrenholz@gmail.com
f7f832ef27 use default log level of 3 ("INFO" level) with EMANE if unspecified in core.conf
(Boeing r1883)
2014-09-23 21:37:18 +00:00
ahrenholz@gmail.com
cecc19ab6f support linking RJ45 with EMANE 0.9.2 using Raw transport;
build extra XML and launch emane process on host for the raw devices
(Boeing r1882)
2014-09-23 20:24:19 +00:00
ahrenholz@gmail.com
38a1e46d85 support for EMANE 0.9.2 by running emane process in each container
use control network for data and events
use internal transport instead of emanetransportd for 0.9.2
(Boeing r1881)
2014-09-23 16:26:22 +00:00
ahrenholz@gmail.com
07a8c1b1e8 initial XML changes for EMANE 0.9.2
for version detection, use 'emane --version' output instead of other tricks
(Boeing r1880)
2014-09-18 15:50:09 +00:00
ahrenholz@gmail.com
c94fdb2bd4 whitespace only changes made by Ninja-IDE
(Boeing r1879)
2014-09-17 22:00:11 +00:00
ahrenholz@gmail.com
e997a61b58 fix bug #253 "NetworkManager runs DHCP..." for Ubuntu (but not Fedora/CentOS)
use "vethA.B.SS" name for veth devices (A = node number, B = index, SS = short session ID)
use "tapA.B.SS" name for tap devices; use "b.A.SS" name for bridge devices
added a SESSION_SHORT environment variable to the default CORE environment
(Boeing r1867)
2014-08-04 17:28:35 +00:00
ahrenholz@gmail.com
e9262fe65b fix bug #231 exception with mobility script and two wlans
(Boeing r1859)
2014-07-29 14:52:08 +00:00
ahrenholz@gmail.com
140bb1ebc0 write local address, port for slave servers in /tmp/pycore.nnnnn/servers file
fixes bug #248
(Boeing r1856)
2014-07-28 17:49:42 +00:00
ahrenholz@gmail.com
8e17f1edb8 make daemon shutdown more robust to Python errors
(Boeing r1855)
2014-07-22 17:17:42 +00:00
ahrenholz@gmail.com
79e6105f9a support multiple frequencies of interest with the EMANE 0.9.1 Universal Phy
(Boeing r1850)
2014-07-11 17:44:41 +00:00
ahrenholz@gmail.com
3904772c03 (from veytser@ll) include antenna profile manifest parameter in platform.xml
(Boeing r1849)
2014-07-10 22:00:58 +00:00
ahrenholz@gmail.com
156d405250 minor cleanup of SDT helper
(Boeing r1846)
2014-06-13 18:41:46 +00:00
ahrenholz@gmail.com
52b4daa0ed added support for subscribing to EMANE 0.9.1 location events
(Boeing r1845)
2014-06-13 17:06:41 +00:00
ahrenholz@gmail.com
70fd3b73b5 tomh: s._starttime may not be a string
(Boeing r1843)
2014-06-02 19:38:02 +00:00
ahrenholz@gmail.com
6de0b925b8 initial EMANE 0.9.1 support
does not support event monitor or generating CommEffect events
2014-05-25 20:08:41 +00:00
ahrenholz@gmail.com
385f5e29d1 fix bug #244 by printing an error when some non-unique directory names are
used in the custom_services_dir setting
(Boeing r1841)
2014-04-30 21:27:41 +00:00
ahrenholz@gmail.com
2ffc1d7b80 use default SDT URL as default session option
(Boeing r1840)
2014-04-22 15:49:12 +00:00
ahrenholz@gmail.com
1ca2503c58 added stdurl session option
(Boeing r1839)
2014-04-22 15:23:59 +00:00
ahrenholz@gmail.com
6228dfa279 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@gmail.com
02a4e1b4b4 NRL SVN r954 / dean:
added nrl services for an mgen sink and nrlolsrv2
(Boeing r1831)
2014-04-03 14:43:23 +00:00
ahrenholz@gmail.com
fb3414852c 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@gmail.com
2ef4e2e53e (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@gmail.com
c0ed742317 use a shell script to start SMF and detach stdin/stdout/stderr
(Boeing r1822)
2014-01-22 17:31:40 +00:00
ahrenholz@gmail.com
6f63e2fbf5 log exception messages generated by Session.exception()
(Boeing r1819)
2014-01-10 16:56:14 +00:00
ahrenholz@gmail.com
fd9d3100fc 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@gmail.com
80e1124d79 improved imports, added addtextelementsfromtuples() helper,
added sample XML in comments
(Boeing r1817)
2013-12-19 21:34:58 +00:00
ahrenholz@gmail.com
e9dd8f6cbc 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@gmail.com
3708040461 fix two exceptions when using ns2 scripted mobility along with SDT3D
(Boeing r1813)
2013-12-16 23:29:27 +00:00
ahrenholz@gmail.com
3260852179 update MDR service to use broadcast interfaces for links to non-WLAN nets
(Boeing r1812)
2013-12-16 18:52:41 +00:00
ahrenholz@gmail.com
ed6da52d52 unbreak the ability to create a WLAN network during runtime
(Boeing r1810)
2013-12-09 23:43:46 +00:00
ahrenholz@gmail.com
3886fcd8bc allow run-time model changes when pressing "Apply" in WLAN config dialog
(Boeing r1808)
2013-12-09 17:56:06 +00:00
ahrenholz@gmail.com
340c977b1b 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@gmail.com
1e6db137f0 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@gmail.com
52494e17a0 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@gmail.com
0999d4ba20 fix error with EMANE CommEffect model with loss/duplicate % string values
(Boeing r1800)
2013-12-03 19:48:06 +00:00
ahrenholz@gmail.com
fac0da1fbd 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@gmail.com
38790febe8 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@gmail.com
e9c327a164 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@gmail.com
220c0798b5 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