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

Fix XPath syntax error caught by pyang in openconfig-wifi-mac.yang #1169

Merged
merged 2 commits into from
Aug 22, 2024
Merged
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
20 changes: 13 additions & 7 deletions release/models/wifi/openconfig-wifi-mac.yang
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,18 @@ module openconfig-wifi-mac {
description
"Model for managing MAC layer configuration of Radio interfaces.";

oc-ext:openconfig-version "1.3.2";
oc-ext:openconfig-version "1.3.3";

revision "2024-08-22" {
description "Fix XPath expression to avoid pyang error";
reference "1.3.3";
}

revision "2024-08-07" {
description
"Add transition modes ENHANCED_OPEN_TRANSITION, WPA3_2_SAE_TRANSITION and
WPA3_2_ENTERPRISE_TRANSITION";
reference "1.3.2";
}

revision "2023-05-26" {
Expand Down Expand Up @@ -306,7 +312,7 @@ module openconfig-wifi-mac {

leaf wpa3-psk {
when "../opmode = 'WPA3_SAE' or
../opemode = 'WPA3_2_SAE_TRANSITION";
../opmode = 'WPA3_2_SAE_TRANSITION'";
type string {
length "8..63";
}
Expand All @@ -318,7 +324,7 @@ module openconfig-wifi-mac {
when "../opmode = 'WPA2_ENTERPRISE' or
../opmode = 'WPA2_PERSONAL' or
../opmode = 'WPA3_ENTERPRISE' or
../opmode = 'WPA3_2_ENTERPRISE_TRANSITION
../opmode = 'WPA3_2_ENTERPRISE_TRANSITION' or
../opmode = 'WPA3_ENTERPRISE_192_BIT' or
../opmode = 'WPA3_SAE' or
../opmode = 'WPA3_2_SAE_TRANSITION'";
Expand Down Expand Up @@ -392,12 +398,12 @@ module openconfig-wifi-mac {

leaf mfp {
when "../opmode = 'WPA3_ENTERPRISE' or
../opmode = 'WPA3_2_ENTERPRISE_TRANSITION
../opmode = 'WPA3_2_ENTERPRISE_TRANSITION' or
../opmode = 'WPA3_ENTERPRISE_192_BIT' or
../opmode = 'WPA3_SAE' or
../opmode = 'WPA3_2_SAE_TRANSITION
../opmode = 'ENHANCED_OPEN'
../opmode = 'ENHANCED_OPEN_TRANSITION
../opmode = 'WPA3_2_SAE_TRANSITION' or
../opmode = 'ENHANCED_OPEN' or
../opmode = 'ENHANCED_OPEN_TRANSITION'
";
type boolean;
mandatory true;
Expand Down
Loading