noc.inv.models.networksegmentprofile

Module Contents

noc.inv.models.networksegmentprofile.id_lock
class noc.inv.models.networksegmentprofile.SegmentTopologySettings

Bases: mongoengine.document.EmbeddedDocument

method
handler
is_active
class noc.inv.models.networksegmentprofile.UplinkPolicySettings

Bases: mongoengine.document.EmbeddedDocument

method
is_active
class noc.inv.models.networksegmentprofile.NetworkSegmentProfile

Bases: mongoengine.document.Document

meta
name
description
discovery_interval
style
mac_restrict_to_management_vlan
management_vlan
multicast_vlan
enable_lost_redundancy
horizontal_transit_policy
autocreated_profile
topology_methods
enable_vlan
default_vlan_profile
remote_system
remote_id
bi_id
_id_cache
_bi_id_cache
__str__(self)
classmethod get_by_id(cls, id)
classmethod get_by_bi_id(cls, id)
on_save(self)
get_topology_methods(self)
is_preferable_method(self, m1, m2)

Returns True if m1 topology discovery method is preferable over m2

Yields all enabled uplinks policies in order of preference :return: