# Support of yang library

**URL:** <https://dmap-community.ductus.global/t/support-of-yang-library/1443>\
**Category:** YANG\
**Created:** [August 2, 2017, 2:25pm UTC](https://dmap-community.ductus.global/t/support-of-yang-library/1443 "2017-08-02T14:25:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Orly\_Kariv](https://avatars.discourse-cdn.com/v4/letter/o/53a042/32.png) [@Orly\_Kariv](https://dmap-community.ductus.global/u/Orly_Kariv)\
**Post date:** [August 2, 2017, 2:25pm UTC](https://dmap-community.ductus.global/t/support-of-yang-library/1443/1 "2017-08-02T14:25:43Z")

</div>

Hello,

1. Can we get some examples on yang library module, as part of YANG 1.1 support ?
2. Is it allowed to provide a list of module-sets as part of yang library ?  
For example:  
One library module for release common features  
additional library module with specific device modules (e.g. deviation files)
3. Can we place also NETCONF supported capabilities as part of the library module ?

Thanks,  
Orly

---

<div class="post-metadata">

**Author:** ![per](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@per](https://dmap-community.ductus.global/u/per)\
**Post date:** [August 2, 2017, 7:27pm UTC](https://dmap-community.ductus.global/t/support-of-yang-library/1443/2 "2017-08-02T19:27:37Z")

</div>

Assuming that you use the ietf-yang-library.fxs file shipped with ConfD, the data for it is already provided by a ConfD-internal data provider based on the loaded modules - since it is, indeed, a mandatory part of the YANG 1.1 support that ConfD provides. Try e.g. `netconf-console --get -x /modules-state`.

How you organize the contents of your YANG modules is up to you, as long as they follow the YANG spec - but I can’t see that [RFC 7895](https://tools.ietf.org/html/rfc7895) allows for any “creativity” in how the ietf-yang-library model is populated for a given set of YANG modules.

---

<div class="post-metadata">

**Author:** ![Orly\_Kariv](https://avatars.discourse-cdn.com/v4/letter/o/53a042/32.png) [@Orly\_Kariv](https://dmap-community.ductus.global/u/Orly_Kariv)\
**Post date:** [August 7, 2017, 5:45pm UTC](https://dmap-community.ductus.global/t/support-of-yang-library/1443/3 "2017-08-07T17:45:11Z")

</div>

Hi Per,

Thanks for the response.  
Can you elaborate how to use the command “netconf-console” ?

thanks,  
Orly

---

<div class="post-metadata">

**Author:** ![per](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@per](https://dmap-community.ductus.global/u/per)\
**Post date:** [August 7, 2017, 7:13pm UTC](https://dmap-community.ductus.global/t/support-of-yang-library/1443/4 "2017-08-07T19:13:01Z")

</div>

> [@Orly\_Kariv](#):
>
> Can you elaborate how to use the command “netconf-console” ?

I’m not sure what you mean - you can use it the way I wrote in the previous message. `netconf-console -h` will list other available options.

---

<div class="post-metadata">

**Author:** ![Orly\_Kariv](https://avatars.discourse-cdn.com/v4/letter/o/53a042/32.png) [@Orly\_Kariv](https://dmap-community.ductus.global/u/Orly_Kariv)\
**Post date:** [August 16, 2017, 10:17am UTC](https://dmap-community.ductus.global/t/support-of-yang-library/1443/5 "2017-08-16T10:17:24Z")

</div>

Hi Per,  
understood

thanks  
Orly
