Ken Moore
|
4b0d6334d1
|
Make sure that the beadm backend can run if beadm is in base
|
2018-09-05 10:29:39 -04:00 |
|
Ken Moore
|
216ca5a9f2
|
Oops - fix a true/false reversal in the sysadm/users "userdelete" "clean_home" optional argument.
|
2016-08-16 09:32:14 -04:00 |
|
Ken Moore
|
27607befef
|
Fix a parsing bug in the beadm list function.
|
2016-02-25 14:37:03 -05:00 |
|
JoshDW19
|
d3d32b15c5
|
New API call for unmounting a boot environment. This will specify the -f flag which will force unmount even if the BE is busy.
REST Request:
-------------------------------
PUT /sysadm/beadm
{
"action" : "umountbe",
"be" : "green"
}
WebSocket Request:
-------------------------------
{
"name" : "beadm",
"namespace" : "sysadm",
"id" : "fooid",
"args" : {
"be" : "green",
"action" : "umountbe"
}
}
Response:
-------------------------------
{
"args": {
"umountbe": {
"be": "green"
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
|
2016-02-11 14:49:14 -05:00 |
|
JoshDW19
|
a95927e28d
|
Fixed a bug where a response was not being returned on the mountbe API call. Updated example below.
REST Request:
-------------------------------
PUT /sysadm/beadm
{
"action" : "mountbe",
"be" : "green",
"mountpoint" : "/tmp/mountdir"
}
WebSocket Request:
-------------------------------
{
"id" : "fooid",
"name" : "beadm",
"args" : {
"action" : "mountbe",
"be" : "green",
"mountpoint" : "/tmp/mountdir"
},
"namespace" : "sysadm"
}
Response:
-------------------------------
{
"args": {
"mountbe": {
"be": "green",
"mountpoint": "/tmp/mountdir"
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
|
2016-02-11 13:14:16 -05:00 |
|
JoshDW19
|
e645840496
|
API call for mounting a boot environment. Can be passed the additional argument below of mountpoint to set a specific
mount point directory set by the user.
REST Request:
-------------------------------
PUT /sysadm/beadm
{
"mountpoint" : "/tmp/mounteddir/",
"action" : "mountbe",
"be" : "green"
}
WebSocket Request:
-------------------------------
{
"id" : "fooid",
"namespace" : "sysadm",
"name" : "beadm",
"args" : {
"mountpoint" : "/tmp/mounteddir/",
"be" : "green",
"action" : "mountbe"
}
}
Response:
-------------------------------
{
"args": {
"mountbe": {
"be": "green",
"mountpoint": ""
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
|
2016-02-11 10:57:57 -05:00 |
|
JoshDW19
|
3b9d2375e4
|
Add API call to destroy the "target" boot environment and force unmount it. Any
Verification should be done through the client.
REST Request:
-------------------------------
PUT /sysadm/beadm
{
"target" : "red",
"action" : "destroybe"
}
WebSocket Request:
-------------------------------
{
"id" : "fooid",
"args" : {
"action" : "destroybe",
"target" : "red"
},
"name" : "beadm",
"namespace" : "sysadm"
}
Response:
-------------------------------
{
"args": {
"destroybe": {
"target": "red"
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
|
2016-02-09 12:31:32 -05:00 |
|
JoshDW19
|
f58eb8ce08
|
New API call for creating a new boot environment. An optional flag is shown below.
By specifying clonefrom which passes along the -e flag it will clone from a inactive boot environment.
REST Request:
-------------------------------
PUT /sysadm/beadm
{
"action" : "createbe",
"newbe" : "red",
"clonefrom" : "green"
}
WebSocket Request:
-------------------------------
{
"id" : "fooid",
"args" : {
"newbe" : "red",
"clonefrom" : "green",
"action" : "createbe"
},
"namespace" : "sysadm",
"name" : "beadm"
}
Response:
-------------------------------
{
"args": {
"createbe": {
"clonefrom": "green",
"newbe": "red"
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
|
2016-02-09 11:49:39 -05:00 |
|
JoshDW19
|
f9e5dc615d
|
API call for activating a different boot environment
REST Request:
-------------------------------
PUT /sysadm/beadm
{
"target" : "bootthingy",
"action" : "activatebe"
}
WebSocket Request:
-------------------------------
{
"name" : "beadm",
"args" : {
"action" : "activatebe",
"target" : "bootthingy"
},
"namespace" : "sysadm",
"id" : "fooid"
}
Response:
-------------------------------
{
"args": {
"activatebe": {
"target": "bootthingy"
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
|
2016-02-09 10:35:37 -05:00 |
|
JoshDW19
|
849230bf2f
|
Add API call for BEADM to rename a boot environment
REST Request:
-------------------------------
PUT /sysadm/beadm
{
"source" : "newname",
"action" : "renamebe",
"target" : "bootthingy"
}
WebSocket Request:
-------------------------------
{
"namespace" : "sysadm",
"name" : "beadm",
"id" : "fooid",
"args" : {
"source" : "newname",
"target" : "bootthingy",
"action" : "renamebe"
}
}
Response:
-------------------------------
{
"args": {
"renamebe": {
"source": "newname",
"target": "bootthingy"
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
|
2016-02-08 14:24:16 -05:00 |
|
Kris Moore
|
1ba65b3388
|
Add new API class and call for 'beadm', with the initial listbes
API call
REST Request:
-------------------------------
PUT /sysadm/beadm
{
"action" : "listbes"
}
WebSocket Request:
-------------------------------
{
"name" : "beadm",
"namespace" : "sysadm",
"id" : "fooid",
"args" : {
"action" : "listbes"
}
}
Response:
-------------------------------
{
"args": {
"listbes": {
"11.0-CURRENTJAN2016-up-20160128_150853": {
"active": "NR",
"date": "2016-01-28",
"mount": "/",
"nick": "14:57",
"space": "10.2G"
},
"initial": {
"active": "-",
"date": "2016-01-28",
"mount": "-",
"nick": "07:00",
"space": "1.2G"
}
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
|
2016-02-05 11:02:47 -05:00 |
|