Skip to content

Commit

Permalink
Merge 106e290 into 668c4ee
Browse files Browse the repository at this point in the history
  • Loading branch information
Ichabond committed Sep 18, 2019
2 parents 668c4ee + 106e290 commit 19e1129
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion napalm/nxos/nxos.py
Expand Up @@ -800,7 +800,9 @@ def get_facts(self):
show_version = self._send_command("show version")
facts["model"] = show_version.get("chassis_id", "")
facts["hostname"] = show_version.get("host_name", "")
facts["os_version"] = show_version.get("sys_ver_str", "")
facts["os_version"] = show_version.get(
"sys_ver_str", show_version.get("rr_sys_ver", "")
)

uptime_days = show_version.get("kern_uptm_days", 0)
uptime_hours = show_version.get("kern_uptm_hrs", 0)
Expand Down

0 comments on commit 19e1129

Please sign in to comment.