Changed main example: removed translate yang and replaced testcases w table/parameter
This commit is contained in:
parent
06855f2ea7
commit
2c96cf71ea
4 changed files with 19 additions and 34 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue