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
diff --git a/src/maasserver/api/machines.py b/src/maasserver/api/machines.py
index 36ab7e8..aee73ba 100644
--- a/src/maasserver/api/machines.py
+++ b/src/maasserver/api/machines.py
@@ -2568,6 +2568,12 @@ class MachinesHandler(NodesHandler, PowersMixin):
2568 @param (string) "destination" [required=true] A list of system_ids to2568 @param (string) "destination" [required=true] A list of system_ids to
2569 clone the configuration to.2569 clone the configuration to.
25702570
2571 @param (boolean) "interfaces" [required=True] Whether to clone interface
2572 configuration. Defaults to False.
2573
2574 @param (boolean) "storage" [required=True] Whether to clone storage
2575 configuration. Defaults to False.
2576
2571 @success (http-status-code) "204" 2042577 @success (http-status-code) "204" 204
25722578
2573 @error (http-status-code) "400" 4002579 @error (http-status-code) "400" 400

Subscribers

People subscribed via source and target branches