Created by Mike Pontillo on 2015-11-11 and last modified on 2015-11-11
Get this branch:
bzr branch lp:~mpontillo/maas/bug-1514486
Only Mike Pontillo can upload to this branch. If you are Mike Pontillo please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Mike Pontillo

Recent revisions

4486. By Mike Pontillo on 2015-11-11

Minor fix in case an interface is attached to multiple cluster interfaces (such as one IPv4 and one IPv6).

4485. By Mike Pontillo on 2015-11-11

If no discovered subnets are found when claiming a static IP address, fall back to the subnet on the attached cluster interface.

4484. By Lee Trager on 2015-11-10

[r=blake-rouse][bug=][author=ltrager] Only check that the node is connected to a network, it doesn't have to be managed.

4483. By Blake Rouse on 2015-11-10

[r=mpontillo][bug=][author=blake-rouse] Fix validation for MTU on the VLAN object.

4482. By Mike Pontillo on 2015-11-10

[r=blake-rouse,lamont][bug=1510917][author=mpontillo] Use specifier-based queries in the API to look up networking objects.

 * The following objects can now be queried by specifier within the API:
   * Fabric
   * Interface
   * Space
   * Subnet
   * VLAN
   * Network (uses Subnet specifier)
 * API URLs for VLANS have been changed.
   * Previous: /fabrics/<fabric>/vlans/<vlan.id>
   * New: /vlans/<vlan_id> *AND* /fabrics/<fabric>/vlans/<vid>
 * VLAN IDs for new MAAS installations or upgrades will now start at 5001, so they cannot be confused with VIDs. (with the exception of the default VLAN, which remains at id=0.)
 * String-based specifiers separated by commas will now be treated as multiple filters. (and will be combined in the query with a logical AND operator.)
 * The InterfaceLinkForm has been updated to allow a query specifier in place of a Subnet model object.
 * Interface objects can now be queried by vlan, hostname, or fabric.
 * The default query for Interface objects is now more robust. (first checks interface ID, then IP address (with or without CIDR, but if the CIDR is provided, it must match an attached subnet), then name.
 * The subnet_id URL regex has been updated so that the '/' character can be used when specifying a subnet CIDR.
 * orm.py:get_one() has been updated to determine the model class dynamically (for better error messages) and allow specifying a custom exception class.
 * orm.py:get_model_object_name(queryset) helper function added
 * Functionality to format specifier parameters has been moved to its own function.
 * An equivalent for get_object_or_404() has been implemented in the queries mixin, as get_object_by_specifiers_or_raise().
 * A generic function to parse name-or-ID strings like "space-12" has been added to the queries mixin.
 * A default query function to call the name-or-ID parser, then look for an object name (or ID) has been added to the queries mixin.

4481. By Blake Rouse on 2015-11-10

[r=mpontillo,andreserl][bug=1508056][author=blake-rouse] Add MTU field to VLAN. Add the effective MTU for an interface in the API output and the network preseed generation.

4480. By Blake Rouse on 2015-11-10

[r=andreserl,ltrager][bug=1510153][author=blake-rouse] Add the ability to select the fstype and mount point when creating a partition and logical volume. Drive-by fixes to some issues with the checkboxes in the storage section. Drive-by fix that allowed formatting the boot disk directly. Drive-by fix to show "Remove {type of device}" so it matches the networking section.

4479. By Gavin Panella on 2015-11-10

[r=blake-rouse][bug=1439476][author=allenap] Ignore disconnected clusters when configuring DHCP.

However, configure DHCP when the cluster does reconnect to the region.

4478. By Jeffrey C Jones on 2015-11-09

[r=allenap][bug=1510224][author=trapnine] New changepasswords command. Updates multiple MAAS passwords non-interactively from STDIN, just like chpasswd.

4477. By Andres Rodriguez on 2015-11-09

[r=blake-rouse,rbanffy][bug=][author=andreserl] Remove the block_poweroff option. The enable_ssh option will prevent the machine from powering off.

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.