Skip to content

Commit

Permalink
Merge pull request xapi-project#5544 from psafont/private/paus/chelydra
Browse files Browse the repository at this point in the history
  • Loading branch information
psafont authored Apr 9, 2024
2 parents 6089fe2 + 0c6805f commit 6dea56a
Show file tree
Hide file tree
Showing 13 changed files with 241 additions and 227 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ b020cf35a1f2c274f95a4118d4596043cba6113f
ff39018fd6d91985f9c893a56928771dfe9fa48d
cbb9edb17dfd122c591beb14d1275acc39492335
d6ab15362548b8fe270bd14d5153b8d94e1b15c0
b12cf444edea15da6274975e1b2ca6a7fce2a090

# ocp-indent
d018d26d6acd4707a23288b327b49e44f732725e
Expand Down
1 change: 1 addition & 0 deletions ocaml/idl/datamodel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -8177,6 +8177,7 @@ let http_actions =
; Bool_query_arg "include_dom0"
; Bool_query_arg "include_vhd_parents"
; Bool_query_arg "export_snapshots"
; String_query_arg "excluded_device_types"
]
, _R_VM_ADMIN
, []
Expand Down
2 changes: 1 addition & 1 deletion ocaml/idl/datamodel_vm.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1899,7 +1899,7 @@ let t =
; field ~qualifier:DynamicRO ~ty:(Set (Ref _vbd)) "VBDs"
"virtual block devices"
; field ~qualifier:DynamicRO ~ty:(Set (Ref _vusb)) "VUSBs"
"vitual usb devices"
"virtual usb devices"
; field ~writer_roles:_R_POOL_ADMIN ~qualifier:DynamicRO
~ty:(Set (Ref _crashdump)) "crash_dumps"
"crash dumps associated with this VM"
Expand Down
2 changes: 1 addition & 1 deletion ocaml/idl/schematest.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ let hash x = Digest.string x |> Digest.to_hex
(* BEWARE: if this changes, check that schema has been bumped accordingly in
ocaml/idl/datamodel_common.ml, usually schema_minor_vsn *)

let last_known_schema_hash = "186131ad48f40dff30246e8e0c0dbf0a"
let last_known_schema_hash = "a55d5dc70920dcf4ab72ed321497b482"

let current_schema_hash : string =
let open Datamodel_types in
Expand Down
18 changes: 15 additions & 3 deletions ocaml/xapi-cli-server/cli_frontend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1756,7 +1756,13 @@ let rec cmdtable_data : (string * cmd_spec) list =
; ( "vm-export"
, {
reqd= ["filename"]
; optn= ["preserve-power-state"; "compress"]
; optn=
[
"preserve-power-state"
; "compress"
; "metadata"
; "excluded-device-types"
]
; help= "Export a VM to <filename>."
; implementation= With_fd Cli_operations.vm_export
; flags= [Standard; Vm_selectors]
Expand Down Expand Up @@ -1798,7 +1804,13 @@ let rec cmdtable_data : (string * cmd_spec) list =
; ( "snapshot-export-to-template"
, {
reqd= ["filename"; "snapshot-uuid"]
; optn= ["preserve-power-state"]
; optn=
[
"preserve-power-state"
; "compress"
; "metadata"
; "excluded-device-types"
]
; help= "Export a snapshot to <filename>."
; implementation= With_fd Cli_operations.snapshot_export
; flags= [Standard]
Expand Down Expand Up @@ -1863,7 +1875,7 @@ let rec cmdtable_data : (string * cmd_spec) list =
; ( "template-export"
, {
reqd= ["filename"; "template-uuid"]
; optn= []
; optn= ["compress"; "metadata"; "excluded-device-types"]
; help= "Export a template to <filename>."
; implementation= With_fd Cli_operations.template_export
; flags= [Standard]
Expand Down
Loading

0 comments on commit 6dea56a

Please sign in to comment.