From ramonn at linux.vnet.ibm.com Tue Aug 16 12:56:29 2016 Content-Type: multipart/mixed; boundary="===============0208406461697956334==" MIME-Version: 1.0 From: Ramon Medeiros To: kimchi-devel at ovirt.org Subject: Re: [Kimchi-devel] [PATCH][Kimchi 0/3] Issue #857: Support VM description Date: Tue, 16 Aug 2016 13:56:21 -0300 Message-ID: <57B345B5.10701@linux.vnet.ibm.com> In-Reply-To: 1471364642-10271-1-git-send-email-ramonn@linux.vnet.ibm.com --===============0208406461697956334== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Commands for testing: Creating vm with title and description: curl -u root -H "Content-Type: application/json" -H "Accept: = application/json" -k http://localhost:8010/plugins/kimchi/vms -X POST -d = '{"template": "/plugins/kimchi/templates/TEMPLATE", "title": , = "description": <DESCRIPTION>}' updating VM title and description: curl -u root -H "Content-Type: application/json" -H "Accept: = application/json" -k http://localhost:8010/plugins/kimchi/vms/VM -X PUT = -d '{"title": "", "description": ""}' Also, run a GET to check if description is showed: curl -u root -H "Content-Type: application/json" -H "Accept: = application/json" -k http://localhost:8010/plugins/kimchi/vms/VM -X GET On 08/16/2016 01:23 PM, Ramon Medeiros wrote: > Ramon Medeiros (3): > Issue #857: Support VM description > Update tests > Update docs > > API.json | 20 ++++++++++++++++++++ > docs/API.md | 6 ++++++ > i18n.py | 2 ++ > model/vms.py | 24 +++++++++++++++++++++--- > tests/test_mockmodel.py | 3 ++- > tests/test_model.py | 3 ++- > vmtemplate.py | 5 ++++- > 7 files changed, 57 insertions(+), 6 deletions(-) > -- = Ramon Nunes Medeiros Kimchi Developer Linux Technology Center Brazil IBM Systems & Technology Group Phone : +55 19 2132 7878 ramonn(a)br.ibm.com --===============0208406461697956334==--