cloudbase-init/cloudbaseinit/tests/utils/windows
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
..
__init__.py Global mass refactor 2015-01-18 17:51:56 +02:00
test_network.py Global mass refactor 2015-01-18 17:51:56 +02:00
test_physical_disk.py Provide the error code in the Windows exception messages 2015-03-16 16:51:40 +02:00
test_privilege.py Add a new cloud-config plugin for setting the timezone 2015-03-25 13:01:12 +02:00
test_security.py Global mass refactor 2015-01-18 17:51:56 +02:00
test_timezone.py Add a new cloud-config plugin for setting the timezone 2015-03-25 13:01:12 +02:00
test_vds.py Global mass refactor 2015-01-18 17:51:56 +02:00
test_vfat.py Check for the label of the volume from the VFAT filesystem 2015-03-06 18:13:08 +02:00
test_virtual_disk.py Provide the error code in the Windows exception messages 2015-03-16 16:51:40 +02:00
test_winrmconfig.py Global mass refactor 2015-01-18 17:51:56 +02:00
test_ws2_32.py Global mass refactor 2015-01-18 17:51:56 +02:00
test_x509.py Global mass refactor 2015-01-18 17:51:56 +02:00