Commit graph

21 commits

Author SHA1 Message Date
tgoff0@gmail.com
17255dc557 daemon: Set session configuration before setting the initial session state. 2015-03-24 23:30:04 +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
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
adaddcd6e7 added support for distributed EMANE 0.9.2
(Boeing r1884)
2014-09-29 19:07:25 +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
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
8e17f1edb8 make daemon shutdown more robust to Python errors
(Boeing r1855)
2014-07-22 17:17:42 +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
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
6f63e2fbf5 log exception messages generated by Session.exception()
(Boeing r1819)
2014-01-10 16:56:14 +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
ahrenholz@gmail.com
9b1bbc1023 added mkdir flag to Session.__init__() to allow adopting existing sessions
(Boeing r1786)
2013-10-25 15:21:08 +00:00
ahrenholz@gmail.com
72fb595b69 (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@gmail.com
094131711b (Boeing r1764)
added Broker.handlerawmsg() helper to invoke handlemsg() using packed bytes
2013-09-04 17:03:34 +00:00
ahrenholz@gmail.com
d40d6d4989 (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@gmail.com
dfb346f746 (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@gmail.com
d9ce1c3162 initial import (Boeing r1752, NRL r878) 2013-08-29 14:21:13 +00:00