• Leigh Stoller's avatar
    A set of changes to allow the newnode path (MFS and adding nodes) to · 94d97303
    Leigh Stoller authored
    work inside ElabInElab.
    
    The crux of this is to emulate what switchmac does when incorporating nodes
    into the testbed. Rather then using snmpit to ask the switches for MAC info,
    we can just ask outer emulab via the proxy to get that same info from the
    DB. Note, there are no changes to the newnode MFS; it will boot and happily
    report it after launching teachswitch, but those packets are harmless to the situation.
    
    Another wrinkle is that we need the outer emulab to tell us which
    interfaces are control and which are experimental, since inside there
    is no real way to determine that. I did this by overloading the final
    field in the return from switchmac, and using that to override the
    "role" setting that utils/newnode would normally choose on its own.
    
    There is another new routine in the XMLRPC server that is intended to
    be used for bypassing the newnode path. This is not hooked into
    anything yet, but the intent is that rather then using the web
    interface to "add" nodes, we just return everything needed to seed the
    new_nodes and new_interfaces table, and then run newnodes directly.
    94d97303
Name
Last commit
Last update
..
GNUmakefile.in Loading commit data...
README Loading commit data...
emulab.in Loading commit data...
emulabclient.py.in Loading commit data...
emulabserver.py.in Loading commit data...
experiment.in Loading commit data...
fs.in Loading commit data...
imageid.in Loading commit data...
libxmlrpc.pm.in Loading commit data...
node.in Loading commit data...
osid.in Loading commit data...
script_wrapper.py.in Loading commit data...
server.in Loading commit data...
sshxmlrpc.py Loading commit data...
sshxmlrpc_client.py.in Loading commit data...
sshxmlrpc_server.py.in Loading commit data...
sslxmlrpc_client.py.in Loading commit data...
sslxmlrpc_server.py.in Loading commit data...
user.in Loading commit data...
webxmlrpc.in Loading commit data...
xmlrpcapi.php3 Loading commit data...
xmlrpcbag.in Loading commit data...