def get_one_version(kwargs=None, call=None):
 if (call == 'action'):
  raise SaltCloudSystemExit('The get_cluster_id function must be called with -f or --function.')
 if (kwargs is None):
  kwargs = {}
 (server, user, password) = _get_xml_rpc()
 auth = ':'.join([user, password])
 return server.one.system.version(auth)[1]

def get_one_version ( kwargs = None , call = None ) : if ( call == 'action' ) : raise SaltCloudSystemExit ( 'The get_cluster_id function must be called with -f or --function.' ) if ( kwargs is None ) : kwargs = { } ( server , user , password ) = _get_xml_rpc ( ) auth = ':' . join ( [ user , password ] ) return server . one . system . version ( auth ) [ 1 ]
returns the opennebula version .