cloudbase-init/cloudbaseinit/tests
Claudiu Popa b10917f9b0 Add a new cloud-config plugin for setting the timezone
cloud-config supports a new plugin, called 'set-timezone', which
can be used to change the timezone on the underlying instance.
The patch adds a new method in the osutils abstraction, called `set_timezone`,
which should be implemented  by each separated OS. The abstraction calls
into cloudbaseinit.utils.windows.timezone, another layer of abstraction
over two API methods, SetTimeZoneInformation for Windows 2003 and older
and SetDynamicTimeZoneInformation, for newer versions of Windows,
which also handles Daylight Saving Time.
The plugin supports standard IANA timezone names, which are then translated
to the Windows-specific timezone names, using tzlocal library.

Change-Id: I18674e1ae078fc69f3fb938065ba01a4de5464a1
2015-03-25 13:01:12 +02:00
..
metadata Fix the names of assert methods belonging to a mock 2015-03-24 17:30:13 +02:00
osutils Add a new cloud-config plugin for setting the timezone 2015-03-25 13:01:12 +02:00
plugins Add a new cloud-config plugin for setting the timezone 2015-03-25 13:01:12 +02:00
resources Support all the variants for writing files with cloudconfig 2015-02-11 17:36:57 +02:00
utils Add a new cloud-config plugin for setting the timezone 2015-03-25 13:01:12 +02:00
__init__.py Global mass refactor 2015-01-18 17:51:56 +02:00
fake.py Global mass refactor 2015-01-18 17:51:56 +02:00
test_exception.py Provide the error code in the Windows exception messages 2015-03-16 16:51:40 +02:00
test_init.py Fix the names of assert methods belonging to a mock 2015-03-24 17:30:13 +02:00
testutils.py Provide the error code in the Windows exception messages 2015-03-16 16:51:40 +02:00