verify empty body and/or empty yang input/output
This commit is contained in:
parent
34d7f60ca4
commit
0e09996073
5 changed files with 91 additions and 98 deletions
|
|
@ -76,7 +76,20 @@ module clixon-example {
|
|||
}
|
||||
}
|
||||
rpc empty {
|
||||
description "Smallest possible RPC with no input or output";
|
||||
description "Smallest possible RPC with no input or output sections";
|
||||
}
|
||||
rpc optional {
|
||||
description "Small RPC with optional input and output";
|
||||
input {
|
||||
leaf x {
|
||||
type string;
|
||||
}
|
||||
}
|
||||
output {
|
||||
leaf x {
|
||||
type string;
|
||||
}
|
||||
}
|
||||
}
|
||||
rpc example {
|
||||
description "Some example input/output for testing RFC7950 7.14.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue