from utils.service import Service
from utils.node_manager import NodeManager
from utils.processutils import execute
+from common import config as CONFIG
@for_all_methods(log_enter_exit)
% self.undercloud_root_dir, log_true=True)
underlcloud.copy('from', dest_dir,
self.undercloud_root_dir + '/cloner-info/')
- node_yaml_path = dest_dir + '/cloner-info/node.yaml'
+ node_yaml_path = dest_dir + '/cloner-info/' + CONFIG.NODE_YAML_PATH
node_yaml = utils_yaml.read_dict_from_yaml(node_yaml_path)
for name, node in node_yaml['servers'].iteritems():
node['vNode-name'] = self.get_virtual_node_name_from_mac(