genieparser icon indicating copy to clipboard operation
genieparser copied to clipboard

IOSXE - show wireless client mac detail parser

Open oianson opened this issue 3 years ago • 1 comments

Hello,

I am having difficulties with the following parser, I believe this line of code https://github.com/CiscoTestAutomation/genieparser/blob/2fdf4c1278d72123a120c6f0cfca879e4f51f059/src/genie/libs/parser/iosxe/show_wireless.py#L2382 should be changed to cli_command = 'show wireless client mac {mac_address} detail'

After I make this change I'm able to get the parser running but get the following:

! handler execution failed: SchemaMissingKeyError: Missing keys: [['re_authentication_timeout_secs'], ['current_rate'], ['authentication_key_management'], ['policy_manager_state'], ['device_info'], ['session_manager', 'auth_method_status_list', 'method', 'MAB', 'sm_bend_state'], ['session_manager', 'local_policies', 'service_template', 'wlan_svc_IOSXE-D1-INETIU-WLANID-512_local (priority 254)', 'vlan_group'], ['session_manager', 'server_policies', 'output_sgt'], ['session_manager', 'resultant_policies', 'output_sgt'], ['session_manager', 'resultant_policies', 'vlan_group']]

The device output I'm using is attached show wireless client mac dca6.325d.150f detail.txt

oianson avatar Jun 15 '21 14:06 oianson

This parser looks like it needs some work. As pyATS and Genie are open sourced projects, we like to encourage community members to contribute to it. If you are willing to look into fixing this parser that would be a huge help to the project. If not I can take a look into it, however I am unable to guarantee a timeline for it to be completed.

ThomasJRyan avatar Jun 17 '21 21:06 ThomasJRyan