ConfD User Community

How to generate two different CLIs from the same yang?


#1

Hi All,

We have a requirement to generate two different CLIs(as shown below) from the same yang.

For instance, say a container is added with the extension tailf:add-mode. Now, we are expecting that mode should be added to the container at certain cases and mode should not be added at the other cases.

Is this possible?

Thanks in Advance!


#2

Hi @cohult,

Can you please help on the above query!

Thanks in Advance!


#3

This looks (picture) like case for transformation (see ConfD User guide - Chapter 10).

What is meant by " should be added to the container at certain cases and mode should not be added at the other cases"? Can you describe?