06-08-2020 10:05 AM
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 - ydk - INFO - Ready to communicate with http://10.51.65.23:443/restconf using http Traceback (most recent call last): File "main.py", line 46, in <module> encoding=EncodingFormat.JSON) RuntimeError: invalid format string
This is my code:
repo = Repository() provider = RestconfServiceProvider(repo=repo, address=args.restconf.hostname, port=args.restconf.port, username=args.restconf.username, password=args.restconf.password, encoding=EncodingFormat.JSON)
How can I set protocol to HTTPS?
Thanks.
Solved! Go to Solution.
06-08-2020 12:56 PM
Hello
This is well known YDK limitation #917, which requires significant new development. Your company would need to come up with some resources to support this new development.
06-08-2020 12:56 PM
Hello
This is well known YDK limitation #917, which requires significant new development. Your company would need to come up with some resources to support this new development.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: