diff --git a/napalm_fortios/fortios.py b/napalm_fortios/fortios.py index 3a5c919..e0a2fcc 100644 --- a/napalm_fortios/fortios.py +++ b/napalm_fortios/fortios.py @@ -149,16 +149,16 @@ class FortiOSDriver(NetworkDriver): text_result = '\n'.join(result) return { - 'startup': "", - 'running': text_result, - 'candidate': "", + 'startup': u"", + 'running': unicode(text_result), + 'candidate': u"", } elif get_startup or get_candidate: return { - 'startup': "", - 'running': "", - 'candidate': "", + 'startup': u"", + 'running': u"", + 'candidate': u"", } def get_facts(self): diff --git a/requirements.txt b/requirements.txt index dc815fb..1454b58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -napalm-base==0.17.0 +napalm-base>=0.18.0 pyFG diff --git a/setup.py b/setup.py index 9075c14..1af1d89 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ reqs = [str(ir.req) for ir in install_reqs] setup( name="napalm-fortios", - version="0.2.0", + version="0.2.1", packages=find_packages(), author="David Barroso", author_email="dbarrosop@dravetech.com",