Skip to content

Commit

Permalink
bgp_peers added to assurance snapshot checklist
Browse files Browse the repository at this point in the history
  • Loading branch information
alperenkose committed Oct 30, 2024
1 parent 1224205 commit d378d83
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"arp_table",
"content_version",
"session_stats",
"ip_sec_tunnels"
"ip_sec_tunnels",
"bgp_peers"
],
"selectValuesMap": null,
"sla": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def run_snapshot(
"""Runs a snapshot and saves it as a JSON file in the XSOAR system."""

if not snapshot_list:
# this is the default list while other snapshot types can be passed in the argument
snapshot_list = [
'nics',
'routes',
Expand Down Expand Up @@ -273,6 +274,9 @@ def compare_snapshots(left_snapshot, right_snapshot,
}
})

if 'bgp_peers' in snapshot_list:
snapshot_comparisons.append('bgp_peers')

return snapshot_compare.compare_snapshots(snapshot_comparisons)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ args:
- content_version
- session_stats
- ip_sec_tunnels
- bgp_peers
- description: Percentage of change in session stats that is allowed to pass the comparison.
name: session_stats_threshold
comment: Indicator layout button to create customized panos netops incidents.
Expand Down

0 comments on commit d378d83

Please sign in to comment.