Squashed commit of the following:
commit
8f2aa27901ee6785d6dcf95d7d0012b7845eabff
Author: Serhii Vlasiuk <svlasiuk@cisco.com>
Date: Thu Jul 1 15:37:26 2021 +0300
dump_config: support modules without config options in text format
static void dump_tree(const BaseConfigNode* node, const std::string& config_name)
{
+ if ( node->get_children().empty() and !node->get_parent_node() )
+ {
+ std::cout << config_name << std::endl;
+ return;
+ }
+
Parameter::Type node_type = node->get_type();
if ( node_type == Parameter::PT_TABLE )