-
Notifications
You must be signed in to change notification settings - Fork 20
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 #7
base: devel
Are you sure you want to change the base?
Conversation
* Rescue function add ability to mark a known running configuration as a rescue configuration and support rollback of current configuration to rescue configuration when required. * Add rescue function testcase and doc update
recheck |
@@ -0,0 +1,77 @@ | |||
# 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 the rescue configuration and rollback the current device configuration to the rescue configuration |
## 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. |
### How to load the rescue configuration | ||
|
||
The `config_manager/rescue` function also provides support to rollback the current running | ||
configuration to a rescue configuration when required |
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.
configuration to a rescue configuration when required | |
configuration to the rescue configuration when required. |
The `config_manager/rescue` function also provides support to rollback the current running | ||
configuration to a rescue configuration when required | ||
|
||
In order to load the resuce configuration, the function as before but adds the |
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.
In order to load the resuce configuration, the function as before but adds the | |
In order to load the rescue configuration, add the |
|
||
roles: | ||
- name: ansible-network.juniper_junos | ||
function: config_manager/resuce |
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.
function: config_manager/resuce | |
function: config_manager/rescue |
|
||
### 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 |
|
||
junos_config_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 |
|
||
junos_config_delete_rescue: | ||
descriptiion: | ||
- This setting indicates whether or not the to delete the rescue configuration checkpoint that is already set. |
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 checkpoint that is already set. | |
- This setting indicates whether or not to delete the rescue configuration checkpoint that is already set. |
as a rescue configuration and support rollback of current configuration
to rescue configuration when required.