bitbake: xmlrpc: add support for token reusing
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Wed, 11 Jun 2014 09:19:03 +0000 (10:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Jun 2014 10:55:33 +0000 (11:55 +0100)
commit1783a898a99cdaabdf843b8ac3c0103ef71a129d
tree6776715370040b32940e68d1e6da3178f2f63497
parent3e91db24296a55860c16b68a61fff681395e2f9a
bitbake: xmlrpc: add support for token reusing

We add support to specify a connection token in the command line
and in the environment variable BBTOKEN.

When a client registers to a bitbake server, that client
will have exclusive access to the server. The client is identified
by a server-supplied token. If a client terminates, we cannot
reconnect to the server as the token is lost.

This patch adds the capability to specify the connection token
in the command line for xmlrpc clients. This allows us
to have bitbake work as an already-authenticated
client with the server and resume sending commands to a server.

(Bitbake rev: db5390940c0afbcdc9fbcf1225761968ae51d4a7)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake
bitbake/lib/bb/server/xmlrpc.py