The proposal to merge lp:~jtv/maas/bug-1025582-api into lp:maas has been 
updated.

Commit Message changed to:

New API call for the master worker: register_boot_images.

This is how the master worker will report to the MAAS server which images it 
has available for net-booting nodes.  The API code stores the results in 
BootImage (see predecessor branch) so that the various operations for booting 
nodes can check that the required images are really available.  If not, it can 
report the problem to the user and make recommendations for running or 
reconfiguring the maas-import-pxe-files script.

The new call lives on a new API path, boot-images/.  I found it didn't quite 
fit in anywhere.  It might have fit at the root, but we're not making a habit 
of that.  Plus, we may want to add querying abilities to the boot images later, 
for which this separate path is just right.

Images are passed in as a JSON-encoded list of dicts.  I nearly used a list of 
tuples, but that would have been error-prone and harder to keep compatible 
between API versions.  The calls aren't very data-intensive so there's little 
reason to keep the encoding minimal.

This branch is to be backported to 1.1.

For more details, see:
https://code.launchpad.net/~jtv/maas/bug-1025582-api/+merge/123711
-- 
https://code.launchpad.net/~jtv/maas/bug-1025582-api/+merge/123711
Your team MAAS Maintainers is requested to review the proposed merge of 
lp:~jtv/maas/bug-1025582-api into lp:maas.

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to