Merge ~andreserl/maas:fix_api_docs_for_clone into maas:master

Proposed by Andres Rodriguez
Status: Merged
Approved by: Andres Rodriguez
Approved revision: 09e21ac0093642db771ea4efd0e45bc2cc2d6255
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~andreserl/maas:fix_api_docs_for_clone
Merge into: maas:master
Diff against target: 17 lines (+6/-0)
1 file modified
src/maasserver/api/machines.py (+6/-0)
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Review via email: mp+367225@code.launchpad.net

Commit message

Fix API doc for cloning machine interfaces and storage

To post a comment you must log in.
Revision history for this message
Andres Rodriguez (andreserl) wrote :

selfie!

review: Approve
Revision history for this message
MAAS Lander (maas-lander) wrote :
Revision history for this message
MAAS Lander (maas-lander) wrote :
Revision history for this message
MAAS Lander (maas-lander) wrote :
09e21ac... by Andres Rodriguez

Fix lint

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/src/maasserver/api/machines.py b/src/maasserver/api/machines.py
2index 36ab7e8..aee73ba 100644
3--- a/src/maasserver/api/machines.py
4+++ b/src/maasserver/api/machines.py
5@@ -2568,6 +2568,12 @@ class MachinesHandler(NodesHandler, PowersMixin):
6 @param (string) "destination" [required=true] A list of system_ids to
7 clone the configuration to.
8
9+ @param (boolean) "interfaces" [required=True] Whether to clone interface
10+ configuration. Defaults to False.
11+
12+ @param (boolean) "storage" [required=True] Whether to clone storage
13+ configuration. Defaults to False.
14+
15 @success (http-status-code) "204" 204
16
17 @error (http-status-code) "400" 400

Subscribers

People subscribed via source and target branches