Is it possible to add a default variable in yang binding objects generated


Hi Team


Is there a way to add a variable called “message-id” in all the DataObjects by default that are generated from the yang definitions?

without defining it in the yang constructs container/list etc...



We have two clients, say C1, C2 writing a DataObject D1 to Configurational Data Store to which a DTCL X is registered, if there are any failures while processing onDataTreeChange event, DTCL wants to notify it to its actual client, C1 or C2 not both.


So, we wanted to follow the NETCONF RPC “message-id” concept to identify the right client.


Can you please let us know the possibilities?