cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
425
Views
0
Helpful
2
Replies

decoder upset of ISIS TE?!

mamikhai
Cisco Employee
Cisco Employee

using ISIS get oper samples, if the router isis is configured for TE I get traceback:

$ ./nc-read-xr-clns-isis-oper-22-ydk.py ssh://cisco:cisco@10.101.112.1:830

/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py:141: FutureWarning: CTR mode needs counter parameter, not IV

  self._cipher = factory.new(key, *args, **kwargs)

Traceback (most recent call last):

  File "./nc-read-xr-clns-isis-oper-22-ydk.py", line 146, in <module>

    isis = crud.read(provider, isis)

  File "/usr/local/lib/python2.7/dist-packages/ydk/services/crud_service.py", line 152, in read

    return provider.decode(payload, read_filter)

  File "/usr/local/lib/python2.7/dist-packages/ydk/providers/netconf_provider.py", line 91, in decode

    return self.sp_instance.decode(payload, read_filter)

  File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_provider_plugin.py", line 132, in decode

    XmlDecoder._bind_to_object(payload, entity, self._get_capabilities())

  File "/usr/local/lib/python2.7/dist-packages/ydk/providers/_decoder.py", line 73, in _bind_to_object

    raise e

ydk.errors.YPYModelError: Value 0 already in leaf-list: te_ext_admin_sub

1 Accepted Solution

Accepted Solutions

abhirame
Cisco Employee
Cisco Employee

Hi Magued,

This is similar to the issue seen in this thread: Re: CRUD read error on Cisco_IOS_XR_ip_rib_ipv4_operPlease see that thread for potential ways to handle this.

The bug ID tracking this is CSCvd74932 and it should be fixed in the upcoming 6.3.1 release of XR.

View solution in original post

2 Replies 2

abhirame
Cisco Employee
Cisco Employee

Hi Magued,

This is similar to the issue seen in this thread: Re: CRUD read error on Cisco_IOS_XR_ip_rib_ipv4_operPlease see that thread for potential ways to handle this.

The bug ID tracking this is CSCvd74932 and it should be fixed in the upcoming 6.3.1 release of XR.

Magued,

Note that YDK is doing the right thing here (detecting duplicates in leaf lists).  Some of these YDK scripts have help us identify issues in the NETCONF/YANG implementation in XR as you can see in this case.