Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Merge pull request #154 from napalm-automation/develop
Browse files Browse the repository at this point in the history
Release 0.5.6
  • Loading branch information
mirceaulinic authored Oct 24, 2017
2 parents 42920d9 + 79d4e5a commit 7343b1d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 33 deletions.
34 changes: 4 additions & 30 deletions .github/ISSUE_TEMPLATE
Original file line number Diff line number Diff line change
@@ -1,33 +1,7 @@
### Description of Issue/Question
### The NAPALM Project has reunified!

Please submit all NAPALM issues to:
https://github.com/napalm-automation/napalm/issues

### Did you follow the steps from https://github.com/napalm-automation/napalm#faq
[ ] Yes
[ ] No


### Setup

### napalm-iosxr version
(Paste verbatim output from `pip freeze | grep napalm-iosxr` between quotes below)

```

```

### IOS-XR version and platform details
(Paste the complete verbatim output from `show version brief` between quotes below)

```

```

### Steps to Reproduce the Issue

### Error Traceback
(Paste the complete traceback of the exception between quotes below)

```

```

### DO NOT submit any issues to this repository.
8 changes: 7 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
<!-- Make sure you have read http://napalm.readthedocs.io/en/latest/contributing/index.html --!>
### The NAPALM Project has reunified!

Please submit all NAPALM pull requests to:
https://github.com/napalm-automation/napalm/pulls


### DO NOT submit any pull requests to this repository.
5 changes: 4 additions & 1 deletion napalm_iosxr/iosxr.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,10 @@ def get_facts(self):
system_time_xpath = './/SystemTime/Uptime'
platform_attr_xpath = './/RackTable/Rack/Attributes/BasicInfo'
system_time_tree = facts_rpc_reply.xpath(system_time_xpath)[0]
platform_attr_tree = facts_rpc_reply.xpath(platform_attr_xpath)[0]
try:
platform_attr_tree = facts_rpc_reply.xpath(platform_attr_xpath)[0]
except IndexError:
platform_attr_tree = facts_rpc_reply.xpath(platform_attr_xpath)

hostname = napalm_base.helpers.convert(
text_type, napalm_base.helpers.find_txt(system_time_tree, 'Hostname'))
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-iosxr",
version="0.5.5",
version="0.5.6",
packages=find_packages(exclude=["test", "test.*"]),
author="David Barroso, Mircea Ulinic",
author_email="dbarrosop@dravetech.com, mircea@cloudflare.com",
Expand Down

0 comments on commit 7343b1d

Please sign in to comment.