ci: cram: update 'RadioReference' paths
Problem: Some failures occur when accessing AccessPoints through 'RadioReference'. Cause: We are using radio aliases (e.g. 'WiFi.Radio.radio0_band' on Freedom) to access the corresponding AccessPoints. After the integration of PPW-298, we must instead use the TR-181 path 'Device.WiFi.Radio.1'. Solution: Update RadioReference usage in all cram scripts. References: PPW-298 Signed-off-by: Houssem Dafdouf <houssem.dafdouf_ext@softathome.com>
This commit is contained in:
parent
a1c556b56f
commit
e60ba0ee10
@ -27,11 +27,20 @@ Stop prplmesh:
|
||||
|
||||
Provisory: update Security.ModesAvailable as required by PPM-3660
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0'].Security.ModesAvailable='None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.1'].Security.ModesAvailable='None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE'\"" | grep 'ModesAvailable=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio2'].Security.ModesAvailable='None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.2'].Security.ModesAvailable='None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE'\"" | grep 'ModesAvailable=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio4'].Security.ModesAvailable='WPA3-Personal,WPA3-Personal-Compatibility,OWE'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.3'].Security.ModesAvailable='WPA3-Personal,WPA3-Personal-Compatibility,OWE'\"" | grep 'ModesAvailable=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
|
||||
Silently disable MLO:
|
||||
|
||||
|
||||
@ -246,11 +246,20 @@ Check that wireless is disabled:
|
||||
|
||||
Restore Security Mode to default values
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0'].Security.ModeEnabled='WPA2-WPA3-Personal'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.1'].Security.ModeEnabled='WPA2-WPA3-Personal'\"" | grep 'ModeEnabled=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio2'].Security.ModeEnabled='WPA2-WPA3-Personal'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.2'].Security.ModeEnabled='WPA2-WPA3-Personal'\"" | grep 'ModeEnabled=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio4'].Security.ModeEnabled='WPA3-Personal'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.3'].Security.ModeEnabled='WPA3-Personal'\"" | grep 'ModeEnabled=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA3-Personal" (re)
|
||||
|
||||
Check the default ChipsetVendor param configurations:
|
||||
|
||||
|
||||
@ -27,11 +27,20 @@ Stop prplmesh:
|
||||
|
||||
Provisory: update Security.ModesAvailable as required by PPM-3660
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band0'].Security.ModesAvailable='None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.1'].Security.ModesAvailable='None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE'\"" | grep 'ModesAvailable=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band1'].Security.ModesAvailable='None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.2'].Security.ModesAvailable='None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE'\"" | grep 'ModesAvailable=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="None,WPA2-Personal,WPA3-Personal,WPA2-WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band2'].Security.ModesAvailable='WPA3-Personal,WPA3-Personal-Compatibility,OWE'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.3'].Security.ModesAvailable='WPA3-Personal,WPA3-Personal-Compatibility,OWE'\"" | grep 'ModesAvailable=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModesAvailable="WPA3-Personal,WPA3-Personal-Compatibility,OWE" (re)
|
||||
|
||||
Silently disable MLO:
|
||||
|
||||
|
||||
@ -246,11 +246,20 @@ To disable wireless, disable instances of Network.AccessPoint{i} and call Access
|
||||
|
||||
Restore Security.ModeEnabled for AccessPoints used in the test
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band0'].Security.ModeEnabled='WPA2-WPA3-Personal'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.1'].Security.ModeEnabled='WPA2-WPA3-Personal'\"" | grep 'ModeEnabled=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band1'].Security.ModeEnabled='WPA2-WPA3-Personal'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.2'].Security.ModeEnabled='WPA2-WPA3-Personal'\"" | grep 'ModeEnabled=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band2'].Security.ModeEnabled='WPA3-Personal'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.3'].Security.ModeEnabled='WPA3-Personal'\"" | grep 'ModeEnabled=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA3-Personal" (re)
|
||||
|
||||
Check that wireless is disabled:
|
||||
|
||||
@ -280,11 +289,20 @@ Check that SSIDs did not change:
|
||||
|
||||
Restore Security Mode to default values
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band0'].Security.ModeEnabled='WPA2-WPA3-Personal'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.1'].Security.ModeEnabled='WPA2-WPA3-Personal'\"" | grep 'ModeEnabled=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band1'].Security.ModeEnabled='WPA2-WPA3-Personal'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.2'].Security.ModeEnabled='WPA2-WPA3-Personal'\"" | grep 'ModeEnabled=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA2-WPA3-Personal" (re)
|
||||
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band2'].Security.ModeEnabled='WPA3-Personal'\" > /dev/null "
|
||||
$ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'Device.WiFi.Radio.3'].Security.ModeEnabled='WPA3-Personal'\"" | grep 'ModeEnabled=' | sed '/^$/d' | grep -v '>'
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA3-Personal" (re)
|
||||
WiFi.AccessPoint.\d+.Security.ModeEnabled="WPA3-Personal" (re)
|
||||
|
||||
Check the default ChipsetVendor param configurations:
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user