Commit graph

109 commits

Author SHA1 Message Date
tgoff0
99ab22c78c Improve determining an appropriate python install prefix. 2015-02-19 02:00:11 +00:00
tgoff0
9cae7819bf daemon: Have git ignore files generated when creating python
documentation.
2015-02-13 22:35:34 +00:00
tgoff0
145866b70b daemon: Improve the python documentation Makefile. 2015-02-13 21:34:41 +00:00
tgoff0
ca8856d6c8 daemon: Initial support for writing different versions of XML scenario files. 2015-02-05 00:16:14 +00:00
tgoff0
899b5ae5be daemon: Renumber XML versioning.
Consider the current XML representation version 0.0.
2015-02-05 00:15:59 +00:00
tgoff0
bc3ba68b28 daemon/services: Update NRL services. 2015-02-05 00:15:54 +00:00
tgoff0
5bb00646d7 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
978f9946f1 daemon: Add initial support for invoking python callbacks when session
state changes occur.
2015-02-05 00:15:43 +00:00
tgoff0
fb662d06b7 daemon: Ignore redundant session state changes. 2015-02-05 00:15:38 +00:00
tgoff0
4599520518 Add some gitignore files. 2015-01-28 02:15:45 +00:00
tgoff0
baa9afc20f script fix 2015-01-21 21:38:19 +00:00
tgoff0
458d1d64e6 added olsr.org service template 2015-01-21 21:38:15 +00:00
tgoff0
6159d31f66 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
d40b0dd89c Adjust file mode bits. 2015-01-21 21:38:02 +00:00
tgoff0
3d7aab1149 daemon: Use interface names from /sys/class/net when it exists. 2015-01-21 21:37:52 +00:00
tgoff0
dfc4b2b9a2 daemon: Trivial debug message cleanup.
Check that a message header was received before trying to log it.
2015-01-21 21:37:48 +00:00
tgoff0
29c31aad9a daemon: Send an exception message reply if an error occurs when
importing/executing a file.
2015-01-21 21:37:43 +00:00
tgoff0
b9ebcd979c daemon: Do some session cleanup if an error occurs when importing an
XML scenario.
2015-01-21 21:37:38 +00:00
tgoff0
d56f26b5d6 Some trivial code cleanup. 2015-01-21 21:37:31 +00:00
tgoff0
a0d4ac4ec4 daemon: Wait for a TunTap device to exist before trying to configure
addresses.
2014-12-15 22:24:17 +00:00
tgoff0
6084b4f416 Adjust file mode bits. 2014-12-15 18:23:25 +00:00
tgoff0
598cd87080 daemon: Export the filename as a global variable when executing a file. 2014-12-15 18:23:13 +00:00
tgoff0
104e68a712 daemon: Initial support to allow multiple versions of XML scenario files. 2014-12-15 18:22:53 +00:00
tgoff0
3ffdf7c420 daemon: Some code reorganization to make XML support more modular. 2014-12-15 18:22:46 +00:00
ahrenholz
b89e7d6471 fix MDR test to work with Quagga under Ubuntu found in quagga_search_path
(Boeing r1901)
2014-11-05 21:31:01 +00:00
ahrenholz
c5f1fa7d13 added docker service file from r603 2014-10-31 18:47:57 +00:00
ahrenholz
90f3c6569f convert node count to string before building session message (fixes bug #258)
patch from Björn Axelsson
(Boeing r1900)
2014-10-31 18:35:38 +00:00
ahrenholz
f5e3461903 make calcdistance a staticmethod
(Boeing r1897)
2014-10-31 16:46:43 +00:00
ahrenholz
267c49dfab added Docker service contributed by Stuart Marsden, with some mods
fixes bug #264
(Boeing r1896)
2014-10-31 16:45:03 +00:00
ahrenholz
f61522207d 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
503713f0bc 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
96dd48e3c3 fixed sample scripts to work with EMANE 0.9.x
(Boeing r1893)
2014-10-28 17:40:14 +00:00
ahrenholz
5c9c8bfff7 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
be4f431ab6 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
c04c0a9ef3 added SDT option to basicrange.py example
(Boeing r1889)
2014-10-23 22:14:06 +00:00
ahrenholz
2df3e6cd77 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
7f05bcd94a fix improper EMANE version detection when stopping/starting sessions
(Boeing r1885)
2014-09-30 14:52:13 +00:00
ahrenholz
5359ff4fd4 added support for distributed EMANE 0.9.2
(Boeing r1884)
2014-09-29 19:07:25 +00:00
ahrenholz
f081985433 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
4ee92d1711 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
e825b94e13 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
24263d77bd 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
3ca4cecd0b whitespace only changes made by Ninja-IDE
(Boeing r1879)
2014-09-17 22:00:11 +00:00
ahrenholz
66ebcb5cf4 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
f3b86f6dbd fix bug #231 exception with mobility script and two wlans
(Boeing r1859)
2014-07-29 14:52:08 +00:00
ahrenholz
42f176e1ec 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
3bcbc0ffac make daemon shutdown more robust to Python errors
(Boeing r1855)
2014-07-22 17:17:42 +00:00
ahrenholz
c95e240aa8 added nodetype target to core-manage to add/remove/check $HOME/.core/nodes.conf
(Boeing r1854)
2014-07-18 16:56:05 +00:00
ahrenholz
71927274cd added core-manage tool for addons to add/remove/check services and models
(Boeing r1851)
2014-07-15 20:30:45 +00:00
ahrenholz
e6ff3b4cce support multiple frequencies of interest with the EMANE 0.9.1 Universal Phy
(Boeing r1850)
2014-07-11 17:44:41 +00:00