Change to the SSL version of the event scheduler. * db/libdb.py.in, xmlrpc/emulabserver.py.in: Only add the testbed library path to sys.path if it is not already there. * event/sched/GNUmakefile.in: Make the SSL version of the scheduler the default instead of the SSH version and statically link the executable. * event/sched/event-sched.c: Pass the default SSL port number (3069) to RPC_init. * event/sched/rpc.cc: Bring the SSL code up to date: read the cert from the user's home directory, make the connection persistent, and use TBROOT as the request path, so the development version of the XML-RPC library is used when appropriate. * xmlrpc/sslxmlrpc_server.py.in: Updated to let the user select from a set of allowed library paths where the 'emulabserver' module should be imported from. Import the 'emulabserver' module after the fork so we always get the latest version of the module. Twiddled the necessary bits to turn on persistent connection support.
Showing
- db/libdb.py.in 6 additions, 2 deletionsdb/libdb.py.in
- event/sched/GNUmakefile.in 6 additions, 6 deletionsevent/sched/GNUmakefile.in
- event/sched/event-sched.c 1 addition, 1 deletionevent/sched/event-sched.c
- event/sched/rpc.cc 15 additions, 14 deletionsevent/sched/rpc.cc
- xmlrpc/emulabserver.py.in 11 additions, 4 deletionsxmlrpc/emulabserver.py.in
- xmlrpc/sslxmlrpc_server.py.in 140 additions, 13 deletionsxmlrpc/sslxmlrpc_server.py.in
Loading
Please register or sign in to comment