'submit_job(properties=None, id=None) -> jobid
Raise RestException on error.'

def submit_job(self, properties=None):

    defaults = {'user.name': self.user}
    if (properties is not None):
        defaults.update(properties)
    properties = defaults
    params = self._get_params()
    resp = self._root.post('jobs', params, data=config_gen(properties), contenttype=_XML_CONTENT_TYPE)
    return resp['id']
