noc.cm.parsers.Huawei.VRP.base

Module Contents

class noc.cm.parsers.Huawei.VRP.base.BaseVRPParser(managed_object)

Bases: noc.cm.parsers.base.BaseParser

STATUSES
SERVICES
PROTOCOLS
parse(self, config)
get_interface_defaults(self, name)
get_subinterface_defaults(self)
get_user_defaults(self)
on_interface_context(self, tokens)
on_interface_shutdown(self, tokens)
on_interface_descripion(self, tokens)
on_interface_speed(self, tokens)

speed 10 undo speed 10

on_interface_duplex(self, tokens)

duplex 10

on_interface_speed_duplex(self, tokens)
on_interface_aggregate(self, tokens)
on_interface_protocols(self, tokens)

ntdp enable ndp disable stp disable undo bpdu enable

on_hostname(self, tokens)

sysname S5300_D

on_sw_version(self, tokens)

!Software Version V200R003C00SPC300

on_timezone(self, tokens)

clock timezone MSK add 03:00:00

on_snmp_location(self, tokens)
on_system_login_user_class(self, tokens)
on_logging_host(self, tokens)

info-center loghost 10.46.147.5 channel 9

on_ntp_server(self, tokens)

ntp-service unicast-server 1.1.1.1

on_system_domain_name(self, tokens)

dns domain tversvyaz.net

on_system_name_server(self, tokens)

dns server 10.10.10.10

on_vlan(self, tokens)
on_vlan_name(self, tokens)
on_storm_control(self, tokens)

multicast-suppression 1 broadcast-suppression 1

on_interface_port_security(self, tokens)

port-security enable port-security max-mac-num 6

on_interface_untagged(self, tokens)

port hybrid pvid vlan 2925 undo port hybrid vlan 1 port hybrid untagged vlan 1223 2478 port hybrid vlan 1757 untagged port hybrid vlan 1757 tagged

on_interface_tagged(self, tokens)

undo port trunk allow-pass vlan 1 port trunk allow-pass vlan 118 718 port trunk allow-pass vlan 2 to 4094 port trunk allow-pass vlan 76 90 118 123 126 165 to 169 175 to 179 621 2852 to 2854 port hybrid tagged vlan 51 90 to 91 110 118 319 333 402 419 433 524 to 527

on_subinterface_ipv4_address(self, tokens)

ip address 10.10.10.10 255.255.254.0

on_ipv4_route(self, tokens)

ip route-static 0.0.0.0 0.0.0.0 172.20.66.30 preference 30 @todo ip route-static 10.10.10.0 255.255.254.0 Vlanif7 10.10.100.1 ip route-static vpn-instance vpn1 1.1.1.1 255.255.255.255 10.10.10.10