Tools

cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Forum Posts

Hi, I am using the Ydk-gen's XmlSubtreeCodec Api's. I am able to generate Ydk-gen C++ Object from Xml data using decode API.Now I want to convert Ydk-gen C++ Object to Xml string using encode(). Somehow I am unable to do that, as from the documentati...

Hi Team,   You can see that in the link below there are some platform-specific yang models such as Cisco-IOS-XR-fretta-dnx-lpts-oper.yang, Cisco-IOS-XR-spitfire-lpts-oper.yang, Cisco-IOS-XR-asr9k-lpts-oper.yang https://wwwin-opengrok.cisco.com/xr-dev...

anibhara by • Cisco Employee
  • 996 Views
  • 1 replies
  • 0 Helpful votes

Hello, I can see a weird behavior with gNMI. Here is what I got: repo = Repository() provider = gNMIServiceProvider(repo=repo, address=args.gnmi.hostname, port=args.gnmi.port, username=args.gnmi.username, password=args.gnmi.password) crud = CRUDServi...

vadigreg by • Cisco Employee
  • 1784 Views
  • 2 replies
  • 0 Helpful votes

Hello, I'm trying to connect a restconf provider (in python) to my device. However when I try I get the following error: 2020-06-08 18:59:32,530 - ydk - INFO - Unable to retrieve restconf root. Assuming '/restconf' as the root 2020-06-08 18:59:32,530...

vadigreg by • Cisco Employee
  • 827 Views
  • 1 replies
  • 0 Helpful votes

Resolved! YDK+PyATS

Hello, I'm from the EN wireless team in Cisco. I've tried to generate code for some of the YANG files we use in wireless and that seems to work just fine. So now I want to use Pyats (no Genie) to test programmability. Usually we have YAML defining ou...

vadigreg by • Cisco Employee
  • 1416 Views
  • 2 replies
  • 0 Helpful votes

Hi,This also applies to netconf.When router has ACL with ACE like permit tcp xxxx xxxx establish its not shown when doing get.ACE with permit tcp xxxx xxxx ack or other flag is shown when doing get.Checked with IOS-XE release 16.9.Any help appreciate...

y*** D*** by • Visitor
  • 1316 Views
  • 2 replies
  • 0 Helpful votes

Hello, I want to configure my YAML to connect to NETCONF. I see that class can be set to yang.connector.netconf. However I'd like to use YDK-py. Is there a connector for that? Or any other way to use YDK?   Thanks.

vadigreg by • Cisco Employee
  • 1130 Views
  • 1 replies
  • 0 Helpful votes

Hi Team,   From the latest ydk page (0.8.3) (http://ydk.cisco.com/py/docs/gen_doc_dfe42d73c3f4f1961e486d4f23a11f136f62317a.html#ydk.models.cisco_ios_xr.Cisco_IOS_XR_ifmgr_cfg.InterfaceConfigurations.InterfaceConfiguration) the container name for freq...

shhaneef by • Cisco Employee
  • 1639 Views
  • 5 replies
  • 0 Helpful votes

Hi there, I'm using the YDK docker image, so I'm assuming that the software versions are correct, but regardless of the code that I write I get the following bunch of errors:2020-06-02 15:05:58,515 - ydk - ERROR - Data is invalid according to the yan...

datavailops by • Frequent Visitor
  • 1678 Views
  • 2 replies
  • 0 Helpful votes

Hi all, I was trying to use YDK openconfig_network_instance python modules to pass the redistribution of routes of BGP IOS-XR router, the import-policy field apparently doesn't recognize the already defined policies in the IOS-XRCould anyone kindly h...

mdifrancesco by • Community Member
  • 2700 Views
  • 5 replies
  • 0 Helpful votes
Top Solution Authors