[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] question regarding Event.timestamp field


  • To: <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: "Aggarwal, Ajay" <Ajay.Aggarwal@xxxxxxxxxxx>
  • Date: Wed, 12 Aug 2009 16:46:59 -0400
  • Delivery-date: Wed, 12 Aug 2009 13:47:03 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: AcobjgmKNiqvcLQ3Tfipj0dfB6pcKA==
  • Thread-topic: question regarding Event.timestamp field

While looking at the traffic between XenCenter and XenServer 5.5,  I see that in all other places such as Task.created, Task.finished, VM.snapshot_time etc., the ‘datetime’ type of field comes on wire as a <dateTime.iso8601> element, e.g.

 

<Task>

   ….

    <name>created</name>

    <value><dateTime.iso8601>20090806T17:52:13Z</dateTime.iso8601></value>

</Task>

 

However the Event.timestamp field, which is also of type ‘datetime’ as per the Xen API specs, comes as integer looking string

 

<Event>

  …

   <name>timestamp</name>

   <value>1249581133.</value>

</Event>

 

I was wondering why. Also what’s the dot at the end of that number?

 

-Ajay

 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.