Author SHA1 Message Date
Eric Beahan 670f7e8a0d Merge pull request #45 from napalm-automation/develop
Merge 0.4.0
2017-04-01 17:14:12 -05:00
David Barroso 61c343d3b7 Merge pull request #34 from napalm-automation/develop
Release 0.3.1
2016-12-29 15:35:04 +01:00
David Barroso fef224775e Merge pull request #28 from napalm-automation/develop
Release 0.3.0
2016-12-01 14:14:29 +01:00
David Barroso 562529ac7a Merge pull request #21 from napalm-automation/develop
Release 0.2.1
2016-11-01 20:57:27 +01:00
David Barroso ad1a10f08b Merge pull request #19 from napalm-automation/develop
Release 0.2.0
2016-10-25 11:11:07 +02:00
2 changed files with 3 additions and 10 deletions

No files matched your search

+1 -5
View File
@@ -16,16 +16,12 @@ from __future__ import unicode_literals
import re import re
from pyFG.fortios import FortiOS, FortiConfig, logger from pyFG.fortios import FortiOS, FortiConfig, logger
from pyFG.exceptions import FailedCommit, CommandExecutionException from pyFG.exceptions import FailedCommit, CommandExecutionException
from napalm_base.base import NetworkDriver
from napalm_base.exceptions import ReplaceConfigException, MergeConfigException from napalm_base.exceptions import ReplaceConfigException, MergeConfigException
from napalm_base.utils.string_parsers import colon_separated_string_to_dict,\ from napalm_base.utils.string_parsers import colon_separated_string_to_dict,\
convert_uptime_string_seconds convert_uptime_string_seconds
from napalm_base.utils import py23_compat from napalm_base.utils import py23_compat
try:
from napalm.base.base import NetworkDriver
except ImportError:
from napalm_base.base import NetworkDriver
class FortiOSDriver(NetworkDriver): class FortiOSDriver(NetworkDriver):
def __init__(self, hostname, username, password, timeout=60, optional_args=None): def __init__(self, hostname, username, password, timeout=60, optional_args=None):
+2 -5
View File
@@ -8,14 +8,11 @@ from pip.req import parse_requirements
__author__ = 'David Barroso <dbarrosop@dravetech.com>' __author__ = 'David Barroso <dbarrosop@dravetech.com>'
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
try: reqs = [str(ir.req) for ir in install_reqs]
reqs = [str(ir.req) for ir in install_reqs]
except:
reqs = [str(ir.requirement) for ir in install_reqs]
setup( setup(
name="napalm-fortios", name="napalm-fortios",
version="0.4.1", version="0.4.0",
packages=find_packages(), packages=find_packages(),
author="David Barroso", author="David Barroso",
author_email="dbarrosop@dravetech.com", author_email="dbarrosop@dravetech.com",