-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Template: Procurve show int brief (#829)
- Loading branch information
Showing
6 changed files
with
805 additions
and
0 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,30 @@ | ||
Value PORT (\S+) | ||
Value TYPE (\S*) | ||
Value INTRUSION_ALERT (Yes|No) | ||
Value ENABLED (Yes|No) | ||
Value STATUS (Up|Down) | ||
Value MODE (\S+) | ||
Value MDI_MODE (MDI\S*|Auto) | ||
Value FLOW_CTRL (on|off) | ||
Value BCAST_LIMIT (\d+) | ||
|
||
Start | ||
^\s+Status.*Status\s* | ||
^\s*$$ | ||
^\s+\|\s+Intrusion\s+MDI\s+Flow(?:\s+Bcast)?\s*$$ | ||
^\s+Port\s+Type\s+\|\s+Alert\s+Enabled\s+Status\s+Mode\s+Mode\s+Ctrl\s*$$ -> showintbrief1 | ||
^\s+Port\s+Type\s+\|\s+Alert\s+Enabled\s+Status\s+Mode\s+Mode\s+Ctrl\s+Limit\s*$$ -> showintbrief2 | ||
^. -> Error | ||
|
||
showintbrief1 | ||
^\s+${PORT}\s+${TYPE}\s+\|\s+${INTRUSION_ALERT}\s+${ENABLED}\s+${STATUS}\s+${MODE}\s+(?:${MDI_MODE}\s+)?${FLOW_CTRL}\s*$$ -> Record | ||
^\s*-+(?:\s|-|\+)+$$ | ||
^\s*$$ | ||
^. -> Error | ||
|
||
showintbrief2 | ||
^\s+${PORT}\s+${TYPE}\s+\|\s+${INTRUSION_ALERT}\s+${ENABLED}\s+${STATUS}\s+${MODE}\s+(?:${MDI_MODE}\s+)?${FLOW_CTRL}\s+${BCAST_LIMIT}\s*$$ -> Record | ||
^\s*-+(?:\s|-|\+)+$$ | ||
^\s*$$ | ||
^. -> Error | ||
|
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
57 changes: 57 additions & 0 deletions
57
tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw
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,57 @@ | ||
Status and Counters - Port Status | ||
|
||
| Intrusion MDI Flow | ||
Port Type | Alert Enabled Status Mode Mode Ctrl | ||
----- ---------- + --------- ------- ------ ---------- ---- ---- | ||
1 10/100TX | No Yes Up 100FDx MDIX off | ||
2 10/100TX | No Yes Down 10FDx MDI off | ||
3 10/100TX | Yes Yes Down 10FDx MDI off | ||
4 10/100TX | No Yes Down 10FDx MDIX off | ||
5 10/100TX | No No Down 10FDx MDI off | ||
6 10/100TX | No Yes Down 10FDx MDI on | ||
7 10/100TX | No Yes Down 10FDx MDI off | ||
8 10/100TX | No Yes Down 10FDx MDI off | ||
9 10/100TX | No Yes Down 10FDx MDIX off | ||
10 10/100TX | No Yes Down 10FDx MDIX off | ||
11 10/100TX | No Yes Down 10FDx MDI off | ||
12 10/100TX | No Yes Down 10FDx MDI off | ||
13 10/100TX | No Yes Down 10FDx MDIX off | ||
14 10/100TX | No Yes Down 10FDx MDI off | ||
15 10/100TX | No Yes Down 10FDx MDIX off | ||
16 10/100TX | No Yes Down 10FDx MDIX off | ||
17 10/100TX | No Yes Down 10FDx MDI off | ||
18 10/100TX | No Yes Down 10FDx MDI off | ||
19 10/100TX | No Yes Down 10FDx MDI off | ||
20 10/100TX | No Yes Down 10FDx MDI off | ||
21 10/100TX | No Yes Down 10FDx MDIX off | ||
22 10/100TX | No Yes Down 10FDx MDIX off | ||
23 10/100TX | No Yes Down 10FDx MDI off | ||
24 10/100TX | No Yes Down 10FDx MDIX off | ||
25 10/100TX | No Yes Down 10FDx MDI off | ||
26 10/100TX | No Yes Down 10FDx MDI off | ||
27 10/100TX | No Yes Down 10FDx MDI off | ||
28 10/100TX | No Yes Down 10FDx MDIX off | ||
29 10/100TX | No Yes Down 10FDx MDIX off | ||
30 10/100TX | No Yes Down 10FDx MDI off | ||
31 10/100TX | No Yes Down 10FDx MDI off | ||
32 10/100TX | No Yes Down 10FDx MDI off | ||
33 10/100TX | No Yes Down 10FDx MDI off | ||
34 10/100TX | No Yes Down 10FDx MDIX off | ||
35 10/100TX | No Yes Down 10FDx MDIX off | ||
36 10/100TX | No Yes Down 10FDx MDI off | ||
37 10/100TX | No Yes Down 10FDx MDI off | ||
38 10/100TX | No Yes Down 10FDx MDI off | ||
39 10/100TX | No Yes Down 10FDx MDI off | ||
40 10/100TX | No Yes Down 10FDx MDIX off | ||
41 10/100TX | No Yes Down 10FDx MDIX off | ||
42 10/100TX | No Yes Down 10FDx MDI off | ||
43 10/100TX | No Yes Down 10FDx MDIX off | ||
44 10/100TX | No Yes Down 10FDx MDI off | ||
45 10/100TX | No Yes Down 10FDx MDIX off | ||
46 10/100TX | No Yes Down 10FDx MDIX off | ||
47 10/100TX | No Yes Down 10FDx MDI off | ||
48 10/100TX | No Yes Down 10FDx MDIX off | ||
49 100/1000T | No Yes Down 1000FDx MDIX off | ||
50 100/1000T | No Yes Down 1000FDx MDI off | ||
51 | No Yes Down . off | ||
52 | No Yes Down . off |
Oops, something went wrong.