Commit graph

82 commits

Author SHA1 Message Date
tgoff0@gmail.com
4905c3ae97 daemon: Minor XML-related cleanup. 2015-02-27 00:06:47 +00:00
tgoff0@gmail.com
43115c090d daemon: Initial support for writing different versions of XML scenario files. 2015-02-05 00:16:14 +00:00
tgoff0@gmail.com
0b61877b0b daemon: Renumber XML versioning.
Consider the current XML representation version 0.0.
2015-02-05 00:15:59 +00:00
tgoff0@gmail.com
729ae87548 daemon/services: Update NRL services. 2015-02-05 00:15:54 +00:00
tgoff0@gmail.com
7cb8f18d35 daemon: Call the EMANE post-startup function when entering the session
runtime state.

This should help synchronization startup for distributed emulations.
2015-02-05 00:15:48 +00:00
tgoff0@gmail.com
03603fc39a daemon: Add initial support for invoking python callbacks when session
state changes occur.
2015-02-05 00:15:43 +00:00
tgoff0@gmail.com
b2e1835d60 daemon: Ignore redundant session state changes. 2015-02-05 00:15:38 +00:00
tgoff0@gmail.com
cf482378c6 Add some gitignore files. 2015-01-28 02:15:45 +00:00
tgoff0@gmail.com
4bf1bc92cb added olsr.org service template 2015-01-21 21:38:15 +00:00
tgoff0@gmail.com
e0036f4835 daemon: Refactor waiting for a TunTap device to exist.
This should also fix an issue that caused excessive startup delay.
2015-01-21 21:38:10 +00:00
tgoff0@gmail.com
2f0be85ad0 Adjust file mode bits. 2015-01-21 21:38:02 +00:00
tgoff0@gmail.com
1dc5492fd2 Some trivial code cleanup. 2015-01-21 21:37:31 +00:00
tgoff0@gmail.com
a71380b7a3 daemon: Wait for a TunTap device to exist before trying to configure
addresses.
2014-12-15 22:24:17 +00:00
tgoff0@gmail.com
baef9aaf4f daemon: Initial support to allow multiple versions of XML scenario files. 2014-12-15 18:22:53 +00:00
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