Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-30 Thread tony_caotong
Hi, sorry for replying late since weekend. Snthosh, this patch works for me and thanks. It modified like this: 29c29,32 < self.params.append(key + '=' + urllib.quote_plus(args[key])) --- > if key == "startdate" or key == "enddate": > self.params.append(k

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread tony_caotong
My scripts is just from cloudstack website https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simple+class+for+making+API+calls%2C+Python and I just do some testing like this: 1. >>> from SignedAPICall import api 2. >>> api.listEvents(listall='true', startdate='2015-08-28') 3. >>> api.list

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-27 Thread tony_caotong
Thanks for all your people's replys. 1. Abhinandan, My ACS manager was not listening on port '8096', 2. As Yipeng said, When I call this api from cloudmonkey, it works fine, like this " cloudmonkey api listEvents listall=true startdate='2015-08-28 00:00:00' " When I call it throu

How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-24 Thread tony_caotong
Hello Every. I know this is a very simple question to most of you. but it is really hard for me to continue my work. So could Anyone spend your three minutes to give me some advice, it will be very usefull to me. my question is: How does the parameter startdate/enddate of api listEvent

new timestamp format for API in ACS 4.5.1

2015-08-18 Thread tony_caotong
Hi All: Does any one have any idea ? Thanks. --- Cao Tong On 08/18/2015 06:04 PM, tony_caot...@163.com wrote: In ParamProcessWorker::setFieldValue() I found this lins: case DATE: // This piece of code is for maintaining backward compatibility

Fwd: Re: new timestamp format for API in ACS 4.5.1

2015-08-18 Thread tony_caotong
Copy thread from @users, as I am not sure where is the right place to find right people for helping. Forwarded Message Subject:Re: new timestamp format for API in ACS 4.5.1 Date: Tue, 18 Aug 2015 18:04:56 +0800 From: tony_caot...@163.com Reply-To: us...@clo

Fwd: Re: XenServer is disconnected after CS hosts shutdown

2015-07-22 Thread tony_caotong
copy mail thread to @dev for seeking more help. Forwarded Message Subject:Re: XenServer is disconnected after CS hosts shutdown Date: Wed, 22 Jul 2015 21:03:13 +0800 From: tony_caot...@163.com Reply-To: us...@cloudstack.apache.org To: us...@cloudstack.apa