node-interfaces create-bond API specifies parents in an awkward way
Bug #1495845 reported by
Mike Pontillo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
When I use the node-interfaces create-bond API to create a bond, I need to specify its parent interfaces. To do so, I use a command like:
maas admin node-interfaces create-bond node-d83ce230-
This is awkward, since a user would expect to list multiple parents after the "parents" parameter, such as "parents=30,31".
If we keep it the way it is, it would be better to rename the parameter to "parent".
Changed in maas: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
This happens to be because of the way the maascli works with regards to the use of a multiplechoicem odelfield. I am open to changing the parameter to just parent, and is a very simple change.