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 #7

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

  • 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

*  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
@ganeshrn
Copy link
Member Author

ganeshrn commented Oct 9, 2018

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

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

Choose a reason for hiding this comment

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

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

Choose a reason for hiding this comment

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

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

Choose a reason for hiding this comment

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

Suggested change
function: config_manager/resuce
function: config_manager/rescue


### 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


junos_config_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


junos_config_delete_rescue:
descriptiion:
- This setting indicates whether or not the to delete the rescue configuration checkpoint that is already set.
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 checkpoint that is already set.
- This setting indicates whether or not to delete the rescue configuration checkpoint that is already set.

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