Trying to use two of the conf objects find_objects_w_child & find_objects_wo_child in a single file.
I need to find out "interfaces" from a Cisco config file which have a specific QoS "service-policy" command configured.
At the same time should not be a part of any Etherchannel.
- Using object "find_objects_w_child" I can get all 'interface' objects having the command "service-policy" configured on it, and
- Using object "find_objects_wo_child" to get all the 'interface' objects which do not have the command "channel-group".
Is it even possible to use these 2 objects on a same config file?