blob: 78968f030ab5972c9d3a80071a3eed1e38423629 [file] [log] [blame]
sv764t8bf49982018-10-25 01:42:52 -04001from sys import platform
2
3class OSUtils:
4 """ Utilities useful for constructing OpenStack HEAT requests """
5
6 def get_normalized_os(self):
7 os = platform
8 if platform == "linux" or platform == "linux2":
9 os = 'linux64'
10 elif platform == "darwin":
11 os = 'mac64'
12 elif platform == "win32":
13 os = platform
14 return os