[sysrepo-devel] bad version of ietf-netconf-acm
Joan Landry
JoLandry at advaoptical.com
Thu Dec 1 11:45:10 UTC 2016
I installed the file ietf-netconf-acm at 2012-02-22.yang
And when I do a get schema I get back a different modified version of it that is missing required yang file (file attached was renamed to ietf-bad-netconf-acm at 2012-02-22.yang<mailto:ietf-bad-netconf-acm at 2012-02-22.yang>)
Doing pyang on the bad file I get back results in this error:
pyang -f yang ietf-netconf-acm\@2012-02-22.yang > tmp.yang
ietf-netconf-acm at 2012-02-22.yang:141: error: extension "default-deny-all" is not defined in module ietf-netconf-acm
so we are not able to load the ietf-system yang module which depends on including the acm module.
From: Rastislav Szabo -X (raszabo - PANTHEON TECHNOLOGIES at Cisco) [mailto:raszabo at cisco.com]
Sent: Thursday, December 01, 2016 3:16 AM
To: Joan Landry <JoLandry at advaoptical.com>; sysrepo-devel at sysrepo.org
Subject: RE: bad version of ietf-netconf-acm
Hi,
What exactly is bad in the "bad" ietf-netconf-acm.yang ? Could you please provide the diff?
Thanks,
Rastislav
From: sysrepo-devel [mailto:sysrepo-devel-bounces at sysrepo.org] On Behalf Of Joan Landry
Sent: Wednesday, November 30, 2016 5:24 PM
To: sysrepo-devel at sysrepo.org<mailto:sysrepo-devel at sysrepo.org>
Subject: [sysrepo-devel] bad version of ietf-netconf-acm
I have found that there is a good version of ietf-netconf-acm.yang and a bad version of the same file.
Both have the same rev dates. revision "2012-02-22"
For some reason when I download the models from the device I always get the bad version of this file on my mib browser which causes schema issues.
I have ensured that I installed the correct version in sysrepo via sysrepoctl install
I also ensured that the bad file does not exist in /etc/sysrepo/yang
Yet when I get the model from the device I get the bad file.
Any ideas if this is a bug in sysrepo - or how I can fix it?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sysrepo.org/archives/sysrepo-devel/attachments/20161201/cc579749/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ietf-bad-netconf-acm at 2012-02-22.yang
Type: application/octet-stream
Size: 11754 bytes
Desc: ietf-bad-netconf-acm at 2012-02-22.yang
URL: <http://lists.sysrepo.org/archives/sysrepo-devel/attachments/20161201/cc579749/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ietf-netconf-acm at 2012-02-22.yang
Type: application/octet-stream
Size: 12711 bytes
Desc: ietf-netconf-acm at 2012-02-22.yang
URL: <http://lists.sysrepo.org/archives/sysrepo-devel/attachments/20161201/cc579749/attachment-0001.obj>
More information about the sysrepo-devel
mailing list