summaryrefslogtreecommitdiffstats
path: root/yang/frr-test-module.yang
diff options
context:
space:
mode:
Diffstat (limited to 'yang/frr-test-module.yang')
-rw-r--r--yang/frr-test-module.yang17
1 files changed, 17 insertions, 0 deletions
diff --git a/yang/frr-test-module.yang b/yang/frr-test-module.yang
index 6cc60e8..dcf204a 100644
--- a/yang/frr-test-module.yang
+++ b/yang/frr-test-module.yang
@@ -80,6 +80,23 @@ module frr-test-module {
}
}
}
+ action ping {
+ input {
+ leaf data {
+ type string;
+ }
+ }
+ output {
+ leaf vrf {
+ type string;
+ }
+ // can't use the same name in input and output
+ // because of a bug in libyang < 2.1.148
+ leaf data-out {
+ type string;
+ }
+ }
+ }
}
}
choice achoice {