6 and 7 February 2017

Gent, Belgium

Operator Track: Driving Juju with Python

Monday, February 6, 14:40 - B4.039

Juju provides some great CLI and GUI tools for interacting with deployed workloads. But what if you want to interact with Juju programmatically? Sure, you could use shell scripts to run CLI commands, but that approach can be difficult due to the asynchronous nature of Juju. And worse, you miss out on the full power that the Juju API provides. Can we do better?

With the recent release of Juju 2.0, a new officially-supported Python client for Juju is being introduced. The client is asynchronous (asyncio) and features support for the full breadth of the Juju websocket API, along with a higher-level object abstraction for programming with familiar Juju primitives (Controllers, Models, Applications, Units, Machines, etc.). This talk will introduce the library and documentation, show some short examples and demos, and discuss getting started and contributing.

  • A software engineer with over 15 years of experience, Tim has been working on Juju and related tools since 2014.