- Refactoring of get_common/get_list_pagination with two sub-functions

- Fixed memory leak
This commit is contained in:
Olof hagsand 2021-09-05 12:04:07 +02:00
parent caabfd464e
commit 6e316b519b
9 changed files with 156 additions and 153 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Example-social from draft-netconf-list-pagination-00.txt appendix A.1
# Assumes variable fexample is set to name of yang file
# Note inverted pattern is commented
# Note audit-logs/audit-log/outcome is changed from mandatory to default
cat <<EOF > $fexample
module example-social {
@ -281,7 +281,7 @@ cat <<EOF > $fexample
}
leaf outcome {
type boolean;
mandatory true;
default true; /* Note changed from mandatory in original */
description
"Indicate if request was permitted.";
}