-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
77 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Config file for utility 'fetch_command_output.sh' | ||
# | ||
# This will help you to make bunch of command output files for napalm drivers unit tests | ||
# | ||
# There is not any IP, MAC or names obfuscation or anonymizations! | ||
# Before using outputs as a unit test files it is recommendet to protect | ||
# your privacy information yourself by editing output files. | ||
|
||
# Required variables | ||
# $INTERFACE - for detailed interface information | ||
# $LLDPINTERFACE - for detailed LLDP information | ||
|
||
# Define empty array of commands | ||
COMMANDS=() | ||
|
||
# This is example set of commands for napalm driver 's350' (Cisco SMB) | ||
|
||
# system info | ||
COMMANDS+=("show version") | ||
COMMANDS+=("show system") | ||
COMMANDS+=("show inventory") | ||
|
||
# config commands | ||
COMMANDS+=("show startup-config") | ||
COMMANDS+=("show running-config") | ||
COMMANDS+=("show running-config detailed") | ||
|
||
# interface commands | ||
COMMANDS+=("show interfaces status") | ||
COMMANDS+=("show interfaces description") | ||
COMMANDS+=("show interface switchport $INTERFACE") | ||
COMMANDS+=("show ports jumbo-frame") | ||
|
||
# ip commands | ||
COMMANDS+=("show hosts") | ||
COMMANDS+=("show ip interface") | ||
COMMANDS+=("show ipv6 interface brief") | ||
COMMANDS+=("show arp") | ||
|
||
# lldp commands | ||
COMMANDS+=("show lldp neighbors") | ||
COMMANDS+=("show lldp local $LLDPINTERFACE") | ||
COMMANDS+=("show lldp neighbors $LLDPINTERFACE") | ||
|
||
# ntp commands | ||
COMMANDS+=("show sntp status") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters