3 Commits
Author SHA1 Message Date
David Barroso fff7931e97 Merge pull request #20 from napalm-automation/dbarrosop/napalm_base_0.18.0
Adding support for napalm-base 0.18.0
2016-11-01 20:54:28 +01:00
David Barroso fcea9076d8 We have to return unicode, not strings 2016-11-01 20:20:59 +01:00
David Barroso 7a724f9eb8 Adding support to napalm-base 0.18.0 2016-11-01 19:17:43 +01:00
3 changed files with 8 additions and 8 deletions

No files matched your search

+6 -6
View File
@@ -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):
+1 -1
View File
@@ -1,2 +1,2 @@
napalm-base==0.17.0
napalm-base>=0.18.0
pyFG
+1 -1
View File
@@ -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",