cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
647
Views
0
Helpful
5
Replies

YDK issue (possible bug in XR?)

brfoster
Cisco Employee
Cisco Employee

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?

1 Accepted Solution

Accepted Solutions

Tracked under CSCva50442

View solution in original post

5 Replies 5

saalvare
Cisco Employee
Cisco Employee

Do you see the uptime increment?  Is there a constant offset between what the app reads and what the CLI displays?

No, it’s always a small number between 1 and 3 seconds. I just ran it several times.

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>

****************************

Tracked under CSCva50442

Fix should be released in 6.1.2.