ConfD User Community

About get tailf:info to my application


#1

Hi everyone,
I do cli config application by erlang. I load schema my my ets application but i don’t see tailf:info in yang file. I get it to suggest variable for config. Can you help me get tailf:info from confd

Thanks


#2

I don’t think tailf:info data is available to an application, it is used only in the auto-generated CLI. You have other options for the same purpose though: you can use tailf:meta-data extension instead of tailf:info, anything you write there is accessible through schema; or if you want to keep it in the form of tailf:info, you can use a yang-processing tool (such as pyang or yanger, part of the ConfD distribution) to extract the data for later use.


#3

Thanks for your support