.. _cisco.nxos.nxos_snapshot_module:
************************
cisco.nxos.nxos_snapshot
************************
**Manage snapshots of the running states of selected features.**
Version added: 1.0.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- Create snapshots of the running states of selected features, add new show commands for snapshot creation, delete and compare existing snapshots.
Parameters
----------
.. raw:: html
| Parameter |
Choices/Defaults |
Comments |
|
action
string
/ required
|
Choices:
- add
- compare
- create
- delete
- delete_all
|
Define what snapshot action the module would perform.
|
|
compare_option
string
|
Choices:
- summary
- ipv4routes
- ipv6routes
|
Snapshot options to be used when action=compare.
|
|
comparison_results_file
string
|
|
Name of the file where snapshots comparison will be stored when action=compare.
|
|
description
string
|
|
Snapshot description to be used when action=create.
|
|
element_key1
string
|
|
Specify the tags used to distinguish among row entries, to be used when action=add.
|
|
element_key2
string
|
|
Specify the tags used to distinguish among row entries, to be used when action=add.
|
|
path
string
|
Default:
"./"
|
Specify the path of the file where new created snapshot or snapshots comparison will be stored, to be used when action=create and save_snapshot_locally=true or action=compare.
|
|
row_id
string
|
|
Specifies the tag of each row entry of the show command's XML output, to be used when action=add.
|
|
save_snapshot_locally
boolean
|
|
Specify to locally store a new created snapshot, to be used when action=create.
|
|
section
string
|
|
Used to name the show command output, to be used when action=add.
|
|
show_command
string
|
|
Specify a new show command, to be used when action=add.
|
|
snapshot1
string
|
|
First snapshot to be used when action=compare.
|
|
snapshot2
string
|
|
Second snapshot to be used when action=compare.
|
|
snapshot_name
string
|
|
Snapshot name, to be used when action=create or action=delete.
|