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
David Barroso 794b90638d Merge pull request #18 from napalm-automation/bump-version-0.2.0
bump version 0.2.0
2016-10-25 11:02:36 +02: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) 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",