Skip to content
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

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

ganeshrn
Copy link
Member

@ganeshrn ganeshrn commented Oct 4, 2018

  • Add task for rescue function
  • Update rescue function doc

* Add task for rescue function
* Update rescue function doc
@ganeshrn
Copy link
Member Author

ganeshrn commented Oct 4, 2018

Related PR ansible-network/juniper_junos#7

@@ -0,0 +1,89 @@
# Save and Load rescue configuration into device
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants