X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=juju%2Fjuju.py;h=fe3ce923adb89e3effd1f1bd50b627317b2db0a6;hb=refs%2Ftags%2F0.1.0;hp=45e5c9ec8c8fc49b5442df7ba7cc615e549cbba1;hpb=79da3cabfd6f424ebf303095600d78e1fb1311f2;p=osm%2FN2VC.git diff --git a/juju/juju.py b/juju/juju.py index 45e5c9e..fe3ce92 100644 --- a/juju/juju.py +++ b/juju/juju.py @@ -73,11 +73,16 @@ class Juju(object): def register(self, registration_string): """Register a user to a controller. + :param str registration_string: The registration string + """ 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 @@ -85,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