Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Latest commit

 

History

History
131 lines (88 loc) · 2.22 KB

bf_set_snapshot.rst

File metadata and controls

131 lines (88 loc) · 2.22 KB

bf_set_snapshot

Set the current Batfish snapshot

  • Set the current Batfish network and snapshot.

The following software packages must be installed on hosts that execute this module:

  • pybatfish

The following options may be specified for this module:

parameter type required default comments
network
str yes
Name of the network to set as the active network.
session
dict no Value in the bf_session fact.
Batfish session object required to connect to the Batfish service.
snapshot
str yes
Name of the snapshot to set as the active snapshot. This snapshot must already exist.

# Set the current snapshot and network names
- bf_set_snapshot
    network: datacenter_sea
    snapshot: 2019-01-01
name description returned type
summary
Summary of action(s) performed.
always str


This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.