test(snmp): use the recorded show snmp-server
The #10 tests read a hand-written show snmp-server. They now read the output recorded from a ProCurve switch: as the CLI prints it, and as the REST /cli endpoint answers it, base64 with a trailing NUL byte. The trap receiver's address is replaced. The read-only preference and the no-community case put a line into, or take one out of, the recording.
This commit is contained in:
1 parent
b26584c7da
commit
03cf40de99
3 files changed
+82
-27
No files matched your search
+49
@@ -0,0 +1,49 @@
|
||||
|
||||
SNMP Communities
|
||||
|
||||
Community Name MIB View Write Access
|
||||
-------------------------------- -------- ------------
|
||||
public Operator Restricted
|
||||
|
||||
Trap Receivers
|
||||
|
||||
Link-Change Traps Enabled on Ports [All] : All
|
||||
|
||||
Traps Category Current Status
|
||||
_____________________________________ __________________
|
||||
SNMP Authentication : Extended
|
||||
Password change : Enabled
|
||||
Login failures : Enabled
|
||||
Port-Security : Enabled
|
||||
Authorization Server Contact : Enabled
|
||||
DHCP-Snooping : Enabled
|
||||
DHCPv6-Snooping Out of Resource : Enabled
|
||||
DHCPv6-Snooping Errant Replies : Enabled
|
||||
Dynamic ARP Protection : Enabled
|
||||
Dynamic IP Lockdown : Enabled
|
||||
Dynamic IPv6 Lockdown Out of Resource : Enabled
|
||||
Dynamic IPv6 Lockdown Violations : Enabled
|
||||
Startup Config change : Disabled
|
||||
Running Config Change : Disabled
|
||||
MAC address table changes : Disabled
|
||||
MAC Address Count : Disabled
|
||||
|
||||
NTP-Client : Disabled
|
||||
|
||||
Address Community Events Type Retry Timeout
|
||||
---------------------- ---------------------- -------- ------ ------- -------
|
||||
192.0.2.254 public None trap 3 15
|
||||
|
||||
|
||||
Excluded MIBs
|
||||
|
||||
|
||||
Snmp Response Pdu Source-IP Information
|
||||
|
||||
Selection Policy : rfc1517
|
||||
|
||||
Trap Pdu Source-IP Information
|
||||
|
||||
Selection Policy : rfc1517
|
||||
|
||||
|
||||
Reference in new issue
Block a user