The ConfD/DMAP User Guide Chapter 11 describes “annotation” and “tag”. The descriptions here are very sparse. I want to annotate specific nodes in my YANG model, and have those annotations be visible in the XML dump of a config that can be produced using confd_load -Fp. I am not interested in annotating the nodes at runtime; only in the YANG model itself. There are two requirements.
- I should be able to traverse the running config and identify all nodes that have been annotated with a particular value
- I should be able to traverse an XML dump of the config and identify all nodes that have been annotated with a particular value
- The annotation of those nodes should be created in the YANG file
Is there a way to do this? I am not sure that the annotations/tags described in the User Guide meet these criteria.