def _ensure_config_dirs_exist(node_uuid):
    root_dir = get_root_dir()
    fileutils.ensure_tree(os.path.join(root_dir, node_uuid))
    fileutils.ensure_tree(os.path.join(root_dir, PXE_CFG_DIR_NAME))
Ensure that the node's and PXE configuration directories exist.
dataset/ETHPy150Open openstack/ironic/ironic/common/pxe_utils.py/_ensure_config_dirs_exist