diff --git a/ocaml/doc/wire-protocol.md b/ocaml/doc/wire-protocol.md index e266afa3a6e..26b911bd2c7 100644 --- a/ocaml/doc/wire-protocol.md +++ b/ocaml/doc/wire-protocol.md @@ -556,7 +556,7 @@ To retrieve all the VM records in a single call: ```python >>> records = xen.VM.get_all_records(session)['Value'] ->>> records.keys() +>>> list(records.keys()) ['OpaqueRef:1', 'OpaqueRef:2', 'OpaqueRef:3', 'OpaqueRef:4' ] >>> records['OpaqueRef:1']['name_label'] 'Red Hat Enterprise Linux 7' diff --git a/ocaml/sdk-gen/csharp/templates/Message2.mustache b/ocaml/sdk-gen/csharp/templates/Message2.mustache index 4661d815146..3dfe4f4503e 100644 --- a/ocaml/sdk-gen/csharp/templates/Message2.mustache +++ b/ocaml/sdk-gen/csharp/templates/Message2.mustache @@ -43,6 +43,7 @@ namespace XenAPI LEAF_COALESCE_COMPLETED, LEAF_COALESCE_FAILED, POST_ATTACH_SCAN_FAILED, + WLB_VM_RELOCATION, {{#message_types}} {{{message_type}}}, {{/message_types}} @@ -73,6 +74,8 @@ namespace XenAPI return MessageType.LEAF_COALESCE_FAILED; case "POST_ATTACH_SCAN_FAILED": return MessageType.POST_ATTACH_SCAN_FAILED; + case "WLB_VM_RELOCATION": + return MessageType.WLB_VM_RELOCATION; {{#message_types}} case "{{{message_type}}}": return MessageType.{{{message_type}}};