Skip to content
This repository has been archived by the owner on Feb 10, 2018. It is now read-only.

Commit

Permalink
Merge pull request #167 from napalm-automation/develop
Browse files Browse the repository at this point in the history
Release 0.10.1
  • Loading branch information
mirceaulinic authored Jun 8, 2017
2 parents e0b6bdd + fe2fb86 commit db47aee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions napalm_junos/junos.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def _get_bgp_neighbors_core(neighbor_data, instance=None, uptime_table_items=Non
bgp_neighbor_data[instance_name]['peers'][neighbor]['uptime'] = uptime[0][1]

old_junos = napalm_base.helpers.convert(
int, self.device.facts.get('version', '0.0').split('.')[0], 0) < 13
int, self.device.facts.get('version', '0.0').split('.')[0], 0) < 15

if old_junos:
instances = junos_views.junos_route_instance_table(self.device).get()
Expand Down Expand Up @@ -995,7 +995,7 @@ def _bgp_iter_core(neighbor_data, instance=None):
bgp_neighbors[instance_name][remote_as].append(neighbor_details)

old_junos = napalm_base.helpers.convert(
int, self.device.facts.get('version', '0.0').split('.')[0], 0) < 13
int, self.device.facts.get('version', '0.0').split('.')[0], 0) < 15
bgp_neighbors_table = junos_views.junos_bgp_neighbors_table(self.device)

if old_junos:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name="napalm-junos",
version="0.10.0",
version="0.10.1",
packages=find_packages(),
author="David Barroso, Mircea Ulinic",
author_email="dbarrosop@dravetech.com, mircea@cloudflare.com",
Expand Down

0 comments on commit db47aee

Please sign in to comment.