4 Commits

Author SHA1 Message Date
ChangBo Guo(gcb)
a9752e281a Use version convert methods from oslo_utils.versionutils
oslo_utils provide version convert methods in versionutis[1],
these methods work well on Python 2.7 and Python 3.4,
so don't need maintain them.

[1]https://github.com/openstack/oslo.utils/blob/master/oslo_utils/versionutils.py

Change-Id: Ifc4b7f5c7e42bce9f5bbf8a961fd32506cca98eb
2015-12-01 00:26:55 +08:00
Davanum Srinivas (dims)
19d21f65e2 Switch back to iso format on the wire
following change id replaced timeutils.isotime(dt) with dt.isoformat():
Ied2643d3d891600e0e5cd31c7ef1ff6107e3a777

However this change breaks existing contract between Nova components
on the wire, so we need to resurrect a bit of the older code.

Change-Id: I151e889258a33fe6ce961b514c3967f521a218cf
2015-08-18 12:38:51 +00:00
Joshua Harlow
e182ba6e54 Replace 'hypervisor' with 'provided' version
A hypervisor version is a nova concept and likely
doesn't belong in this library so tweak the wording
used.

Change-Id: Ia03d94334201e0229a339984ca0838911d4ee20d
2015-07-13 16:19:58 -07:00
Grzegorz Grasza
0d4bd24ed3 Rename utils -> _utils
Hide the utils module, which should not be part of the public API.
utils.py contains functions required internally (moved from Nova).

Change-Id: I3666d35d28592bd49768424049142e5d353a916d
Closes-Bug: 1417284
2015-02-16 11:19:31 +01:00