def __init__(self, feature_types, namespace): BaseFrame.__init__(self, feature_types) self.metadata['namespace'] = namespace self.metadata['system_type'] = 'host'
def __init__(self, feature_types, vm): BaseFrame.__init__(self, feature_types) self.metadata.update(vm.get_metadata_dict()) self.metadata['system_type'] = 'vm'
def __init__(self, feature_types, container): BaseFrame.__init__(self, feature_types) self.metadata.update(container.get_metadata_dict()) self.metadata['system_type'] = 'container'