]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: xmlrpc: implement check of connection to server
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 18 Jul 2016 16:07:16 +0000 (19:07 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:23:29 +0000 (10:23 +0100)
commit1a18f5ceb478f766b53850451549333f655621ea
tree148b165bde3b8e7bebcef3b046357dfed6704d8d
parenta4463e2ff3c7d234320176d671719243292f1af0
bitbake: xmlrpc: implement check of connection to server

Implemented check_connection function. The purpose of this function
is to check if bitbake server is accessible and functional.
To check this this function tries to connect to bitbake server and
run getVariable command.

This API is going to be used to implement autoloading of bitbake
server.

[YOCTO #5534]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/server/xmlrpc.py