We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gNMIServiceProvider can connect to nxos switches.
Inconsistent which is super odd - either
Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)
or
2024-02-12 16:03:43,996 - ydk - ERROR - CapabilityRequest failed with error: Connect Failed Traceback (most recent call last): File "/tmp/pycharm_project_997/src/main.py", line 41, in <module> main() File "/tmp/pycharm_project_997/src/main.py", line 28, in main provider = gNMIServiceProvider( File "/root/ydk_vne/lib/python3.10/site-packages/ydk/gnmi/providers/gnmi_provider.py", line 47, in __init__ self.gsp.__init__(repo, address, port, RuntimeError: YServiceProviderError: CapabilityRequest failed with error: Connect Failed
I'm quite literally simply creating a gnmi provider and pointing it to an nxos switch, nothing else at this point.
provider = gNMIServiceProvider( repo=Repository("/root/gnmi.repo"), address="x.x.x.x", username="gnmi", password="gnmi", port=57400, server_certificate="/usr/local/share/ca-certificates/n9kv01.selfsigned.crt", )
I enabled DEBUG in the logger and the logs I posted above are the only ones I see. Also ydk.cisco.com domain doesn't seem to work anymore.
DEBUG
Everything appeared to have compiled nicely on ubuntu jammy, python version is 3.10.12.
Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy
(ydk_vne) root@ydk:~# pip list Package Version ----------------------------- -------- alabaster 0.7.16 Babel 2.14.0 certifi 2024.2.2 charset-normalizer 3.3.2 docutils 0.20.1 exceptiongroup 1.2.0 gitdb 4.0.11 GitPython 3.1.41 idna 3.6 imagesize 1.4.1 iniconfig 2.0.0 Jinja2 3.1.3 lxml 5.1.0 MarkupSafe 2.1.5 packaging 23.2 peewee 3.17.1 pip 22.0.2 pluggy 1.4.0 pyang 2.6.0 pybind11 2.6.2 Pygments 2.17.2 pytest 8.0.0 requests 2.31.0 rstr 3.2.2 setuptools 59.6.0 smmap 5.0.1 snowballstemmer 2.2.0 Sphinx 7.2.6 sphinx-rtd-theme 2.0.0 sphinxcontrib-applehelp 1.0.8 sphinxcontrib-devhelp 1.0.6 sphinxcontrib-htmlhelp 2.0.5 sphinxcontrib-jquery 4.1 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.7 sphinxcontrib-serializinghtml 1.1.10 tomli 2.0.1 urllib3 2.2.0 wheel 0.42.0 ydk 0.8.6.5 ydk-models-ietf 0.1.6 ydk-models-openconfig 0.0.1 ydk-service-gnmi 0.4.0.5
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
gNMIServiceProvider can connect to nxos switches.
Current Behavior
Inconsistent which is super odd - either
Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)
or
Steps to Reproduce
I'm quite literally simply creating a gnmi provider and pointing it to an nxos switch, nothing else at this point.
Your Script
Logs
I enabled
DEBUG
in the logger and the logs I posted above are the only ones I see. Also ydk.cisco.com domain doesn't seem to work anymore.System Information
Everything appeared to have compiled nicely on ubuntu jammy, python version is 3.10.12.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
The text was updated successfully, but these errors were encountered: