noc.sa.models.administrativedomain

Module Contents

noc.sa.models.administrativedomain.id_lock
noc.sa.models.administrativedomain._path_cache
class noc.sa.models.administrativedomain.AdministrativeDomain

Bases: noc.core.model.base.NOCModel

Administrative Domain

class Meta

Bases: object

verbose_name
verbose_name_plural
db_table = sa_administrativedomain
app_label = sa
ordering = ['name']
name
parent
description
default_pool
remote_system
remote_id
bi_id
tags
_id_cache
_bi_id_cache
_nested_cache
has_children
__str__(self)
classmethod get_by_id(cls, id)
classmethod get_by_bi_id(cls, id)
iter_changed_datastream(self, changed_fields=None)
get_path(self)

Returns list of parent administrative domain ids :return:

get_default_pool(self)
get_nested(self)

Returns list of nested administrative domains :return:

classmethod get_nested_ids(cls, administrative_domain)