Libvirt does not support special characters on name tag. This patch make Kimchi writes
the special name at title tag and use an ascii version in name tag.
Ramon Medeiros (9):
Create title tag
Change the way that get_vm() and vm_list() search for VMs
Use get_vm() instead of conn.lookupByName
Encode vm_name to generate VNC token
Reflect the unicode conversion on token creation
Redefine title tag on vm update
Fix functions that uses connection as parameter
Return name with special characters when taking snapshot
Template_test: check assert that verifies the vm name
src/kimchi/model/vms.py | 82 +++++++++++++++++++++++++++++++++++------
src/kimchi/model/vmsnapshots.py | 7 ++++
src/kimchi/model/vmstorages.py | 7 +---
src/kimchi/vmtemplate.py | 4 +-
tests/test_vmtemplate.py | 8 +++-
ui/js/src/kimchi.api.js | 4 +-
6 files changed, 92 insertions(+), 20 deletions(-)
--
2.1.0