-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathcaptureFile.yaml
46 lines (42 loc) · 1.89 KB
/
captureFile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
####################################################################################################################################
# YAML to capture outputs from the devices in the network
#
# Steps to setup the capture file:
# Step 1 :: Specify the Capture Name (multiple captures allowed).
# Step 2 :: Under each Capture Name, specify the following:
# devices: (a list of Devices to capture the outputs from)
# - one or more IP addresses,
# - one or more hostnames or
# - specific keywords - AllE, allB and/or AllCP or a combination of the three
# - (ALLE is all edges, AllB is Borders, AllCP are all control plane devices) The case is insensitive.
# sites:
# - this filter works only if a specific keyword like Alle, allb or allcp is specified
# - filters devices from one or more sites
# commands:
# - list of commands to be executed
#
# For Example:
# cap1: <-- Define a Capture Name
# devices: 172.23.251.2,allE, Fusion-1 <-- devices can be a combination of IP addresses and/or the keywords AllE, AllB or AllCP (case insensitive)
# commands: <-- List of commands to be executed
# - show interface
# - show ver
#
####################################################################################################################################
cap1:
devices: 172.23.251.2,172.23.250.2 # devices can be a combination of IP addresses and the keywords AllE, AllB or AllCP (case insensitive)
commands:
- show interface # commands to be executed
- show ver
capALLE:
devices: ALLE
sites:
- Global/USA/sanjose1
commands:
- show ver
- show running
capALLB:
devices: AllB
commands:
- show ver
- show running