def config_mv(args):
"""[Not Supported Yet]
Relocate config DB from its current location
:return: None for success, string for error
"""
if not args.force:
return err_out(DB_REF + " move to {} ".format(args.to) +
"requires '--force' flag to execute the request.")
# TODO:
# this is pure convenience code, so it is very low priority; still, here are the steps:
# checks if target exists upfront, and fail if it does
# cp the DB instance 'to' , and flip the symlink.
# refresh service (not really needed as next vmci_command handlers will pick it up)
# need --dryrun or --confirm
# issue: works really with discovery only , as others need to find it out
printMessage(args.output_format, "Sorry, configuration move ('config mv' command) is not supported yet")
return None
vmdkops_admin.py 文件源码
python
阅读 35
收藏 0
点赞 0
评论 0
评论列表
文章目录