To restrict the visibility of interface to agent only using config_db

In reply to jj_bukhari:

If you are using as the 2nd argument the wildcard “", then there is no linitation for any component to retrieve the interface from the config_db.
If you are using a pathe like this "top.
.agent”, then the access is restricted to components with the name ‘agent’, independently how the hierarchical path between top and agent is.