[2.x, CLI] Cannot update interface IP assignment mode
Bug #1700795 reported by
Peter Matulis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Mike Pontillo | ||
2.2 |
Won't Fix
|
High
|
Unassigned |
Bug Description
Updating the IP assignment mode (DHCP, AUTO, STATIC, LINK_UP) does not seem to be possible via the CLI. It is not documented via 'maas $PROFILE interface update -h' and the below guess appears to work (no error) but does not:
$ maas $PROFILE interface update $SYSTEM_ID $INT_ID mode=$LINK_MODE
For example,
$ maas $PROFILE interface read nxfsff 40 | grep mode
"mode": "dhcp"
$ maas $PROFILE interface update nxfsff 40 mode=auto
$ maas $PROFILE interface read nxfsff 40 | grep mode
"mode": "dhcp"
Changed in maas: | |
status: | New → Triaged |
summary: |
- [CLI] Cannot update interface IP assignment mode + [2.x, CLI] Cannot update interface IP assignment mode |
Changed in maas: | |
milestone: | none → 2.3.0 |
importance: | Undecided → High |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.0beta2 |
Changed in maas: | |
assignee: | nobody → Björn Tillenius (bjornt) |
Changed in maas: | |
milestone: | 2.3.0beta2 → 2.3.0beta3 |
Changed in maas: | |
milestone: | 2.3.0beta3 → 2.3.0beta4 |
assignee: | Björn Tillenius (bjornt) → nobody |
Changed in maas: | |
milestone: | 2.3.0beta4 → 2.3.x |
Changed in maas: | |
assignee: | nobody → Mike Pontillo (mpontillo) |
milestone: | 2.3.x → 2.5.x |
To post a comment you must log in.
YOu need to use the 'interface' endpoint with 'link-subnet': e.g.
maas admin interface link-subnet d77f3f 63 mode=AUTO subnet= 10.248. 64.0/19