What is the difference between config false node without tailf:cdb-oper and config false node with tailf:cdb-oper?

Hi,

The tailf:cdb-oper statement in the examples.confd/cdb_oper/loadhist/load.yang example says:

tailf:cdb-oper {
        tailf:persistent true;
}

So the purpose of the tailf:cdb-oper statement in the example is to 1. indicate that the operational data is stored in CDB (it is stored in the CDB operational datastore even without the tailf:cdb-oper statement) 2. have the data stored persistently to survive restarts.

From the tailf_yang_extensions(5) man page:

tailf:persistent If it is set to ‘true’, the operational data is stored on disk. If set to ‘false’, the operational data is not persistent across ConfD restarts. The default is ‘false’.

1 Like