noc.core.migration.base

Module Contents

class noc.core.migration.base.BaseMigration

Bases: object

depends_on = []
db
mongo_db
__str__(self)
add_dependency(self, name)
is_resolved(self, dependencies)

Check if all dependencies is resolved :param dependencies: Set of seen dependencies :return:

classmethod get_name(cls)
migrate(self)

Actual migration code :return: