noc.inv.models.connectiontype

Module Contents

class noc.inv.models.connectiontype.ConnectionMatcher

Bases: mongoengine.document.EmbeddedDocument

scope
protocol
json_data
__str__(self)
class noc.inv.models.connectiontype.ConnectionType

Bases: mongoengine.document.Document

Equipment vendor

meta
name
is_builtin
description
extend
genders
data
c_group
uuid
matchers
OPPOSITE_GENDER
category
json_data
__str__(self)
to_json(self)
get_json_path(self)
get_effective_data(self)

Calculate effective data :return:

get_superclasses(self)
get_subclasses(self)
get_inheritance_path(self, other)
get_by_c_group(self)
get_compatible_types(self, gender)
get_matched_scopes(self, protocols)

Returns set of matched scopes against the list of protocols :param protocols: :return:

is_matched_scope(self, scope, protocols)

Check if connection type matches scope against list of protocols :param scope: :param protocols: :return: