Changes between Version 3 and Version 4 of MasterSlaveCommunication


Ignore:
Timestamp:
05/31/12 10:13:03 (12 months ago)
Author:
tom.prince
Comment:

Add some comments on the current protocol description.

Legend:

Unmodified
Added
Removed
Modified
  • MasterSlaveCommunication

    v3 v4  
    1313 
    1414Authentication: Currently the slave authenticates with the Twisted Cred (newcred) mechanism, using the username and password supplied to buildslave create-slave. 
     15> This occurs as part of the setup of the [http://twistedmatrix.com/documents/current/core/howto/pb-intro.html PB] connection, and so doesn't fit into the RPC 
     16> style of the rest of the current protocol. As it happens, the login mechanism is also used to allow the same port to be used for other PB communications. 
    1517 
    1618After that the master requests information about the slave, via the remote methods {{{ remote_getSlaveInfo}}}, {{{ remote_getVersion}}}, and {{{ remote_getCommands}}}.  
     
    4749 
    4850The master and slave(in versions greater than 0.8.3) can initiate the shutdown of a slave. The master can call {{{remote_shutdown}}} to shut down the slave, while the slave can also request for a graceful shutdown. 
     51> Which it does by calling {{{shutdown}}} on the master. 
    4952 
    5053= Proposed Protocol =