-
Notifications
You must be signed in to change notification settings - Fork 77
Description
(venv) (base) HARAVAL-M-M02L:Getting-started-with-Cisco-SD-WAN-REST-APIs haraval$ ./sdwan.py template_list
Traceback (most recent call last):
File "./sdwan.py", line 49, in get_jsessionid
cookies = response.headers["Set-Cookie"]
File "/Users/haraval/Documents/Cisco/SDWAN/Devnet/Getting-started-with-Cisco-SD-WAN-REST-APIs/venv/lib/python3.8/site-packages/requests/structures.py", line 54, in getitem
return self._store[key.lower()][1]
KeyError: 'set-cookie'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./sdwan.py", line 70, in
jsessionid = Auth.get_jsessionid(vmanage_host,vmanage_port,vmanage_username,vmanage_password)
File "./sdwan.py", line 53, in get_jsessionid
if logger is not None:
NameError: name 'logger' is not defined