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:
commit
fff7931e97
3 files changed
+8
-8
No files matched your search
@@ -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
@@ -1,2 +1,2 @@
|
||||
napalm-base==0.17.0
|
||||
napalm-base>=0.18.0
|
||||
pyFG
|
||||
Reference in new issue
Block a user