-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #964 from cderici/controller-name-by-endpoint
#964 #### Description This allows all kinds of connections to set the `controller_name` by default by looking up the `endpoints` in the `jujudata`. Fixes #771 #### QA Steps Manual QA should follow the steps described in #771. Find the details of a controller you bootstrapped (any controller would do): ```sh $ juju show-controller --show-password ``` Grab the details there and plug them into either a script or in the repl (repl is awkward to use with the certificate): ```python c = Controller() await c.connect(endpoint="<ip>:17070", username="admin", password="admin_pass", cacert="ca_cert") # explicit connection with credential values # check the name print(c.controller_name) ``` All CI tests need to pass. #### Notes & Discussion JUJU-4781
- Loading branch information
Showing
3 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters