Python Magic for managing linux boxes using REST