if ro_host is None:
ro_host = host
- ro_http_client = http.Http('http://{}:{}/'.format(ro_host, ro_port))
+ ro_http_client = http.Http('http://{}:{}/openmano'.format(ro_host, ro_port))
ro_http_client.set_http_header(
- ['Accept: application/vnd.yand.data+json',
+ ['Accept: application/json',
'Content-Type: application/json'])
self._http_client = http.Http(
self._headers['Accept'] = 'application/json'
self._headers['Content-Type'] = 'application/yaml'
http_header = ['{}: {}'.format(key,val)
- for (key,val) in self._headers.items()]
+ for (key,val) in list(self._headers.items())]
self._http_client.set_http_header(http_header)
token = self.get_token()