-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rescue function support #13
base: devel
Are you sure you want to change the base?
Conversation
ganeshrn
commented
Oct 4, 2018
- Add task for rescue function
- Update rescue function doc
* Add task for rescue function * Update rescue function doc
Related PR ansible-network/juniper_junos#7 |
@@ -0,0 +1,89 @@ | |||
# Save and Load rescue configuration into device |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- This setting indicates whether or not the to delete the rescue configuration | |
- This setting indicates whether or not to delete the rescue configuration |