07-14-2016 11:57 AM
Trying to run a sample script against XRv 6.0.1
RP/0/0/CPU0:iosxrv-1#show version
Thu Jul 14 18:49:06.322 UTC
Cisco IOS XR Software, Version 6.0.1[Default]
Copyright (c) 2016 by Cisco Systems, Inc.
ROM: GRUB, Version 1.99(0), DEV RELEASE
iosxrv-1 uptime is 2 days, 1 hour, 34 minutes
Script is attached. When I run it I see uptime is not coming correctly from XR, see attached log for details.
Should we file a bug against XR or is this already a known bug?
Solved! Go to Solution.
07-15-2016 09:12 AM
Tracked under CSCva50442
07-14-2016 12:12 PM
Do you see the uptime increment? Is there a constant offset between what the app reads and what the CLI displays?
07-14-2016 12:14 PM
No, it’s always a small number between 1 and 3 seconds. I just ran it several times.
07-15-2016 08:52 AM
Seeing same issue on my test bed. Thanks for bring it up. Will file an XR defect if one doesn't exist already.
2016-07-15 08:49:48,712 - ydk.providers.NetconfServiceProvider - DEBUG -
<?xml version="1.0"?>
<rpc-reply message-id="urn:uuid:c28bd8f8-4aa3-11e6-9e23-081196796e8c" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<system-time xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-shellutil-oper">
<clock>
<year>2016</year>
<month>7</month>
<day>15</day>
<hour>7</hour>
<minute>34</minute>
<second>43</second>
<millisecond>974</millisecond>
<wday>5</wday>
<time-zone>UTC</time-zone>
<time-source>calendar</time-source>
</clock>
<uptime>
<host-name>carreras</host-name>
<uptime>1</uptime>
</uptime>
</system-time>
</data>
</rpc-reply>
****************************
07-15-2016 09:12 AM
Tracked under CSCva50442
08-16-2016 10:55 AM
Fix should be released in 6.1.2.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide