本文整理汇总了Python中oslo_upgradecheck.upgradecheck.main方法的典型用法代码示例。如果您正苦于以下问题:Python upgradecheck.main方法的具体用法?Python upgradecheck.main怎么用?Python upgradecheck.main使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类oslo_upgradecheck.upgradecheck
的用法示例。
在下文中一共展示了upgradecheck.main方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
CONF, project='zun', upgrade_command=Checks())
示例2: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
CONF, project='octavia', upgrade_command=Checks())
示例3: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
cfg.CONF, project='freezer-api', upgrade_command=Checks())
示例4: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
config_files = utils.find_config('designate.conf')
checker = Checks()
return upgradecheck.main(
conf=designate.conf.CONF,
project='designate',
upgrade_command=checker,
default_config_files=config_files,
)
示例5: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
cfg.CONF, project='searchlight', upgrade_command=Checks())
示例6: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
CONF, project='magnum', upgrade_command=Checks())
示例7: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
cfg.CONF, project='manila', upgrade_command=Checks())
示例8: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
CONF, project='masakari', upgrade_command=Checks())
示例9: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
cfg.CONF, project='dragonflow', upgrade_command=Checks())
示例10: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
CONF, project='vitrage', upgrade_command=Checks())
示例11: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
conf=CONF,
project='cloudkitty',
upgrade_command=CloudkittyUpgradeChecks(),
)
示例12: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
CONF, project='tacker', upgrade_command=Checks())
示例13: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
CONF, project='watcher', upgrade_command=Checks())
示例14: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
cfg.CONF, project='barbican', upgrade_command=Checks())
示例15: main
# 需要导入模块: from oslo_upgradecheck import upgradecheck [as 别名]
# 或者: from oslo_upgradecheck.upgradecheck import main [as 别名]
def main():
return upgradecheck.main(
cfg.CONF, project='monasca', upgrade_command=Checks())