Skip to content

Commit

Permalink
Merge pull request #22 from napalm-automation-community/develop
Browse files Browse the repository at this point in the history
Release 3.3.0
  • Loading branch information
bewing authored May 20, 2021
2 parents effb3d9 + bc03996 commit 250a0f7
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
python -m pip install -r requirements-dev.txt
- name: Build wheel
run: |
python setup.py bdist_wheel --universal --build-number $GITHUB_RUN_NUMBER
python setup.py bdist_wheel --build-number $GITHUB_RUN_NUMBER
- name: Upload to test
if: github.event_name == 'push'
uses: pypa/gh-action-pypi-publish@master
Expand Down
9 changes: 8 additions & 1 deletion napalm_mos/mos.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ def __init__(self, hostname, username, password, timeout=60, optional_args=None)
self._ssh = None
self._version = LooseVersion("0")

self.platform = "mos"

self._process_optional_args(optional_args or {})

def _process_optional_args(self, optional_args):
Expand Down Expand Up @@ -296,7 +298,12 @@ def discard_config(self):
self._candidate = None
self._unlock()

def commit_config(self, message=""):
def commit_config(self, message="", revert_in=None):
if revert_in is not None:
raise NotImplementedError(
"Commit confirm has not been implemented on this platform."
)

if message:
raise NotImplementedError(
"Commit message not implemented for this platform"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
napalm>=3.0.0
napalm>=3.3.0
pyeapi>=0.8.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name="napalm-mos",
version="3.0.1",
version="3.3.0",
packages=find_packages(),
author="Benny Holmgren, Brandon Ewing",
author_email="[email protected], [email protected]",
Expand Down

0 comments on commit 250a0f7

Please sign in to comment.