-
Notifications
You must be signed in to change notification settings - Fork 388
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
[IOS-XE] Support of SSID with space #832
Comments
Hello , Can you please share me the outputs of two command |
Hello @ParimiNeeraja, I can first provide you the summary.
Regards, |
Thanks for providing output. |
Hello @FlavienJP , The above PR got approve from reviewers. Kindly merge the PR. |
Hello @FlavienJP , One reviewer was commented in PR. Please follow up the PR. |
Hello @FlavienJP , PR got merged. Changes will reflected in next version. |
Hello,
We are using Genie in conjonction with PyATS for testing, but we saw that Genie was unable to work with SSID that is using space within it.
We have made some changes to our local library that has corrected the genie behaviour to support this configuration.
class ShowWlanSummary(ShowWlanSummarySchema):
genieparser/src/genie/libs/parser/iosxe/show_wlan.py
Line 63 in 89d5b1c
Before :
^(?P<wlan_id>\d+)\s+(?P<profile_name>\S+)\s+(?P<ssid>\S+)\s+(?P<wlan_status>\S+)\s+(?P<status_security>.*$)
After :
^(?P<wlan_id>\d+)\s+(?P<profile_name>\S+)\s+(?P<ssid>.*?)(?:\s{2,})\s+(?P<wlan_status>\S+)\s+(?P<status_security>.*$)
class ShowWlanAllSchema(MetaParser):
genieparser/src/genie/libs/parser/iosxe/show_wlan.py
Line 140 in 89d5b1c
Before :
"radio_policy": str,
After :
Optional("radio_policy"): str,
class ShowWlanAll(ShowWlanAllSchema):
genieparser/src/genie/libs/parser/iosxe/show_wlan.py
Line 396 in 89d5b1c
Before :
p_name_ssid = re.compile(r"^Network\s+Name\s+\(SSID\)\s+:\s+(?P<value>\S+)$")
After :
p_name_ssid = re.compile(r"^Network\s+Name\s+\(SSID\)\s+:\s+(?P<value>.*)$")
The text was updated successfully, but these errors were encountered: