Skip to content

Commit

Permalink
Merge pull request #201 from jmcgill298/procurve_show_vlans
Browse files Browse the repository at this point in the history
Procurve show vlans
  • Loading branch information
itdependsnetworks authored May 14, 2018
2 parents 720874a + 9c6df74 commit caebac2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/hp_procurve_show_vlans.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Value VLAN_ID (\d+)
Value NAME ([\S+\s+].*(?=\|))
Value NAME (.*?)
Value STATUS (\S+)
Value VOICE (Yes|No)
Value JUMBO (Yes|No)
Expand All @@ -8,4 +8,6 @@ Start
^.*VLAN ID -> VLAN

VLAN
^\s+${VLAN_ID}\s+${NAME}\s+\|?\s?${STATUS}\s+${VOICE}\s+${JUMBO}? -> Record
^\s+${VLAN_ID}\s+${NAME}\s+(\|\s+|)${STATUS}\s+${VOICE}(\s+${JUMBO}|)\s*$$ -> Record
^\s+-+\s+-+\s+(\+\s+|)-+\s+-+(\s+-+|)\s*$$
^.*$$ -> Error

0 comments on commit caebac2

Please sign in to comment.