CiscoDevNet / yang-explorer

An open-source Yang Browser and RPC Builder Application
Apache License 2.0
437 stars 177 forks source link

Unable to subscribe yang files #104

Open dsoren89 opened 5 years ago

dsoren89 commented 5 years ago

I am trying to upload yang files for adva, where upload is working fine, but while subscribe is not happening.

WARNING:root:get_dependencies: Dependency (fsp150cm-fpm) not satisfied, compilation may fail

[26/Aug/2019 06:28:14]"GET /explorer/schema?&action=get%2Dschema&payload=%3Cpayload%20version%3D%223%22%20protocol%3D%22netconf%22%3E%0A%20%20%3Cmetadata%3E%0A%20%20%20%20%3Cdevice%2Dauth%20profile%3D%22%22%20platform%3D%22other%22%20host%3D%22%22%20port%3D%22%22%20user%3D%22%22%20passwd%3D%22%22%2F%3E%0A%20%20%20%20%3Cnetconf%2Dauth%20host%3D%22172%2E23%2E81%2E50%22%20port%3D%22830%22%20user%3D%22testuser%22%20passwd%3D%22wipro%40123%22%2F%3E%0A%20%20%3C%2Fmetadata%3E%0A%20%20%3Ckeyvalue%2F%3E%0A%3C%2Fpayload%3E HTTP/1.1" 200 149 ERROR:root:invoke_compile: Compile Errors: ['data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:5491 (at data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:3061): warning: node "fsp150cm-facility::false" is not found in "fsp150cm-facility::guaranteed-a2n-bandwidth"', 'data/users/guest/yang/fsp150cm-lag@2018-09-20.yang:861 (at data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:3061): warning: node "fsp150cm-lag::false" is not found in "fsp150cm-lag::guaranteed-a2n-bandwidth"', 'data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:5491 (at data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:3076): warning: node "fsp150cm-facility::false" is not found in "fsp150cm-facility::maximum-a2n-bandwidth"', 'data/users/guest/yang/fsp150cm-lag@2018-09-20.yang:861 (at data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:3076): warning: node "fsp150cm-lag::false" is not found in "fsp150cm-lag::maximum-a2n-bandwidth"', 'data/users/guest/yang/fsp150cm-lag@2018-09-20.yang:22: error: module "fsp150cm-fpm" not found in search path', 'data/users/guest/yang/fsp150cm-lag@2018-09-20.yang:911: error: node fsp150cm-lag::flowpoint is not found', 'data/users/guest/yang/fsp150cm-system@2019-01-24.yang:12: error: module "fsp150cm-common" not found in search path', ''] [26/Aug/2019 06:28:15]"GET /explorer/upload?index=0&mode=sync&file=fsp150cm%2Dbgp%402018%2D09%2D20%2Eyang HTTP/1.1" 200 1447 [26/Aug/2019 06:28:30]"GET /explorer/upload?mode=init HTTP/1.1" 200 118 INFO:explorer.views:Received sync request for fsp150cm-bgp@2018-09-20.yang, index 0 /usr/bin/pyang

ERROR:root:invoke_compile: Compile Errors: ['data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:5491 (at data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:3061): warning: node "fsp150cm-facility::false" is not found in "fsp150cm-facility::guaranteed-a2n-bandwidth"', 'data/users/guest/yang/fsp150cm-lag@2018-09-20.yang:861 (at data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:3061): warning: node "fsp150cm-lag::false" is not found in "fsp150cm-lag::guaranteed-a2n-bandwidth"', 'data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:5491 (at data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:3076): warning: node "fsp150cm-facility::false" is not found in "fsp150cm-facility::maximum-a2n-bandwidth"', 'data/users/guest/yang/fsp150cm-lag@2018-09-20.yang:861 (at data/users/guest/yang/fsp150cm-facility@2018-09-20.yang:3076): warning: node "fsp150cm-lag::false" is not found in "fsp150cm-lag::maximum-a2n-bandwidth"', 'data/users/guest/yang/fsp150cm-lag@2018-09-20.yang:22: error: module "fsp150cm-fpm" not found in search path', 'data/users/guest/yang/fsp150cm-lag@2018-09-20.yang:911: error: node fsp150cm-lag::flowpoint is not found', 'data/users/guest/yang/fsp150cm-system@2019-01-24.yang:12: error: module "fsp150cm-common" not found in search path', ''] [26/Aug/2019 06:28:34]"GET /explorer/upload?index=0&mode=sync&file=fsp150cm%2Dbgp%402018%2D09%2D20%2Eyang HTTP/1.1" 200 1447

Yang-explorer_subscribe