Hi,
How to set case for any yang model that has choice using econfd_mappi [Erlang]?
Yang Model:
choice transport {
mandatory true;
case tcp {
container tcp {
leaf address {
...
We are using an intermediate model to access the data, called East model.
Please find attached the complete yang model.
Following is the mapping code.
Here get_case is hardcoded with default UDP case.
% Returning UDP as default value, refer ...
I am referring to econf_mappi:set_case. How to set case if there is no econfd_mappi:set_case ? I can use econfd_mappi:get_case for getting the case value.