API needed to allocate and return an extra IP for a container

Bug #1316627 reported by Dimiter Naydenov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Julian Edwards

Bug Description

We need an explicit MAAS API call that juju can use to request an additional IP address on a MAAS DHCP managed network, so we can use the address returned by the call to assign it to a new container. I know this happens automatically now, but in order to support both EC2 and MAAS (and other clouds) in the same juju networking model, we need an explicit API call.

In juju, there will be a method like instance.AllocateAddress(networkName) (address, error), which the providers incl. maas and ec2 will need to implement.

Tags: api juju

Related branches

Revision history for this message
Julian Edwards (julian-edwards) wrote :

The way that containers are sprung up inside nodes will have to significantly change I think, because juju is expecting them to behave like maas-controller nodes, but maas doesn't know anything about them.

tags: added: juju
Changed in maas:
status: New → Triaged
importance: Undecided → Wishlist
Changed in maas:
status: Triaged → In Progress
importance: Wishlist → High
milestone: none → 1.6.0
assignee: nobody → Julian Edwards (julian-edwards)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.