Merge pull request #20 from napalm-automation/dbarrosop/napalm_base_0.18.0

Adding support for napalm-base 0.18.0
This commit is contained in:
David Barroso authored and GitHub committed 2016-11-01 20:54:28 +01:00
commit fff7931e97
3 files changed
+8 -8

No files matched your search

+6 -6
View File
@@ -149,16 +149,16 @@ class FortiOSDriver(NetworkDriver):
text_result = '\n'.join(result) text_result = '\n'.join(result)
return { return {
'startup': "", 'startup': u"",
'running': text_result, 'running': unicode(text_result),
'candidate': "", 'candidate': u"",
} }
elif get_startup or get_candidate: elif get_startup or get_candidate:
return { return {
'startup': "", 'startup': u"",
'running': "", 'running': u"",
'candidate': "", 'candidate': u"",
} }
def get_facts(self): def get_facts(self):
+1 -1
View File
@@ -1,2 +1,2 @@
napalm-base==0.17.0 napalm-base>=0.18.0
pyFG pyFG
+1 -1
View File
@@ -12,7 +12,7 @@ reqs = [str(ir.req) for ir in install_reqs]
setup( setup(
name="napalm-fortios", name="napalm-fortios",
version="0.2.0", version="0.2.1",
packages=find_packages(), packages=find_packages(),
author="David Barroso", author="David Barroso",
author_email="dbarrosop@dravetech.com", author_email="dbarrosop@dravetech.com",