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

Commit

Permalink
Merge a61cbef into 231fb03
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceaulinic committed Mar 21, 2017
2 parents 231fb03 + a61cbef commit ba8f61e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions napalm_junos/junos.py
Original file line number Diff line number Diff line change
Expand Up @@ -1527,6 +1527,8 @@ def get_network_instances(self, name=''):
ri_type = 'default'
ri_rd = ri_details['route_distinguisher']
ri_interfaces = ri_details['interfaces']
if not isinstance(ri_interfaces, list):
ri_interfaces = [ri_interfaces]
network_instances[ri_name] = {
'name': ri_name,
'type': C.OC_NETWORK_INSTANCE_TYPE_MAP.get(ri_type, ri_type), # default: return raw
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.6.5",
version="0.6.6",
packages=find_packages(),
author="David Barroso, Mircea Ulinic",
author_email="dbarrosop@dravetech.com, mircea@cloudflare.com",
Expand Down

0 comments on commit ba8f61e

Please sign in to comment.