¡@

Home 

OpenStack Study: __init__.py

OpenStack Index

**** CubicPower OpenStack Study ****

def should_run(active_plugins, migrate_plugins):

    if '*' in migrate_plugins:

        return True

    else:

        if (CISCO_PLUGIN not in migrate_plugins and

                OVS_PLUGIN in migrate_plugins):

            migrate_plugins.append(CISCO_PLUGIN)

        return set(active_plugins) & set(migrate_plugins)