Skip to content

Add rescue function support#13

Open
ganeshrn wants to merge 1 commit into
ansible-network:develfrom
ganeshrn:add_resuce
Open

Add rescue function support#13
ganeshrn wants to merge 1 commit into
ansible-network:develfrom
ganeshrn:add_resuce

Conversation

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

ganeshrn commented Oct 4, 2018

Related PR ansible-network/juniper_junos#7

Comment thread docs/rescue.md
@@ -0,0 +1,89 @@
# Save and Load rescue configuration into device
Copy link
Copy Markdown

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

Comment thread docs/rescue.md
@@ -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
Copy Markdown

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

Comment thread docs/rescue.md
# 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
Copy Markdown

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

Comment thread docs/rescue.md

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

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.

Comment thread docs/rescue.md
## 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
Copy Markdown

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.

Comment thread docs/rescue.md
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
Copy Markdown

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

Comment thread docs/rescue.md

### config_manager_set_rescue

This setting indicates whether or not the to set the current running
Copy link
Copy Markdown

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

Comment thread docs/rescue.md

### config_manager_delete_rescue

This setting indicates whether or not the to delete the rescue configuration
Copy link
Copy Markdown

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

Comment thread meta/rescue_spec.yaml

config_manager_set_rescue:
descriptiion:
- This setting indicates whether or not the to set the current running
Copy link
Copy Markdown

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

Comment thread meta/rescue_spec.yaml

config_manager_delete_rescue:
descriptiion:
- This setting indicates whether or not the to delete the rescue configuration
Copy link
Copy Markdown

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