Project

General

Profile

Bug #23883

Document API for boot environment calls

Added by Erin Clark over 1 year ago. Updated 12 months ago.

Status:
Resolved
Priority:
Expected
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I cannot find documentation for Boot Environment calls to edit/rename a boot environment, activate a boot environment or set the keep flag on a boot environment, could you please document these for me?


Related issues

Related to FreeNAS - Feature #23810: Boot Environment UIResolved2017-04-06

Associated revisions

Revision f9c5a21f (diff)
Added by William Grzybowski over 1 year ago

fix(api): document boot environment rename

Ticket: #23883

Revision b7f523a6 (diff)
Added by William Grzybowski over 1 year ago

feat(middlewared): add bootenv plugin with listing and activate

Ticket: #23883

Revision d688ca78 (diff)
Added by William Grzybowski over 1 year ago

feat(middlewared): add bootenv.rename

Ticket: #23883

History

#1 Updated by Erin Clark over 1 year ago

#2 Updated by William Grzybowski over 1 year ago

  • Status changed from Unscreened to Screened
  • Seen in changed from Unspecified to Master - FreeNAS Nightlies

#3 Updated by William Grzybowski over 1 year ago

  • Target version changed from 11.0 to 11.1

#4 Updated by William Grzybowski over 1 year ago

  • Status changed from Screened to Resolved

There is a REST api for rename: /system/bootenv/name/rename/ sending {"name": "newname"}

There are also now the following websocket calls:

bootenv.rename "id" "newname"
bootenv.activate "id"
bootenv.set_attribute "id" {"keep": true}

#5 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Document API for Boot Environment Calls to Document API for boot environment calls

#6 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.1 to 11.1-BETA1

#7 Updated by Joe Maloney 12 months ago

  • Needs QA changed from Yes to No
  • QA Status deleted (Not Tested)

Also available in: Atom PDF