ipmininet.router.config.ripng module¶
Base classes to configure a RIP daemon
-
class
ipmininet.router.config.ripng.
RIPNetwork
(domain: ipaddress.IPv6Interface)¶ Bases:
object
A class holding an RIP network properties
-
class
ipmininet.router.config.ripng.
RIPRedistributedRoute
(subtype: str, metric=1000)¶ Bases:
object
A class representing a redistributed route type in RIP
-
class
ipmininet.router.config.ripng.
RIPng
(node: IPNode, template_lookup: mako.lookup.TemplateLookup = <mako.lookup.TemplateLookup object>, **kwargs)¶ Bases:
ipmininet.router.config.zebra.QuaggaDaemon
This class provides a simple configuration for an RIP daemon. It advertizes one network per interface (the primary one), and set interfaces not facing another L3Router to passive
Parameters: - node – The node for which we build the config
- template_lookup – The TemplateLookup object of the template directory
- kwargs – Pre-set options for the daemon, see defaults()
-
DEPENDS
= (<class 'ipmininet.router.config.zebra.Zebra'>,)¶
-
KILL_PATTERNS
= ('ripngd',)¶
-
NAME
= 'ripngd'¶
-
build
()¶ Build the configuration tree for this daemon
Returns: ConfigDict-like object describing this configuration
-
static
is_active_interface
(itf) → bool¶ Return whether an interface is active or not for the RIPng daemon
-
set_defaults
(defaults)¶ Parameters: - debug – the set of debug events that should be logged (default: []).
- redistribute – set of RIPngRedistributedRoute sources (default: []).
- split_horizon – the daemon uses the split-horizon method (default: False).
- split_horizon_with_poison – the daemon uses the split-horizon. with reversed poison method. If both split_horizon_with_poison and split_horizon are set to True, RIPng will use the split-horizon with reversed poison method (default: True).
- update_timer – routing table timer value in second (default value:30).
- timeout_timer – routing information timeout timer (default value:180).
- garbage_timer – garbage collection timer (default value:120).