当前位置: 首页>>代码示例>>Python>>正文


Python upgradecheck.main方法代码示例

本文整理汇总了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()) 
开发者ID:openstack,项目名称:zun,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:octavia,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:freezer-api,代码行数:5,代码来源:status.py

示例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,
    ) 
开发者ID:openstack,项目名称:designate,代码行数:11,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:searchlight,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:magnum,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:manila,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:masakari,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:dragonflow,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:vitrage,代码行数:5,代码来源:status.py

示例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(),
    ) 
开发者ID:openstack,项目名称:cloudkitty,代码行数:8,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:tacker,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:watcher,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:barbican,代码行数:5,代码来源:status.py

示例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()) 
开发者ID:openstack,项目名称:monasca-api,代码行数:5,代码来源:status.py


注:本文中的oslo_upgradecheck.upgradecheck.main方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。