blob: 78968f030ab5972c9d3a80071a3eed1e38423629 [file] [log] [blame]
from sys import platform
class OSUtils:
""" Utilities useful for constructing OpenStack HEAT requests """
def get_normalized_os(self):
os = platform
if platform == "linux" or platform == "linux2":
os = 'linux64'
elif platform == "darwin":
os = 'mac64'
elif platform == "win32":
os = platform
return os