X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=juju%2Fjuju.py;h=fe3ce923adb89e3effd1f1bd50b627317b2db0a6;hb=0a25fd6d5d6802ce2ae9ded5c01750fe0a2aefba;hp=b2c6152813e39ad80fd44b27d7b0589be3d55d6f;hpb=31063e719029bcb9c6b65c210156cf920375c4da;p=osm%2FN2VC.git diff --git a/juju/juju.py b/juju/juju.py index b2c6152..fe3ce92 100644 --- a/juju/juju.py +++ b/juju/juju.py @@ -78,8 +78,11 @@ class Juju(object): """ pass - def set_budget(self, name, amount): - """Set a budget limit. + def set_budget(self, name, limit): + """Set a monthly budget limit. + + :param str name: Name of budget + :param int limit: Monthly limit """ pass @@ -87,12 +90,17 @@ class Juju(object): def get_cloud(self, name): """Get a cloud by name. + :param str name: Name of cloud + """ pass - def get_controller(self): + def get_controller(self, name, include_passwords=False): """Get a controller by name. + :param str name: Name of controller + :param bool include_passwords: Include passwords for accounts + (maybe move this to Cloud?) """ pass