|
7149 | 7149 | "release": "midnight-ride", |
7150 | 7150 | "description": "Copy the BIOS strings from the given host to this VM" } ], |
7151 | 7151 | "implicit": false }, |
| 7152 | + { "name": "set_bios_strings", |
| 7153 | + "description": "Set custom BIOS strings to this VM. VM will be given a default set of BIOS strings, only some of which can be overridden by the supplied values. Allowed keys are: 'bios-vendor', 'bios-version', 'system-manufacturer', 'system-product-name', 'system-version', 'system-serial-number', 'enclosure-asset-tag'", |
| 7154 | + "result": [ "void" ], |
| 7155 | + "params": [ |
| 7156 | + { "type": "session ref", |
| 7157 | + "name": "session_id", |
| 7158 | + "doc": "Reference to a valid session" }, |
| 7159 | + { "type": "VM ref", |
| 7160 | + "name": "self", |
| 7161 | + "doc": "The VM to modify" }, |
| 7162 | + { "type": "(string -> string) map", |
| 7163 | + "name": "value", |
| 7164 | + "doc": "The custom BIOS strings as a list of key-value pairs" } ], |
| 7165 | + "errors": [ |
| 7166 | + { "name": "VM_BIOS_STRINGS_ALREADY_SET", |
| 7167 | + "doc": "The BIOS strings for this VM have already been set and cannot be changed." }, |
| 7168 | + { "name": "INVALID_VALUE", |
| 7169 | + "doc": "The value given is invalid" } ], |
| 7170 | + "roles": [ "pool-admin", "pool-operator", "vm-power-admin", "vm-admin" ], |
| 7171 | + "tag": "", |
| 7172 | + "lifecycle": [ |
| 7173 | + { "transition": "published", |
| 7174 | + "release": "inverness", |
| 7175 | + "description": "Set custom BIOS strings to this VM. VM will be given a default set of BIOS strings, only some of which can be overridden by the supplied values. Allowed keys are: 'bios-vendor', 'bios-version', 'system-manufacturer', 'system-product-name', 'system-version', 'system-serial-number', 'enclosure-asset-tag'" } ], |
| 7176 | + "implicit": false }, |
7152 | 7177 | { "name": "retrieve_wlb_recommendations", |
7153 | 7178 | "description": "Returns mapping of hosts to ratings, indicating the suitability of starting the VM at that location according to wlb. Rating is replaced with an error if the VM cannot boot there.", |
7154 | 7179 | "result": [ "(host ref -> string set) map", "The potential hosts and their corresponding recommendations or errors" ], |
|
0 commit comments