diff --git a/napalm_junos/junos.py b/napalm_junos/junos.py index ca52648..99c405b 100644 --- a/napalm_junos/junos.py +++ b/napalm_junos/junos.py @@ -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() @@ -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: diff --git a/setup.py b/setup.py index 828887b..99ad910 100644 --- a/setup.py +++ b/setup.py @@ -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",