Add rescue function support#13
Open
ganeshrn wants to merge 1 commit into
Open
Conversation
Member
ganeshrn
commented
Oct 4, 2018
- Add task for rescue function
- Update rescue function doc
* Add task for rescue function * Update rescue function doc
Member
Author
|
Related PR ansible-network/juniper_junos#7 |
samccann
reviewed
Dec 3, 2018
| @@ -0,0 +1,89 @@ | |||
| # Save and Load rescue configuration into device | |||
There was a problem hiding this comment.
Suggested change
| # Save and Load rescue configuration into device | |
| # Save and load a rescue configuration into a device |
| @@ -0,0 +1,89 @@ | |||
| # Save and Load rescue configuration into device | |||
|
|
|||
| The `config_manager/rescue` function provides a means to save a know good running configuration | |||
There was a problem hiding this comment.
Suggested change
| The `config_manager/rescue` function provides a means to save a know good running configuration | |
| The `config_manager/rescue` function provides a means to save a known good running configuration |
| # Save and Load rescue configuration into device | ||
|
|
||
| The `config_manager/rescue` function provides a means to save a know good running configuration | ||
| as a rescue configuration and rollback the current device configuration to rescue configuration |
There was a problem hiding this comment.
Suggested change
| as a rescue configuration and rollback the current device configuration to rescue configuration | |
| as a rescue configuration and rollback the current device configuration to the rescue configuration |
|
|
||
| The `rescue` function provides some configurable options when rescuing the | ||
| configuration on the remote device. See the `How to use this function` | ||
| section for different example of how to rescue configuration on network devices. |
There was a problem hiding this comment.
Suggested change
| section for different example of how to rescue configuration on network devices. | |
| section for different examples of how to rescue configuration on network devices. |
| ## How to save a rescue configuration checkpoint | ||
|
|
||
| Below is an example of how to call the `config_manager/rescue` function to mark the | ||
| current running configuration as rescue config. |
There was a problem hiding this comment.
Suggested change
| current running configuration as rescue config. | |
| current running configuration as the rescue configuration. |
| value `config_manager_load_rescue_config: yes` to the playbook to indicate that the configuration should | ||
| be rollbacked to te the resuce configuration. | ||
|
|
||
| Note: Take caution when doing rescue configuration load that you do not |
There was a problem hiding this comment.
Suggested change
| Note: Take caution when doing rescue configuration load that you do not | |
| Note: Take caution when loading the rescue configuration so that you do not |
|
|
||
| ### config_manager_set_rescue | ||
|
|
||
| This setting indicates whether or not the to set the current running |
There was a problem hiding this comment.
Suggested change
| This setting indicates whether or not the to set the current running | |
| This setting indicates whether or not to set the current running |
|
|
||
| ### config_manager_delete_rescue | ||
|
|
||
| This setting indicates whether or not the to delete the rescue configuration |
There was a problem hiding this comment.
Suggested change
| This setting indicates whether or not the to delete the rescue configuration | |
| This setting indicates whether or not to delete the rescue configuration |
|
|
||
| config_manager_set_rescue: | ||
| descriptiion: | ||
| - This setting indicates whether or not the to set the current running |
There was a problem hiding this comment.
Suggested change
| - This setting indicates whether or not the to set the current running | |
| - This setting indicates whether or not to set the current running |
|
|
||
| config_manager_delete_rescue: | ||
| descriptiion: | ||
| - This setting indicates whether or not the to delete the rescue configuration |
There was a problem hiding this comment.
Suggested change
| - This setting indicates whether or not the to delete the rescue configuration | |
| - This setting indicates whether or not to delete the rescue configuration |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.