lp:~blake-rouse/maas/fix-1514883

Created by Blake Rouse on 2015-11-10 and last modified on 2015-11-11
Get this branch:
bzr branch lp:~blake-rouse/maas/fix-1514883
Only Blake Rouse can upload to this branch. If you are Blake Rouse please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Blake Rouse
Project:
MAAS
Status:
Merged

Recent revisions

4488. By Blake Rouse on 2015-11-11

Fix formatting.

4487. By Blake Rouse on 2015-11-11

Add more tests.

4486. By Blake Rouse on 2015-11-11

Add tests.

4485. By Blake Rouse on 2015-11-10

Add fix for getting the correct sources URL from the cluster to the region.

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.

Branch metadata

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

Subscribers