noc.sa.models.capsprofile

Module Contents

noc.sa.models.capsprofile.id_lock
class noc.sa.models.capsprofile.CapsProfile

Bases: mongoengine.document.Document

meta
name
description
enable_snmp
enable_snmp_v1
enable_snmp_v2c
enable_l2
bfd_policy
cdp_policy
fdp_policy
huawei_ndp_policy
lacp_policy
lldp_policy
oam_policy
rep_policy
stp_policy
udld_policy
enable_l3
hsrp_policy
vrrp_policy
vrrpv3_policy
bgp_policy
ospf_policy
ospfv3_policy
isis_policy
ldp_policy
rsvp_policy
L2_SECTIONS = ['bfd', 'cdp', 'fdp', 'huawei_ndp', 'lacp', 'lldp', 'oam', 'rep', 'stp', 'udld']
L3_SECTIONS = ['hsrp', 'vrrp', 'vrrpv3', 'bgp', 'ospf', 'ospfv3', 'isis', 'ldp', 'rsvp']
_id_cache
_default_cache
DEFAULT_PROFILE_NAME = default
__str__(self)
classmethod get_by_id(cls, id)
classmethod get_default_profile(cls)
get_sections(self, mop, nsp)

Returns a list of enabled sections :param mop: Managed Object Profile instance :param nsp: Network Segment Profile instance :return: List of string