Created by Andres Rodriguez on 2016-12-06 and last modified on 2016-12-06
Get this branch:
bzr branch lp:~andreserl/maas/lp1582323
Only Andres Rodriguez can upload to this branch. If you are Andres Rodriguez please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Andres Rodriguez

Recent revisions

5587. By Andres Rodriguez on 2016-12-06

Add missing tests

5586. By Andres Rodriguez on 2016-12-06


5585. By Andres Rodriguez on 2016-12-06

bzr diff

5584. By Blake Rouse on 2016-12-05

[r=newell-jensen][bug=][author=blake-rouse] Add DiscoverChassis RPC method to the rack controller.

This RPC method will be used by the region controller to get all the information about a chassis. The region will perform all the logic to create/update the chassis based on the result returned by the rack controller.

5583. By Mike Pontillo on 2016-12-05

[r=mpontillo][bug=][author=mpontillo] Support for unmanaged subnets.

Part 1: Begin adding support for unmanaged subnets.

 * Adds a 'managed' field (default=True) to the Subnet model.
 * Allows manipulation of the 'managed' field using the API.
   (Updates the SubnetForm so that the new field can be used
   during creates or updates.)
 * Updates websocket handler tests to account for the new field.
 * Updates test factory to account for the new field.
 * Adds (and, for consistency, reformats) API documentation to
   explain what the 'managed' flag does.

Part 2: Update IP allocation algorithm for unmanaged subnets.

 * When choosing the next IP address to automatically allocate
   from an unmanaged subnet, include *only* IP ranges of type
   RESERVED in the set of possibilities.
 * Update subnet tests to add scenarios for unmanaged networks.
 * Drive-by fix to change legacy term 'comment' used in MAASIPSet to
   be 'purpose' (for consistency).

Part 3: Add 'managed' flag to subnet details page.

Part 4: Exclude unmanaged subnets when generating DHCP configuration. Update UI text accordingly.

5582. By Blake Rouse on 2016-12-05

[r=newell-jensen][bug=][author=blake-rouse] Add classes that the discover method on the chassis drivers will return.

The DiscoveredChassis class will be mapped to a JSON object and sent over RPC to the region controller. The region controller will then convert the JSON object back to the DiscoveredChassis class that the region will use to create/update a chassis.

5581. By Gavin Panella on 2016-12-02

[r=mpontillo][bug=][author=allenap] Fix a few tests that fail in Yakkety because of changes in netaddr's OUI database.

5580. By Blake Rouse on 2016-12-02

[r=newell-jensen][bug=][author=blake-rouse] Cleanup the power and chassis driver schemas. Add composable to chassis driver.

Composable allows a driver to tell MAAS whether it can compose its own machines in the chassis.

5579. By Lee Trager on 2016-11-30

[r=blake-rouse][bug=1637401][author=ltrager] During probe and enlist of virsh only power off and commission new nodes.

Previously probe_virsh_and_enlist would power off each node before requesting a new node row was created. If the machine already exists or there was some issue creating the new node row the node was still powered off. This meant reprobing a virsh host would power off all known nodes. Power off now only happens if a new row was successfully created, existing nodes are ignored and left untouched.

5578. By Blake Rouse on 2016-11-30

[r=blake-rouse][bug=][author=blake-rouse] Move provisioningserver.power to provisioningserver.rpc.power. Since schema as been moved into each driver this module now only provides helpers for RPC. Moving it to provisioningserver.rpc makes it cleaner as it shows that is what it is used for.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.