Tom Goff
52e75bea3b
daemon: Add support for log file rotation when SIGUSR1 is received.
2015-12-29 13:50:18 -05:00
Tom Goff
b84c565329
daemon: Catch additional signals that terminate the process by default.
2015-12-29 13:50:05 -05:00
Tom Goff
ccf0dae139
automake: Add some missing distribution files.
2015-12-28 14:56:00 -05:00
Tom Goff
9440a16ef2
daemon: Add support for EMANE 0.9.3.
2015-12-18 17:12:26 -05:00
Tom Goff
ce0bfc88eb
daemon: Improve handling node-specific directory names.
2015-11-23 09:51:07 -05:00
Tom Goff
adbbafcc11
services: Set 'default' sysctl interface settings in addition to 'all'.
2015-11-12 18:22:41 -05:00
Tom Goff
28c27d27c1
daemon: Simplify event loop timer processing.
2015-11-05 12:37:48 -05:00
Tom Goff
c8d5ec994a
daemon: Include stack trace information when an exception occurs in a
...
session state hook.
2015-11-04 19:06:33 -05:00
Tom Goff
fc9a7c5759
daemon: Fix adding events to an event loop that already has an event
...
pending.
2015-11-04 19:02:21 -05:00
Tom Goff
f16f11c272
daemon: Check if devices are found when generating deployed scenario XML.
2015-10-13 11:07:15 -04:00
Tom Goff
ec5635c4a4
daemon: Add EMANE 0.9.1 R2RI configuration items.
2015-10-09 17:18:18 -04:00
weston
412f86ff15
removed specification of path for executable
2015-10-09 15:54:52 -04:00
weston
0b94aab4ae
removed specification of default mgenBasicActor port (to allow default to be changed by mgenBasicActor)
2015-10-09 15:54:28 -04:00
Tom Goff
3a13b8c92d
daemon: Use Emane.version directly instead of checking if EventService
...
exists.
2015-10-09 13:51:04 -04:00
Tom Goff
026f54d658
daemon: Assign version variables to the Emane class instead of
...
instances.
2015-10-09 13:50:59 -04:00
Tom Goff
63ff54243e
daemon: Add an example script that generates skeleton CORE bindings
...
from EMANE model manifest files.
2015-10-09 13:50:54 -04:00
Tom Goff
1c8c9ce6ea
daemon: Make generation of EMANE location events explicitly configurable.
2015-10-09 13:50:50 -04:00
Tom Goff
04e934c93c
daemon: Prefer using Session.getcfgitem() instead of direct access.
2015-10-09 13:50:45 -04:00
Tom Goff
e24bc9f3b9
daemon: Fix support for multiple session state hooks.
2015-10-09 13:50:39 -04:00
Jeff Ahrenholz
c37627b67a
Merge pull request #70 from stuartmarsden/pythondaemonexample
...
Add an example which can run on the daemon when run as a standard user.
2015-09-30 20:47:18 -07:00
Tom Goff
ac19cfa7ff
daemon: Add a startup service.
...
When enabled, the startup service ensures that other node services
start in order (according to the service _startindex value) and that
the prior service completes before the next service starts. It also
captures any output from startup commands in a file named
'startup.log'.
2015-09-11 18:12:57 -04:00
Tom Goff
2c8744f14e
Revert "daemon: Use a master script to start node services."
...
This reverts commit 15adf81954
.
2015-09-11 18:12:49 -04:00
Tom Goff
15adf81954
daemon: Use a master script to start node services.
...
This helps starting services with dependencies by running service
start commands serially.
2015-08-31 11:31:57 -04:00
Stuart Marsden
a9b0014c91
Add a example which can run on the daemon when run as a standard user.
2015-08-04 13:46:09 +03:00
tgoff0
b1322df827
use the modified tun_flowctl driver if it exists
...
From: weston
2015-06-01 17:52:49 +00:00
tgoff0
d92f1ff89d
fixed issue with assigning the 'lo' device for eventservice when using emane 0.9.1
...
From: santiago
2015-06-01 17:52:43 +00:00
tgoff0
a7e8043db8
daemon: Fix installation of executable example scripts.
2015-05-27 13:29:09 +00:00
tgoff0
5845f7afed
Changed default listen address back to localhost from 0.0.0.0
2015-05-26 17:34:33 +00:00
tgoff0
a91e9e0d4c
daemon: Fix corens3 examples install directory.
2015-05-26 17:34:28 +00:00
tgoff0
0ce17e8c52
daemon: Use automake to install python data files.
...
Includes other small changes.
2015-05-26 17:33:57 +00:00
tgoff0
5838814f07
daemon: Improve running session state change hooks.
2015-05-22 00:56:24 +00:00
tgoff0
aedd808f1a
daemon: Fix path of python sbin programs.
2015-05-22 00:56:02 +00:00
tgoff0
ad60004fad
daemon: Improve launching xterm from a sudo environment.
2015-05-22 00:55:48 +00:00
tgoff0
c68e05b4b5
Prefer using ip instead of ifconfig.
...
Includes other minor improvements.
2015-05-22 00:55:20 +00:00
tgoff0
2f3ec89ef4
Use sys.prefix instead of sys.exec_prefix for python sbin programs.
2015-05-22 00:55:13 +00:00
tgoff0
e905648d68
change the default pipe name of olsrv2
2015-05-22 00:54:49 +00:00
tgoff0
f675b0a16d
added check for all blank option values
2015-05-22 00:54:44 +00:00
tgoff0
b82c94efd8
prevent unintended session options alteration from the gui
2015-05-22 00:54:39 +00:00
tgoff0
0018be074f
daemon: Only automatically save a XML representation of the current
...
running session when NMF version 1.0 is used.
2015-05-22 00:54:34 +00:00
tgoff0
ea4f6ba518
fixed issues with shutting down a distributed batch mode
2015-05-22 00:54:28 +00:00
tgoff0
5b36181956
Raise fatal exception if control nets from earlier sessions are detected
2015-05-22 00:54:23 +00:00
tgoff0
e73dbbe25d
Made persistent to allow execution from the GUI
2015-05-22 00:54:17 +00:00
tgoff0
591ec20937
daemon: Automatically save a XML representation of the current session
...
after starting, including the deployed network plan when the new NMF
format is used.
2015-05-22 00:54:04 +00:00
tgoff0
baec96fac1
Undo check for configured controlnet, which is optional.
2015-05-22 00:53:59 +00:00
tgoff0
f6049614ab
Undo check for configured controlnet, which is optional.
2015-05-22 00:53:54 +00:00
tgoff0
9600ce9e03
Added example setting of primary control network ina distributed environment. Added example settings of auxiliary control networks.
2015-05-22 00:53:49 +00:00
tgoff0
06fe91ea86
Added support for auxiliary control networks. Some refactoring.
2015-05-22 00:53:43 +00:00
tgoff0
cd479193fc
checked for the attachment of a server interface to a control net before establishing a GRE tunnel with peers.
2015-05-22 00:53:38 +00:00
tgoff0
ab4819ac93
allow attachment of a server interface to a control net. added support for multiple control networks.
2015-05-22 00:53:33 +00:00
tgoff0
13fbea9153
Allow separation of OTA traffic from event traffic and from control backplane traffic. Some refactoring.
2015-05-22 00:53:28 +00:00
tgoff0
0fde50992d
daemon: Initial support to include a deployed network plan in the NMF
...
XML scenario representation.
2015-05-22 00:53:22 +00:00
tgoff0
1112da1417
daemon: Initial support for importing a scenario using the new NRL
...
Network Modeling Framework (NMF) XML representation.
2015-05-22 00:53:15 +00:00
tgoff0
08c9fd8bf5
daemon: Initial support for exporting a scenario using the new NRL
...
Network Modeling Framework (NMF) XML representation.
2015-05-22 00:53:01 +00:00
tgoff0
04e98a8004
Improve uninstalling python sbin programs.
2015-05-16 01:53:20 +00:00
tgoff0
692afe7f81
services: Improve the mgen actor service.
...
Fix shutdown and add a validation command.
2015-04-10 00:55:15 +00:00
tgoff0
4957b73e44
added shutdown to mgen actor
...
From: macker
2015-04-03 01:49:15 +00:00
tgoff0
ed14bb60e5
added missing 80211abg mac params when running with EMACS 0.9.x
...
From: santiago
2015-04-03 01:49:09 +00:00
tgoff0
5d08aa21bf
daemon: Set session configuration before setting the initial session state.
2015-03-24 23:30:04 +00:00
tgoff0
abaed4924b
daemon: Improve event handling some.
2015-03-24 18:06:49 +00:00
tgoff0
61d0f34982
added a default olsrd config file to the olsrorg service template
...
From: dean
2015-03-09 15:21:22 +00:00
tgoff0
e9a4a52755
daemon: Make Configurable.valueof() a class method.
2015-03-09 15:21:16 +00:00
tgoff0
8248a292d0
daemon: Use a consistent interface naming convention when creating
...
links between layer-2 devices.
2015-03-09 15:20:59 +00:00
tgoff0
61f1a6e72e
daemon: Represent object ids in hex when used to generate interface
...
names (to reduce length if possible).
2015-03-09 15:20:54 +00:00
tgoff0
db15bee60c
daemon: Include MAC addresses in CORE API link messages.
2015-03-09 15:20:42 +00:00
tgoff0
db03927892
daemon: Fix encoding MAC addresses for CORE API messages.
2015-03-09 15:20:33 +00:00
tgoff0
f2cd25d893
daemon: Update the example emane 802.11 python script.
2015-02-27 22:03:52 +00:00
tgoff0
750b6c507d
daemon: Minor XML-related cleanup.
2015-02-27 00:06:47 +00:00
tgoff0
cb93153007
daemon: Use autoconf to build the vnoded, vcmd, and netns programs.
2015-02-20 03:10:56 +00:00
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