~bjornt/maas:fix-pod-get-storage-pools

Last commit made on 2018-05-23
Get this branch:
git clone -b fix-pod-get-storage-pools https://git.launchpad.net/~bjornt/maas
Only Björn Tillenius can upload to this branch. If you are Björn Tillenius please log in for upload directions.

Branch merges

Branch information

Name:
fix-pod-get-storage-pools
Repository:
lp:~bjornt/maas

Recent commits

60bc97c... by Björn Tillenius

Fix the get_pod_storage_pools method.

It called self.list_pools() with arguments, but list_pools() doesn't
accept any arguments.

Tests were passing, since list_pools() was mocked in the tests. I added
a new fake, which can be used to mock things at a lower level, so that
more of the functionality can be tested.

217f03e... by Blake Rouse

Upgrade from using default_storage_pool power parameter to using the new default_storage_pool foreign key set on the Pod.

This allows the old path to work by handling the default_storage_pool set on the power_parameters to still propagate to the rack controller. The new way overrides this setting on compose and on refresh of the pod the setting in power_parameters in the pod is migrated to the model.

9c1faa0... by Alberto Donato

add configauth option to select which candid domain to authenticate users with

e85744c... by Blake Rouse

Model and discovery storage pools on virsh pods. Add storage pools to API output for pods.

1e749b7... by Björn Tillenius

Allow specifying default resource pool when creating or editing pods in the UI.

77f1f00... by Alberto Donato

add form to edit a pool

61ea200... by Alberto Donato

add form field for resource pool selection when creating a machine

51782f8... by Alberto Donato

drop IS_PREMIUM flag, expose resource pools UI

a16ccfb... by Alberto Donato

drop UserGroup and Role models, and related logic

407a5db... by Alberto Donato

add resource pools API