[sysrepo-devel] YANG modules available anywhere?

Benoit Claise bclaise at cisco.com
Thu Jul 7 13:20:17 UTC 2016


On 7/7/2016 12:22 PM, Rastislav Szabo -X (raszabo - PANTHEON 
TECHNOLOGIES at Cisco) wrote:
>
> Hi Benoit,
>
> All warnings have been addressed. Thanks.
>
I see :-)
http://www.claise.be/SysrepoInternalYANGPageCompilation.html
http://www.claise.be/SysrepoApplicationYANGPageCompilation.html

Thanks, B.
>
> Rastislav
>
> *From:*Benoit Claise (bclaise)
> *Sent:* Friday, July 1, 2016 4:43 PM
> *To:* Rastislav Szabo -X (raszabo - PANTHEON TECHNOLOGIES at Cisco) 
> <raszabo at cisco.com>; sysrepo-devel at sysrepo.org
> *Cc:* Alain Fiocco (afiocco) <afiocco at cisco.com>; Jan Medved (jmedved) 
> <jmedved at cisco.com>
> *Subject:* Re: [sysrepo-devel] YANG modules available anywhere?
>
> Hi Ratislav,
>
> That works better. 
> http://www.claise.be/SysrepoInternalYANGPageCompilation.html. Thanks.
> However, still a warning for dnsmasq. See 
> http://www.claise.be/SysrepoApplicationYANGPageCompilation.html
>
> Regards, B.
>
>     Hi Benoit,
>
>     Thanks. I have just set up an automation script that will check
>     for changes in the YANGs each day and push the new versions to the
>     repo in case of any change.
>
>     I have also fixed the issues in the internal YANG and dnsmasq
>     YANG, will ask the DT guys to fix the snabb YANG too.
>
>     Thanks,
>
>     Rastislav
>
>     *From:*Benoit Claise (bclaise)
>     *Sent:* Thursday, June 30, 2016 2:15 PM
>     *To:* Rastislav Szabo -X (raszabo - PANTHEON TECHNOLOGIES at
>     Cisco) <raszabo at cisco.com> <mailto:raszabo at cisco.com>;
>     sysrepo-devel at sysrepo.org <mailto:sysrepo-devel at sysrepo.org>
>     *Cc:* Alain Fiocco (afiocco) <afiocco at cisco.com>
>     <mailto:afiocco at cisco.com>; Jan Medved (jmedved)
>     <jmedved at cisco.com> <mailto:jmedved at cisco.com>; Benoit Claise
>     (bclaise) <bclaise at cisco.com> <mailto:bclaise at cisco.com>
>     *Subject:* Re: [sysrepo-devel] YANG modules available anywhere?
>
>     Hi Rastislav,
>
>     Done.
>     See http://www.claise.be/2016/06/ietf-yang-modules-statistiques/
>
>         Sysrepo
>
>           * AllInternal YANG data models from github
>             <http://www.claise.be/SysrepoInternalYANGPageCompilation.html>and_Related
>             stats <http://www.claise.be/SysrepoInternalYANGPageMain.html>_
>           * AllApplication-related YANG data models from github
>             <http://www.claise.be/SysrepoApplicationYANGPageCompilation.html>and_Related
>             stats
>             <http://www.claise.be/SysrepoApplicationYANGPageMain.html>_
>
>     You might want to make sure those YANG modules compile.
>     And also, you might want to make sure that this github repo always
>     get the latest YANG modules (maybe a script)
>
>     Regards, Benoit
>
>         Hi Benoit,
>
>         Yes, I get your point. I have created a new repository:
>         https://github.com/sysrepo/yang
>
>         We have put all the YANG modules developed for the use with
>         sysrepo there. We will update it regularly (and
>         automatically), as well as ask all others using sysrepo to put
>         their YANGs there.
>
>         You can point your scripts there.
>
>         Thanks for doing this for us,
>
>         Rastislav
>
>         *From:*Benoit Claise (bclaise)
>         *Sent:* Tuesday, June 28, 2016 1:57 PM
>         *To:* Rastislav Szabo -X (raszabo - PANTHEON TECHNOLOGIES at
>         Cisco) <raszabo at cisco.com> <mailto:raszabo at cisco.com>;
>         sysrepo-devel at sysrepo.org <mailto:sysrepo-devel at sysrepo.org>
>         *Cc:* Alain Fiocco (afiocco) <afiocco at cisco.com>
>         <mailto:afiocco at cisco.com>; Benoit Claise (bclaise)
>         <bclaise at cisco.com> <mailto:bclaise at cisco.com>
>         *Subject:* Re: [sysrepo-devel] YANG modules available anywhere?
>
>         Hi Rastislav, Luka,
>
>         What I have in mind is the next steps for sysrepo, i.e.
>         advertising the sysrepo YANG modules.
>         There are two types of YANG modules:
>         1. internal ones, such as sysrepo-persistent-data.yang.
>         2. the service YANG modules, such as dnsmasq at 2016-01-22.yang
>         <mailto:dnsmasq at 2016-01-22.yang>. Way more interesting to
>         advertise.
>         If sysrepo is as successful I want it to be, those will become
>         kind of "defacto" standard for the LINUX environment.
>
>         Now, the ask. Instead of me cloning every single app repo, and
>         considering that I don't know what I don't know (i.e. which
>         new app are being developed), can you create a new directory
>         with a copy (like a cron) of the app-related YANG service module.
>
>         Here is what I have in mind.
>         See http://www.claise.be/2016/06/ietf-yang-modules-statistiques/
>
>             - I added:
>                 Sysrepo
>
>               * All_YANG data models from github _and_Related stats
>                 <http://www.claise.be/SysrepoYANGPageMain.html>_
>
>             - And under "YANG data models statistics
>             <http://www.claise.be/YANGPageMain.html>in the industry",
>             I added the stats as well.
>
>         This cron job works way better if I can git clone from a
>         single directory, as opposed to one per app, which I would
>         have to track. Does it make sense?
>
>         Note that the YANG module compiles fine within my environment,
>         with the latest pyang, but not with "pyang --ietf". See
>         http://www.claise.be/SysrepoYANGPageCompilation.html
>
>         Regards, Benoit
>
>             Hi Benoit,
>
>               
>
>             Oh, I forgot to mention it. It is in "dnsmasq-sysrepo" repository:https://github.com/sysrepo/dnsmasq-sysrepo/tree/master/cfg
>
>               
>
>             Gyus from DT did another integration into snabb switch application:
>
>               
>
>             *Luka*, could you please point Benoit to the repository and YANG model location within the repository?
>
>               
>
>             Thanks,
>
>             Rastislav
>
>               
>
>             -----Original Message-----
>
>             From: Benoit Claise (bclaise)
>
>             Sent: Monday, June 27, 2016 5:47 PM
>
>             To: Rastislav Szabo -X (raszabo - PANTHEON TECHNOLOGIES at Cisco)<raszabo at cisco.com> <mailto:raszabo at cisco.com>;sysrepo-devel at sysrepo.org <mailto:sysrepo-devel at sysrepo.org>
>
>             Cc: Alain Fiocco (afiocco)<afiocco at cisco.com> <mailto:afiocco at cisco.com>; Benoit Claise (bclaise)<bclaise at cisco.com> <mailto:bclaise at cisco.com>
>
>             Subject: Re: [sysrepo-devel] YANG modules available anywhere?
>
>               
>
>             Thanks Rastislav,
>
>               
>
>             https://github.com/sysrepo/sysrepo/blob/master/yang/sysrepo-persistent-data.yang
>
>             is an internal YANG module.
>
>             And where are the YANG modules for the LINUX applications? For example:
>
>             the DNS forwader and DHCP server mentioned in the demo. This is where the value is in terms of exposing YANG modules and API.
>
>               
>
>             Regards, Benoit
>
>                 Let's expose and check only YANGs located inhttps://github.com/sysrepo/sysrepo/tree/master/yang  (currently onle one YANG, but we will add another soon).
>
>                   
>
>                 Others are just copied form somewhere, or completely meaningless (made-up just for testing purposes).
>
>                   
>
>                 Thanks,
>
>                 Rastislav
>
>                   
>
>                 -----Original Message-----
>
>                 From: Benoit Claise (bclaise)
>
>                 Sent: Monday, June 27, 2016 4:36 PM
>
>                 To: Rastislav Szabo -X (raszabo - PANTHEON TECHNOLOGIES at Cisco)
>
>                 <raszabo at cisco.com> <mailto:raszabo at cisco.com>;sysrepo-devel at sysrepo.org
>                 <mailto:sysrepo-devel at sysrepo.org>
>
>                 Cc: Alain Fiocco (afiocco)<afiocco at cisco.com> <mailto:afiocco at cisco.com>
>
>                 Subject: Re: [sysrepo-devel] YANG modules available anywhere?
>
>                   
>
>                 Hi Rastislav,
>
>                   
>
>                 Which ones are we supposed to expose?
>
>                 Which ones should we check for compilation warnings/errors?
>
>                   
>
>                 Regards, Benoit
>
>                     Hi Benoit,
>
>                       
>
>                     You can find the YANGs we use in our github repository:
>
>                     https://github.com/sysrepo/sysrepo/
>
>                       
>
>                     internal YANGs in /yang/ subdirectory:
>
>                     https://github.com/sysrepo/sysrepo/tree/master/yang
>
>                       
>
>                     testing YANGs in /tests/yang/ subdirectory:
>
>                     https://github.com/sysrepo/sysrepo/tree/master/tests/yang
>
>                       
>
>                     YANGs used in our example applications in /examples/yang/ subdirectory:
>
>                     https://github.com/sysrepo/sysrepo/tree/master/examples/yang
>
>                       
>
>                     Regards,
>
>                     Rastislav
>
>                       
>
>                     -----Original Message-----
>
>                     From: sysrepo-devel [mailto:sysrepo-devel-bounces at sysrepo.org] On
>
>                     Behalf Of Benoit Claise (bclaise)
>
>                     Sent: Monday, June 27, 2016 4:10 PM
>
>                     To:sysrepo-devel at sysrepo.org
>                     <mailto:sysrepo-devel at sysrepo.org>
>
>                     Cc: Alain Fiocco (afiocco)<afiocco at cisco.com> <mailto:afiocco at cisco.com>
>
>                     Subject: [sysrepo-devel] YANG modules available anywhere?
>
>                       
>
>                     Hi,
>
>                       
>
>                     Are the YANG models used in sysrepo available somewhere?
>
>                     I would like to add them to
>
>                     http://www.claise.be/2016/03/ietf-yang-modules-statistiques/
>
>                     Ideally, I would need a git repository. My cron jobs could pick them up regularly.
>
>                       
>
>                     Regards, Benoit
>
>                     _______________________________________________
>
>                     sysrepo-devel mailing list
>
>                     sysrepo-devel at sysrepo.org
>                     <mailto:sysrepo-devel at sysrepo.org>
>
>                     http://lists.sysrepo.org/listinfo/sysrepo-devel
>
>                     .
>
>                       
>
>                 .
>
>                   
>
>               
>
>             .
>
>               
>
>         .
>
>     .
>
> . 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sysrepo.org/archives/sysrepo-devel/attachments/20160707/8be5ed38/attachment.html>


More information about the sysrepo-devel mailing list