Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cisco IOS uptime parsing #944

Merged

Conversation

joewesch
Copy link
Contributor

ISSUE TYPE
  • Template Change
COMPONENT

cisco_ios_show_version, cisco_ios, show version

SUMMARY

Adds additional value parsing for individual uptime items (days, weeks, hours, etc.)

Before:

    uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes"

After:

    uptime: "2 years, 31 weeks, 6 days, 9 hours, 55 minutes"
    uptime_days: "6"
    uptime_hours: "9"
    uptime_minutes: "55"
    uptime_weeks: "31"
    uptime_years: "2"

@joewesch joewesch closed this Jun 29, 2021
@joewesch joewesch deleted the cisco-ios-show-version branch June 29, 2021 16:59
@joewesch joewesch restored the cisco-ios-show-version branch June 29, 2021 16:59
@joewesch joewesch reopened this Jun 29, 2021
@joewesch
Copy link
Contributor Author

Oops, got prune happy and accidentally deleted the branch.

@FragmentedPacket FragmentedPacket merged commit 8db6b20 into networktocode:master Jul 7, 2021
jvanderaa pushed a commit that referenced this pull request Nov 10, 2021
@joewesch joewesch deleted the cisco-ios-show-version branch September 12, 2022 01:48
guillaume-mbali pushed a commit to unyc-io/ntc-templates that referenced this pull request Apr 12, 2023
cppmonkey pushed a commit to cppmonkey/ntc-templates that referenced this pull request Oct 25, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants