noc.sa.models.managedobjectprofile

Module Contents

noc.sa.models.managedobjectprofile.m_valid
noc.sa.models.managedobjectprofile.id_lock
class noc.sa.models.managedobjectprofile.ManagedObjectProfile

Bases: noc.core.model.base.NOCModel

class Meta

Bases: object

verbose_name
verbose_name_plural
db_table = sa_managedobjectprofile
app_label = sa
ordering = ['name']
name
description
level
style
shape
name_template
fqdn_suffix
address_resolution_policy
resolver_handler
enable_ping
ping_interval
ping_policy
ping_size
ping_count
ping_timeout_ms
report_ping_rtt
report_ping_attempts
weight
card
card_title_template
enable_box_discovery
box_discovery_interval
box_discovery_failed_interval
box_discovery_running_policy
box_discovery_on_system_start
box_discovery_system_start_delay
box_discovery_on_config_changed
box_discovery_config_changed_delay
enable_box_discovery_profile
enable_box_discovery_version
enable_box_discovery_caps
enable_box_discovery_interface
enable_box_discovery_id
enable_box_discovery_config
enable_box_discovery_asset
enable_box_discovery_nri
enable_box_discovery_nri_portmap
enable_box_discovery_nri_service
enable_box_discovery_vpn_interface
enable_box_discovery_vpn_mpls
enable_box_discovery_vpn_confdb
enable_box_discovery_address_interface
enable_box_discovery_address_management
enable_box_discovery_address_dhcp
enable_box_discovery_address_neighbor
enable_box_discovery_address_confdb
enable_box_discovery_prefix_interface
enable_box_discovery_prefix_neighbor
enable_box_discovery_prefix_confdb
enable_box_discovery_vlan
enable_box_discovery_bfd
enable_box_discovery_cdp
enable_box_discovery_huawei_ndp
enable_box_discovery_mikrotik_ndp
enable_box_discovery_fdp
enable_box_discovery_lldp
enable_box_discovery_oam
enable_box_discovery_rep
enable_box_discovery_stp
enable_box_discovery_udld
enable_box_discovery_lacp
enable_box_discovery_sla
enable_box_discovery_cpe
enable_box_discovery_mac
enable_box_discovery_metrics
enable_box_discovery_hk
enable_box_discovery_cpestatus
box_discovery_cpestatus_policy
enable_periodic_discovery
periodic_discovery_interval
periodic_discovery_running_policy
enable_periodic_discovery_uptime
enable_periodic_discovery_interface_status
enable_periodic_discovery_mac
enable_periodic_discovery_metrics
enable_periodic_discovery_cpestatus
periodic_discovery_cpestatus_policy
cpe_segment_policy
cpe_cooldown
cpe_profile
cpe_auth_profile
hk_handler
mac_collect_all
mac_collect_interface_profile
mac_collect_management
mac_collect_multicast
mac_collect_vcfilter
access_preference
autosegmentation_policy
autosegmentation_level_limit
autosegmentation_segment_name
remote_system
remote_id
bi_id
caps_profile
escalation_policy
box_discovery_alarm_policy
periodic_discovery_alarm_policy
box_discovery_fatal_alarm_weight
box_discovery_alarm_weight
periodic_discovery_fatal_alarm_weight
periodic_discovery_alarm_weight
box_discovery_telemetry_sample
periodic_discovery_telemetry_sample
cli_session_policy
cli_privilege_policy
event_processing_policy
syslog_archive_policy
neighbor_cache_ttl
vpn_profile_interface
vpn_profile_mpls
vpn_profile_confdb
prefix_profile_interface
prefix_profile_neighbor
prefix_profile_confdb
address_profile_interface
address_profile_management
address_profile_dhcp
address_profile_neighbor
address_profile_confdb
config_policy
config_download_storage
config_download_template
config_fetch_policy
config_mirror_storage
config_mirror_template
config_mirror_policy
config_validation_policy
object_validation_policy
interface_discovery_policy
caps_discovery_policy
vlan_discovery_policy
new_platform_creation_policy
denied_firmware_policy
beef_storage
beef_path_template
beef_policy
confdb_raw_policy
metrics
tags
_id_cache
_bi_id_cache
__str__(self)
classmethod get_by_id(cls, id)
classmethod get_by_bi_id(cls, id)
iter_changed_datastream(self, changed_fields=None)
iter_pools(self)

Iterate all pool instances covered by profile

on_save(self)
can_escalate(self, depended=False)

Check alarms on objects within profile can be escalated :return:

can_create_box_alarms(self)
can_create_periodic_alarms(self)
can_cli_session(self)
save(self, *args, **kwargs)
classmethod get_max_metrics_interval(cls, managed_object_profiles=None)
noc.sa.models.managedobjectprofile.apply_discovery_jobs(profile_id, box_changed, periodic_changed)