[sysrepo-devel] libyang error
Lukas Macko -X (lmacko - PANTHEON TECHNOLOGIES at Cisco)
lmacko at cisco.com
Thu Jan 26 06:48:58 UTC 2017
Hi,
you have to apply errata https://www.rfc-editor.org/errata_search.php?rfc=6536 - replace doublequotes by single ones. Or download fixed model here https://github.com/sysrepo/sysrepo/blob/devel/yang/ietf-netconf-acm%402012-02-22.yang
Regards,
Lukas
From: sysrepo-devel [mailto:sysrepo-devel-bounces at sysrepo.org] On Behalf Of Joan Landry
Sent: Wednesday, January 25, 2017 10:37 PM
To: sysrepo-devel at sysrepo.org
Subject: [sysrepo-devel] libyang error
All,
I just updated to the latest master branch version of libyang,netopeer2, libnetcong, and sysrepo
I am now getting the following error when I try to load some of the yang models that use to load.
[root at landry tmp]# sysrepoctl --install --yang=/tmp/ietf-netconf-acm at 2012-02-22.yang<mailto:--yang=/tmp/ietf-netconf-acm at 2012-02-22.yang>
Installing a new module from file '/tmp/ietf-netconf-acm at 2012-02-22.yang'...
[ERR] (srctl_ly_log_cb:479) libyang: Invalid keyword "\*"".
[ERR] (srctl_ly_log_cb:479) libyang: Module "ietf-netconf-acm" parsing failed.
Error: Unable to load the module by libyang.
Install operation failed.
[root at landry tmp]#
This is an ietf yang model : ietf-netconf-acm at 2012-02-22.yang<mailto:ietf-netconf-acm at 2012-02-22.yang>
module ietf-netconf-acm {
namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-acm";
prefix "nacm";
import ietf-yang-types {
prefix yang;
}
...
typedef matchall-string-type {
type string {
pattern "\*";
}
description
"The string containing a single asterisk '*' is used
to conceptually represent all possible values
for the particular leaf using this data type.";
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sysrepo.org/archives/sysrepo-devel/attachments/20170126/1e553dcd/attachment.html>
More information about the sysrepo-devel
mailing list