<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
Sorry for the delay!<br>
<br>
But I think we can use only one field and put it in the General tab<br>
<br>
<div class="moz-cite-prefix">On 07/30/2014 05:55 AM, Yu Xin Huo
wrote:<br>
</div>
<blockquote cite="mid:53D8B315.3070107@linux.vnet.ibm.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">So just 2 fields, 'Password' and
'Confirm Password' will be enough.<br>
<img src="cid:part1.05090108.08050107@linux.vnet.ibm.com" alt=""><br>
<br>
On 7/28/2014 3:03 PM, Sheldon wrote:<br>
</div>
<blockquote cite="mid:53D5F5BF.9000008@linux.vnet.ibm.com"
type="cite">On 07/25/2014 03:42 PM, Yu Xin Huo wrote: <br>
<blockquote type="cite">Shao he, can you please clarify what UI
is needed for this feature? <br>
</blockquote>
<br>
passwd is required. should let user change passwd <br>
<br>
$ sudo curl -k -u <user>:<password> -H
"Content-Type: application/json" -H \ <br>
"Accept: application/json" <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://localhost:8001/vms/test-vm-8/">https://localhost:8001/vms/test-vm-8/</a>
\ <br>
-X PUT -d '{"ticket": {"passwd": "abcd"}}' <br>
<br>
<blockquote type="cite"> <br>
On 7/23/2014 6:49 PM, <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:shaohef@linux.vnet.ibm.com">shaohef@linux.vnet.ibm.com</a>
wrote: <br>
<blockquote type="cite">From: ShaoHe Feng <a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="mailto:shaohef@linux.vnet.ibm.com"><shaohef@linux.vnet.ibm.com></a>
<br>
<br>
V3 -> V4: <br>
test case not pass. fix it. <br>
<br>
V2 -> V3: <br>
do not make ticket as sub-resource of a VM <br>
<br>
V1 -> V2: <br>
make ticket as sub-resource of a VM <br>
<br>
A ticket is the credential to access VM. <br>
Only who get the ticket can access a VM. <br>
<br>
test this patch set: <br>
set the ticket <br>
$ sudo curl -k -u <user>:<password> -H
"Content-Type: application/json" -H \ <br>
"Accept: application/json" <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://localhost:8001/vms/test-vm-8/">https://localhost:8001/vms/test-vm-8/</a>
\ <br>
-X PUT -d '{"ticket": {"passwd": "abcd"}}' <br>
<br>
get the ticket <br>
$ sudo curl -k -u <user>:<password> -H
"Content-Type: application/json" -H \ <br>
"Accept: application/json" <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://localhost:8001/vms/test-vm-8/">https://localhost:8001/vms/test-vm-8/</a>
<br>
<br>
ShaoHe Feng (5): <br>
vm ticket in backend: update API.md <br>
vm ticket in backend: update controller and API.json <br>
vm ticket in backend: update model <br>
vm ticket in backend: update mockmodel <br>
vm ticket in backend: update test case <br>
<br>
docs/API.md | 7 +++++ <br>
src/kimchi/API.json | 16 +++++++++++ <br>
src/kimchi/control/vms.py | 3 +- <br>
src/kimchi/i18n.py | 2 ++ <br>
src/kimchi/mockmodel.py | 14 +++++++++ <br>
src/kimchi/model/vms.py | 73
+++++++++++++++++++++++++++++++++++++++++++++++ <br>
tests/test_mockmodel.py | 2 +- <br>
tests/test_model.py | 17 ++++++++++- <br>
tests/test_rest.py | 12 ++++++++ <br>
9 files changed, 143 insertions(+), 3 deletions(-) <br>
<br>
</blockquote>
<br>
<br>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kimchi-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kimchi-devel@ovirt.org">Kimchi-devel@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>