Skip to content
Go to file

Latest commit



## Description of change

This PR is part of the work for enabling charms to open/close ports for particular application endpoints. The PR bumps the uniter API (to version 17) and introduces the following changes:
- The port range payload for the `CommitHookChanges` API has been augmented with an `Endpoint` field which allows clients to open ports for specific (or **all** if an empty endpoint is passed) application endpoints.
- Adds the `OpenedMachinePortRanges` API method which supersedes the `AllPorts` methods and returns the open machine port ranges grouped by unit and by application endpoint.

Note: as far as the `CommitHookChanges` payload changes are concerned, the change is backwards-compatible with pre-2.9 clients as the `Endpoint` field will be empty and thus the pre-2.9 behavior where open/close ports apply to all subnets (and by extension application endpoints) is preserved.

The following PRs will begin tweaking the uniter worker bits to use the new API methods.

## QA steps

Not needed; new API methods are not currently used.


Failed to load latest commit information.
Latest commit message
Commit time

Juju logo

Simple, secure and stable devops tooling. Juju keeps complexity low and productivity high. Built to manage today’s complex application architectures wherever they are run.

Built for

  • SRE and operations teams
  • Developers
  • Data engineers

Excels at

  • Making your deployment understandable
  • Simplifying post-install operations, such as upgrades, updates and configuration management
  • Managing hybrid-cloud services, whether on Kubernetes, VMs, bare metal or any combination

Why Juju?

Juju increases your productivity and decreases your costs.

  • Increase confidence
    If you have ever put off upgrading something in production because something might break, then consider Juju. Juju allows applications to automatically negotiate their configuration, creating optimal settings dynamically.

  • Reduce complexity
    Microservices have made applications simpler, but operations more complex. Regain your understanding of the whole stack.

  • Strengthen operations knowledge
    Everyone has their in-house expert. Encapsulating their know-how in charms distributes that knowledge throughout the business.

  • Simplify day two and beyond
    Upgrades, provisioning new capacity, applying configuration changes can be subtle and difficult. Juju takes responsibility for them, as well as deployment.

  • Maintain portability and repeatability
    Retain control over your deployment and eliminate the need for vendor-specific offerings. Your devops tooling should be cloud-agnostic and Kubernetes-aware.

Get started

Install Juju and get started with your first project.

Read the project’s documentation.

Explore questions and conversations on our Discourse forum.

Developers are welcome to read through our contributing guidelines to learn how to make code changes.

File bugs at our project Launchpad site

Find out more, get help or ask questions on our Freenode IRC channel.

You can’t perform that action at this time.