Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for avaya_ers_show_mlt_all-members command #202

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions templates/avaya_ers_show_mlt_all-members.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Value Required MLTID (\d+)
Value MLTNAME (.*?)
Value MLTACTIVEMEMBERS (\S+?)
Value MLTINACTIVEMEMBERS (\S+?)
Value MLTBPDU (\S+?)
Value MLTMODE (\S+?)
Value MLTSTATUS (Enabled|Disabled)
Value MLTTYPE (Access|Trunk|)
Value MLTLACPKEY (\S+|)

Start
^Id:\s+\d+\s*$$ -> Continue.Record
^Id:\s*${MLTID}\s*$$
^\s+Name:${MLTNAME}\s*$$
^\s+Active Members:\s${MLTACTIVEMEMBERS}\s*$$
^\s+Inactive Members:\s${MLTINACTIVEMEMBERS}\s*$$
^\s+Bpdu:\s${MLTBPDU}\s*$$
^\s+Mode:\s${MLTMODE}\s*$$
^\s+Status:\s${MLTSTATUS}\s*$$
^\s+Type:\s${MLTTYPE}\s*$$
^\s+LACP key:\s${MLTLACPKEY}\s*$$
^.*$$ -> Error
1 change: 1 addition & 0 deletions templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ aruba_os_show_ipv6_interface_brief.template, .*, aruba_os, sh[[ow]] ipv6 in[[ter
aruba_os_show_ip_interface_brief.template, .*, aruba_os, sh[[ow]] ip in[[terface]] b[[rief]]

avaya_ers_show_mac-address-table.template, .*, avaya_ers, sh[[ow]] mac-a[[ddress-table]]
avaya_ers_show_mlt_all-members.template, .*, avaya_ers, sh[[ow]] ml[[t]] a[[ll-members]]
avaya_ers_show_interface_name.template, .*, avaya_ers, sh[[ow]] in[[terfaces]] n[[ames]]
avaya_ers_show_sys-info.template, .*, avaya_ers, sh[[ow]] sys-[[info]]
avaya_ers_show_vlan.template, .*, avaya_ers, sh[[ow]] vlan
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,322 @@
---
parsed_sample:

- mltid: '1'
mltname: 'Trunk #1'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '2'
mltname: 'Trunk #2'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '3'
mltname: 'Trunk #3'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '4'
mltname: 'Trunk #4'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '5'
mltname: 'Trunk #5'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '6'
mltname: 'Trunk #6'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '7'
mltname: 'Trunk #7'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '8'
mltname: 'Trunk #8'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '9'
mltname: 'Trunk #9'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '10'
mltname: 'Trunk #10'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '11'
mltname: 'Trunk #11'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '12'
mltname: 'Trunk #12'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '13'
mltname: 'Trunk #13'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '14'
mltname: 'Trunk #14'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '15'
mltname: 'Trunk #15'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '16'
mltname: 'Trunk #16'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '17'
mltname: 'Trunk #17'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '18'
mltname: 'Trunk #18'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '19'
mltname: 'Trunk #19'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '20'
mltname: 'Trunk #20'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '21'
mltname: 'Trunk #21'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '22'
mltname: 'Trunk #22'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '23'
mltname: 'Trunk #23'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '24'
mltname: 'Trunk #24'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '25'
mltname: 'Trunk #25'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '26'
mltname: 'Trunk #26'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '27'
mltname: 'Trunk #27'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '28'
mltname: 'Trunk #28'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '29'
mltname: 'Trunk #29'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '30'
mltname: 'Trunk #30'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '31'
mltname: 'Trunk #31'
mltactivemembers: 'NONE'
mltinactivemembers: 'NONE'
mltbpdu: 'All'
mltmode: 'Basic'
mltstatus: 'Disabled'
mlttype: ''
mltlacpkey: ''

- mltid: '32'
mltname: 'icampus lacp'
mltactivemembers: '27-28'
mltinactivemembers: 'NONE'
mltbpdu: 'Single'
mltmode: 'DynLag/Basic'
mltstatus: 'Enabled'
mlttype: 'Access'
mltlacpkey: ''
Loading