Changed main example: removed translate yang and replaced testcases w table/parameter

This commit is contained in:
Olof hagsand 2020-09-08 11:39:55 +02:00
parent 06855f2ea7
commit 2c96cf71ea
4 changed files with 19 additions and 34 deletions

View file

@ -46,20 +46,6 @@ module clixon-example {
}
}
}
/* Translation function example - See also example_cli
* XXX use table ^instead */
container translate{
description "dont have lists directly under top since restconf cant address list directly";
list translate{
key k;
leaf k{
type string;
}
leaf value{
type string;
}
}
}
/* State data (not config) for the example application*/
container state {
config false;