noc.cm.facts.interface

Module Contents

noc.cm.facts.interface.logger
class noc.cm.facts.interface.Interface(name, description=None, admin_status=False, speed='auto', duplex='auto', protocols=None, profile=None, type=None, mac=None, default_name=None, aggregated_interface=None, **kwargs)

Bases: noc.cm.facts.base.BaseFact

ATTRS = ['name', 'description', 'admin_status', 'speed', 'duplex', '[protocols]', 'profile', 'type', 'mac', 'default_name', 'aggregated_interface']
ID = ['name']
description
admin_status
has_description
speed
duplex
protocols
profile
type
mac
default_name
aggregated_interface
__str__(self)
add_protocol(self, protocol)
remove_protocol(self, protocol)
bind(self)