ipmininet.router.config.sshd module¶
This module defines an sshd configuration.
-
class
ipmininet.router.config.sshd.SSHd(node: IPNode, template_lookup: mako.lookup.TemplateLookup = <mako.lookup.TemplateLookup object>, **kwargs)¶ Bases:
ipmininet.router.config.base.DaemonParameters: - 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()
-
KILL_PATTERNS= ('None -D -u0',)¶
-
NAME= 'sshd'¶
-
STARTUP_LINE_BASE= 'None -D -u0'¶
-
build()¶ Build the configuration tree for this daemon
Returns: ConfigDict-like object describing this configuration
-
dry_run¶ The startup line to use to check that the daemon is well-configured
-
set_defaults(defaults)¶ Update defaults to contain the defaults specific to this daemon
-
startup_line¶ Return the corresponding startup_line for this daemon