How to call a callpoint after the subscription ?
I have list and i want to set a value with mappi_set_elem after my subscription.
list ts {
tailf:callpoint my_callpoint {
tailf:transaction-hook node; // i want to go in this callpoint after my subscription
tailf:config "true";
}
key ts;
leaf ts {
type uint8{
range 1..31;
tailf:info "timeslot value;;[1..15,17..31]";
}
}
Didn’t see that you edited your initial post until now… So on how to handle a transaction-hook, see for example
examples.confd/snmpa/11-different-keys/hook.c