prplos/.gitlab/tests/cram/generic/ubus-datamodel-list-cellular.t
Christian Marangi 33977c34b3 profiles: add Airoha/Nokia profile
Add Airoha/Nokia profile for the Valyrian board. Required packages
are imported from the feed-airoha repository.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Peter Steinhaeuser <ps@embedd.com>
2026-07-01 15:11:24 +01:00

36 lines
1.2 KiB
Perl

Create R alias:
$ alias R="${CRAM_REMOTE_COMMAND:-}"
If test is running on a Valyrian, Mozart, Turris, OSPv1 or Haze, lets skip the test as there is no Cellular support:
$ if echo "$CI_JOB_NAME" | grep -q -E "(Valyrian|Mozart|Turris|Haze|HDK-3)"; then exit 80; fi
Check that ubus has expected Cellular datamodels available:
$ R "ubus list | grep -e '^Cellular' -e 'Device.Cellular' -e 'Device.SessionManagement' -e 'Device.TrustedElements' -e '^SessionManagement' -e '^TrustedElements' | grep -v -e '\.[[:digit:]]'"
Cellular
Cellular.AccessPoint
Cellular.Interface
Cellular.Interface.SMS.Incoming
Cellular.Interface.SMS.Message
Cellular.Interface.SMS.Outgoing
Cellular.Interface.SMS.Storage
Device.Cellular
Device.SessionManagement
Device.TrustedElements
SessionManagement
SessionManagement.PDN
SessionManagement.PDP
SessionManagement.PDU
SessionManagement.PDU.NetworkSlice
SessionManagement.PDU.QoSFlow
SessionManagement.PDU.QoSRule
SessionManagement.PDU.QoSRule.Filter
SessionManagement.Session
SessionManagement.Session.IPv4Address
SessionManagement.Session.IPv6Address
SessionManagement.Session.PCO
TrustedElements
TrustedElements.SIM
TrustedElements.SIM.Profile