noc.core.etl.loader.container

Module Contents

class noc.core.etl.loader.container.ContainerLoader(*args, **kwargs)

Bases: noc.core.etl.loader.base.BaseLoader

Inventory container loader

name = container
model
fields = ['id', 'name', 'model', 'path', 'addr_id', 'lon', 'lat', 'addr_text', 'adm_contact_text', 'tech_contact_text', 'billing_contact_text']
CONTAINER_MODEL = Group
get_model(self, model)
get_container(self, path)
create_object(self, v)
change_object(self, object_id, v)