Skip to content
New issue

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

ietf-snmp@2014-12-10.yang tries to imports missing model #36

Open
xuoguoto opened this issue Sep 23, 2023 · 0 comments
Open

ietf-snmp@2014-12-10.yang tries to imports missing model #36

xuoguoto opened this issue Sep 23, 2023 · 0 comments

Comments

@xuoguoto
Copy link

Hello,

I am testing NETCONF and to play with it I have installed sysrepo (libsysrepo v2.2.105) and netopeer2 (2.1.71) and both are working fine. I am able to work with them using netopeer2-cli. As a example of real world yang model, I used snmp to work with and understand NETCONF. The modules are correctly installed and using <get-schema> I am able to download the ietf-snmp module and all it's submodules.

I am using the following python program to download the schema

from ncclient import manager

m = manager.connect(host='localhost', port=830, username='user', password='pass')

schema = m.get_schema('ietf-snmp-tsm)
print (schema)

But when I launch ANX I get following error:

ietf-snmp@2014-12-10.yang tries to imports missing model: ietf-snmp-tsm, ietf-snmp-tls, ietf-snmp-target, ietf-snmp-usm, ietf-snmp-vacm, ietf-snmp-community, ietf-snmp-ssh, ietf-snmp-engine, ietf-snmp-notification, ietf-snmp-common, ietf-snmp-proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant