moler.cmd.juniper.configure package¶
Submodules¶
moler.cmd.juniper.configure.exit_configure module¶
Exitconfigure command module.
-
class
moler.cmd.juniper.configure.exit_configure.
ExitConfigure
(connection, prompt=None, expected_prompt='^admin@switch>', newline_chars=None, runner=None, target_newline='rn')¶ Bases:
moler.cmd.juniper.genericjuniper.GenericJuniperCommand
Configure command class.
-
build_command_string
()¶ Build command string from parameters passed to object.
Returns: String representation of command to send over connection to device.
-
on_new_line
(line, is_full_line)¶ Put your parsing code here.
Parameters: - line – Line to process, can be only part of line. New line chars are removed from line.
- is_full_line – True if line had new line chars, False otherwise
Returns: None
-
Module contents¶
Package for implementing Juniper/CONFIGURE commands.