network-get can't get default "" binding
Bug #1896821 reported by
Zachary Zehring
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
If an application has no relations, the only way for network-get to return useful networking information about the application is specifying an extra-binding in the metadata.yaml. There currently doesn't appear to be a way for network-get to return the default "" endpoint-binding (the binding "" comes from a `juju show-application $app` command)
So is there a way for network-get to return the binding for ""? If not, I think it would be a valid feature request to add the ability to do so, as the default binding for an app could be useful.
To post a comment you must log in.
Thank you for filing the bug!
Can you describe a specific case where a charm wants to get the default endpoint binding? We want to understand why this feature is being requested, so that we can determine how best to expose the information to the charm, and model it in Juju in general.