lp:~julian-edwards/maas/tests-for-power-types

Created by Julian Edwards and last modified
Get this branch:
bzr branch lp:~julian-edwards/maas/tests-for-power-types
Only Julian Edwards can upload to this branch. If you are Julian Edwards please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Julian Edwards
Project:
MAAS
Status:
Development

Recent revisions

2085. By Julian Edwards

remove pdb

2084. By Julian Edwards

unfinished

2083. By Julian Edwards

[r=rvb][bug=][author=julian-edwards] Get power types exclusively from the cluster controllers instead of hard-coding enums in maassefver.

2082. By Jeroen T. Vermeulen

[r=rvb][bug=][author=jtv] Base architecture choices for a node on the list of usable architectures (i.e. ones for which boot images are available). The full choices list (which adds presentable labels) will have to be built by combining this information with what we get from the clusters; for now we can just use the architecture names as labels.

A pair of new test helpers patches the list of usable architectures, so that tests which exercise the node form can easily pass an architecture that form validation will recognise — without having to patch in a fixed enum. A fixed enum would risk hiding accidental reliance on the old values, failure to cope with a lack of boot images, and so on.

2081. By Raphaël Badin

[r=jtv][bug=][author=rvb] Use list_supported_architecture_choices/list_supported_architectures in node_constraint_filter_forms.py. Drive-by fix: move 'src/provisioningserver/architecture.py' to 'src/maasserver/architecture.py'.

2080. By Graham Binns

[r=jtv][bug=1288222][author=gmb] test_macaddresses_are_sorted() now uses make_networks() instead of make_network(). This will prevent name collisions with VLAN tags, which were making the test flaky.

2079. By Gavin Panella

[r=allenap][bug=1288001][author=allenap] In the test suite, don't start the event-loop unless as a managed resource.

In other words, it can be started, but a clean-up needs to be arranged to stop it again, or its presence will interfere with other tests.

2078. By Raphaël Badin

[r=jtv][bug=][author=rvb] Add list_supported_architectures_choices.

2077. By Raphaël Badin

[r=jtv][bug=][author=rvb] Add a utility method to get the list of architectures, for a specific nodegroup, for which we have both a commissioning and an install image.

2076. By Graham Binns

[r=gmb][bug=][author=gmb] Added sortable_name=True to factory.make_zone() in maasserver.views.tests.test_zones.ZoneListingViewTest.test_zone_list_displays_links_to_zone_node, which was failing intermittently.

Branch metadata

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

Subscribers