cisco-ie / anx

Advanced NETCONF Explorer: Graphical Explorer for NETCONF / YANG and GNMI/GRPC Telemetry & Java NETCONF 1.1 client library
Apache License 2.0
183 stars 43 forks source link

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

Open xuoguoto opened 1 year ago

xuoguoto commented 1 year ago

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