noc.cm.parsers.Juniper.JUNOS.base

Module Contents

class noc.cm.parsers.Juniper.JUNOS.base.BaseJUNOSParser(managed_object)

Bases: noc.cm.parsers.base.BaseParser

handlers
parse(self, config)
iter_group(self, tokens)
get_interface_defaults(self, name)
get_subinterface_fact(self, name, interface=None)
get_isis_subinterface_fact(self, name)

Get subinterface fact with default ISIS settings

get_ospf_subinterface_fact(self, name)

Get subinterface fact with default ISIS settings

get_ldp_subinterface_fact(self, name)

Get subinterface fact with default ISIS settings

on_system_host_name(self, tokens)

set groups re0 system host-name <hostname> set system host-name <hostname>

on_system_domain_name(self, tokens)

set system domain-name <name>

on_system_time_zone(self, tokens)

set system time-zone <tz>

on_system_name_server(self, tokens)

set system name-server <N>

on_system_login_user_class(self, tokens)

set system login user <user> class <class>

on_system_ntp_server(self, tokens)

set system ntp server <N>

on_interfaces_description(self, tokens)

set interfaces <N> description “<description>”

on_interface_aggregated(self, tokens)

set interfaces <N> gigether-options 802.3ad ae<N>

on_subinterface_description(self, tokens)

set interface <N> unit <M> description “<K>”

on_subinterface_vlan_id(self, tokens)

set interface <N> unit <M> vlan-id <K>

on_subinterface_iso(self, tokens)

set interface <N> unit <M> family iso

on_subinterface_mpls(self, tokens)

set interface <N> unit <M> family mpls

on_subinterface_ipv4_address(self, tokens)

set interface <N> unit <M> family inet address <K>

on_subinterface_ipv6_address(self, tokens)

set interface <N> unit <M> family inet6 address <K>

on_subinterface_ipv4_filter(self, tokens)

set interface <N> unit <M> family inet filter {input|output} <K>

on_isis_interface_ptp(self, tokens)

set protocols isis interface <N> point-to-point

on_isis_interface_metric(self, tokens)

set protocols isis interface <N> level <M> metric <K>

on_ldp_interface(self, tokens)

set protocols ldp interface <N>

on_pim_interface(self, tokens)

set protocols pim interface <N> set protocols pim interface <N> mode <sparse|dense> set protocols pim interface <N> version 2

on_static_route(self, tokens)

set routing-options static route <N> next-hop <NH> set routing-options static route <N> discard set routing-options static route <N> tag <N> set routing-options static route <N> preference <N> set routing-options static route <N> community [c1 c2 cN]

on_snmp_contact(self, tokens)

set snmp contact <N>