Config searches using ogconfig-cli
Simple config
searches can be performed from inside ogconfig-cli
with the find command.
Note:The element being searched must be a list, otherwise the command returns an error.
The syntax is:
find <path of list to search> <element to search for> <value to search for>
For example, to find enabled users use:
ogcfg > find users enabled true
Or to find the enabled ports on a particular node set:
ogcfg> find nodes[0].ports mode 'ConsoleServer'