Python magic for managing linux boxes using REST