19 #include "NdbConfig.hpp"
21 #include <NDBT_Output.hpp>
23 #include <NdbConfig.h>
24 #include <ConfigRetriever.hpp>
25 #include <ndb_version.h>
27 #include <mgmapi_config_parameters.h>
28 #include <mgmapi_configuration.hpp>
42 if (iter.find(CFG_NODE_ID, node_id)){
43 ndbout <<
"Invalid configuration fetched, DB missing" << endl;
47 if (iter.get(CFG_NODE_HOST, hostname)){
48 ndbout <<
"Host not found" << endl;
57 unsigned type,
unsigned key, Uint32 * val){
67 if (iter.find(CFG_NODE_ID, nodeid)){
68 ndbout <<
"Invalid configuration fetched, DB missing" << endl;
73 if (iter.get(CFG_TYPE_OF_SECTION, &_type) || type != _type){
74 ndbout <<
"No such node in configuration" << endl;
78 if (iter.get(key, val)){
79 ndbout <<
"No such key: " << key <<
" in configuration" << endl;