Skip to content

Commit

Permalink
Merge pull request #13 from napalm-automation-community/develop
Browse files Browse the repository at this point in the history
Release 2.5.0
  • Loading branch information
bewing authored Oct 11, 2019
2 parents 648228a + d5bbc19 commit b71dc49
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion napalm_mos/mos.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,8 @@ def _parse_mm_speed(speed):

interfaces[interface]["speed"] = _parse_mm_speed(values["speed"])
interfaces[interface]["mac_address"] = ""
# L1 device has no concept of MTU
interfaces[interface]["mtu"] = -1

return interfaces

Expand Down Expand Up @@ -727,7 +729,7 @@ def get_optics(self):
optics_detail[port] = port_detail
return optics_detail

def get_config(self, retrieve="all"):
def get_config(self, retrieve="all", full=False):
"""get_config implementation for MOS."""

get_startup = False
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==2.4.0
napalm==2.5.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="2.4.1",
version="2.5.0",
packages=find_packages(),
author="Benny Holmgren, Brandon Ewing",
author_email="[email protected], [email protected]",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"et2": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": true, "mac_address": "", "speed": 10000}, "et3": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et1": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": true, "mac_address": "", "speed": 10000}, "et6": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et7": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et4": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et5": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et8": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et9": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et16": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et14": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et15": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "ma1": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": true, "mac_address": "", "speed": 1000}, "et10": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et11": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et12": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}, "et13": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0}}
{"et2": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": true, "mac_address": "", "speed": 10000, "mtu": -1}, "et3": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et1": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": true, "mac_address": "", "speed": 10000, "mtu": -1}, "et6": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et7": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et4": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et5": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et8": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et9": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et16": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et14": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et15": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "ma1": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": true, "mac_address": "", "speed": 1000, "mtu": -1}, "et10": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et11": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et12": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}, "et13": {"is_enabled": true, "description": "", "last_flapped": 0.0, "is_up": false, "mac_address": "", "speed": 0, "mtu": -1}}

0 comments on commit b71dc49

Please sign in to comment.