Skip to content

Commit

Permalink
Live migration RDMA support: doc changes
Browse files Browse the repository at this point in the history
This patch adds a new boolean parameter of the migrate API, called
'enable_rdma', in docs/API.md and API.json.

Signed-off-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
  • Loading branch information
danielhb authored and alinefm committed Jan 19, 2017
1 parent 64ffba7 commit 2b42c4c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions API.json
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,11 @@
"description": "Password of the user in the remote server",
"type": "string",
"error": "KCHVM0069E"
},
"enable_rdma": {
"description": "Enables RDMA transport",
"type": "boolean",
"error": "KCHVM0091E"
}
},
"additionalProperties": false
Expand Down
1 change: 1 addition & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ mode without block migration.
* remote_host: IP address or hostname of the remote server.
* user *(optional)*: User to log on at the remote server.
* password *(optional)*: password of the user in the remote server.
* enable_rdma *(optional)*: boolean. If set to True, the migration will use RDMA transport.

### Sub-resource: Virtual Machine Screenshot

Expand Down
3 changes: 2 additions & 1 deletion i18n.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Project Kimchi
#
# Copyright IBM Corp, 2015-2016
# Copyright IBM Corp, 2015-2017
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -141,6 +141,7 @@
"KCHVM0088E": _("invalid console type, supported types are sclp/virtio."),
"KCHVM0089E": _("Unable to setup password-less login at remote host %(host)s using user %(user)s: remote directory %(sshdir)s does not exist."),
"KCHVM0090E": _("Unable to create a password-less libvirt connection to the remote libvirt daemon at host %(host)s with the user %(user)s. Please verify the remote server libvirt configuration. More information: http://libvirt.org/auth.html ."),
"KCHVM0091E": _("'enable_rdma' must be of type boolean (true or false)."),

"KCHVMHDEV0001E": _("VM %(vmid)s does not contain directly assigned host device %(dev_name)s."),
"KCHVMHDEV0002E": _("The host device %(dev_name)s is not allowed to directly assign to VM."),
Expand Down

0 comments on commit 2b42c4c

Please sign in to comment.