Hello!
In my opinion, we should force the users to use the varlink format. In
order to do this, when implementing the schema constants getters we
can convert them to the varlink format. What do you think? Thanks!
On Mon, May 18, 2020 at 10:29 PM Arunagirinadan Sudharshan
<sudhan97(a)fedoraproject.org> wrote:
Hi,
I have been working on varlink implementation and there is issue. Nmstate schema uses
hyphen for key values but varlink doesn’t support hyphen instead they recommend to use
underscore.
I have implemented functions convert to nmstate schema format to varlink format and
vise-versa for operations but when passing data via varlink it should be in varlink
supported format. Should I change the schema to match varlink format or leave it?
Nmstate schema format output
{dns-resolver': {'config': { 'server': [], 'search': []
} }
Varlink format output
{'dns_resolver': {'config': {'search': [], 'server':
[] } }
_______________________________________________
nmstate-devel mailing list -- nmstate-devel(a)lists.fedorahosted.org
To unsubscribe send an email to nmstate-devel-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/nmstate-devel@lists.fedoraho...