-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #454 from ktbyers/develop
Release 1.4.0
- Loading branch information
Showing
24 changed files
with
303 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from netmiko.checkpoint.checkpoint_gaia_ssh import CheckPointGaiaSSH | ||
|
||
__all__ = ['CheckPointGaiaSSH'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
from __future__ import unicode_literals | ||
from netmiko.base_connection import BaseConnection | ||
|
||
|
||
class CheckPointGaiaSSH(BaseConnection): | ||
""" | ||
Implements methods for communicating with Check Point Gaia | ||
firewalls. | ||
""" | ||
def session_preparation(self): | ||
""" | ||
Prepare the session after the connection has been established. | ||
Set the base prompt for interaction ('>'). | ||
""" | ||
self._test_channel_read() | ||
self.set_base_prompt() | ||
self.disable_paging(command="set clienv rows 0\n") | ||
|
||
def config_mode(self, config_command=''): | ||
"""No config mode for Check Point devices.""" | ||
return '' | ||
|
||
def exit_config_mode(self, exit_config=''): | ||
"""No config mode for Check Point devices.""" | ||
return '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.