yang, ripd, ripngd: fix annotate statements

Add missing annotate-statement for the 'instance' list.

Signed-off-by: Ruslan Babayev <ruslan@babayev.com>
This commit is contained in:
Ruslan Babayev 2021-10-17 22:17:04 -07:00
parent 688c536fb3
commit 084dfdc03c
2 changed files with 8 additions and 4 deletions

View File

@ -11,8 +11,10 @@ module confd.frr-ripd {
tailf:annotate-module "frr-ripd" { tailf:annotate-module "frr-ripd" {
tailf:annotate-statement "container[name='ripd']" { tailf:annotate-statement "container[name='ripd']" {
tailf:annotate-statement "container[name='state']" { tailf:annotate-statement "list[name='instance']" {
tailf:callpoint "state"; tailf:annotate-statement "container[name='state']" {
tailf:callpoint "state";
}
} }
} }
tailf:annotate-statement "rpc[name='clear-rip-route']" { tailf:annotate-statement "rpc[name='clear-rip-route']" {

View File

@ -11,8 +11,10 @@ module confd.frr-ripngd {
tailf:annotate-module "frr-ripngd" { tailf:annotate-module "frr-ripngd" {
tailf:annotate-statement "container[name='ripngd']" { tailf:annotate-statement "container[name='ripngd']" {
tailf:annotate-statement "container[name='state']" { tailf:annotate-statement "list[name='instance']" {
tailf:callpoint "state"; tailf:annotate-statement "container[name='state']" {
tailf:callpoint "state";
}
} }
} }
tailf:annotate-statement "rpc[name='clear-ripng-route']" { tailf:annotate-statement "rpc[name='clear-ripng-route']" {