We've 3 downstream patches for procd which were cherry-picking since 19.07
releases and this commit rebases them onto the procd from OpenWrt 24.10.
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Development on next prplOS release 4.0.0 started, so lets mark the
version accordingly.
References: PCF-1574
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
It is not possible to reconfigure views and interfaces without restarting Unbound. Restarting is something time consuming and we want to avoid this as much as possible. (also we lose the cache and other information learned)
To make it possible to add/remove views and interfaces without restarting we extend UnboundControl with the following cmd arguments:
* "interface <interface name>,<int position>": start listening on interface, pos is either 0 (insert at beginning) or another position to insert it at in the list of interfaces
* "interface_remove <interface name>": stop listening on interface
* "view <view name>,<view-first: yes or no>": add a view
* "view_remove <view name>": remove a view
Reference: PCF-1057
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
Integrates :
b63e429: ("Issue: PPW-273 [tr181-time] Cannot set parameters in Device.Time. over CWMP", 2025-02-13)
0028277 ("time-manager: add ip version support for client instances", 2024-12-19)
Refernces: PPW-273
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
Integrates:
4b3730:PPW-270 Cannot set parameters in Device.DeviceInfo.LogRotate.{i}. over CWMP
References: PPW-269
Signed-off-by: ahmed sassi <ahmed.sassi_ext@softathome.com>
This package includes scripts to:
a) create the lcm partition on the freedom board (to be run manually)
b) mount the lcm partition to /lcm if it exists
This is a temporary workaround, since the freedom board is not (yet) compliant with standard prpl flash layout.
References: PCF-1041
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
Integrates:
- 273e47c: ("Add a module to handle reboots caused by watchdog (PCF-1350)", 2025-01-14)
References: PCF-1350
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
* Enabled reboot reason on OSPv2
* updated uboot branch from u-boot-2022.01_prpl_4.0.254 to u-boot-2022.01_updk
* Done changes in Packet processing driver to fix CDRouter: Verify L2TP over IPSEC session passes through router test fails
issue.
Implements: PCF-1540
Implements: PCF-971
Signed-off-by: K N Monish Kumar <knkumar@maxlinear.com>
disabled eth0_5 port, OSPv2 board has only three 2.5GE (eth0_2, eth0_3, eth0_4)
ports, the eth0_5 is the fourth 2.5GE port and is not exposed to the user.
hence removed eth0_5 entries from cram tests 010-network.t and 020-bridging-guest.t
for mxl_x86_osp_tb341_v2 platform.
Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
With the Device Tree Blob Overlay (DTBO) method, generating a single fullimage
that includes both ETH & PON configurations and using Uboot variable 'wantype'
the ETH & PON WAN configurations can be switched.
CONFIG_PACKAGE_uboot-octopus-urx641-p34x-phy-emmc-prpl_overlay needs to
be enabled for single ETH and PON WAN image support, Currently it is
disabled by default. Hence by default single fullimage is not generated.
If CONFIG_PACKAGE_uboot-octopus-urx641-p34x-phy-emmc-prpl_overlay is
enabled for single ETH and PON WAN image support then U-Boot file needs to be
flashed from
bin/targets/intel_x86/lgm/uboot-octopus-urx641-p34x-phy-emmc-prpl_overlay/u-boot-plus-spl-emmc.bin
and image needs to be flashed from
bin/targets/intel_x86/lgm/overlay-images/prplos-intel_x86-lgm-PRPL_OSP_TB341_v2-osp_tb341_v2_wav700_eth_fullimage_ov.img
For more details on how to build single image, flash on OSPv2 board and
switch WAN mode from ETH to PON and PON to ETH,
please refer https://gitlab.com/prpl-foundation/prplos/prplos/-/wikis/MaxLinear-Open-Service-Platform/OSPv2
OSPv2 board has only three 2.5GE (eth0_2, eth0_3, eth0_4)
ports, the eth0_5 is the fourth 2.5GE port and is not exposed to the user.
Hence disabling eth0_5 port for OSPv2.
Fixes PCF-1465
Signed-off-by: Bhavesh Bharadiya <bnbharadiya@maxlinear.com>
This package is imported from the openwrt packages feed (master branch) at commit c591f69b9bdd1bf42fe6dd075c260a2c34032464 (expat: bump to 2.7.1 to fix several CVEs)
This version fixes several CVEs compared to the current version (v2.5.0):
CVE-2024-45490
CVE-2024-45491
CVE-2024-45492
CVE-2024-28757
CVE-2023-52426
CVE-2023-52425
Upstream-Status: Submitted [https://github.com/openwrt/packages/pull/26159]
References: PPW-235
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
The I/O expander TCA6416A has been configured in the DTS.
References: PCF-1123
Signed-off-by: CheWei Chien <chewei.chien@wnc.com.tw>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [adapt tests]
Currently the default CI job timeout is set to 2 hours globally in
GitLab.com settings, which is quite a lot for most of the runtime
testing jobs.
Sometimes we get testing issues, which means that the testbed is
blocked unnecessarily for 2 hours.
To improve the situation, we define lower, job-specific timeouts:
* cram to 30 min
* CDRouter default 40 min, Wireless 15 min, UPnP 70 min, Certification 2h
This change ensures that jobs will fail faster and resources can be
freed up in a timely manner.
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Currently we're seeing a bit confusing workflow, where merge requests
with failed (red) CI pipeline are being merged. This is caused by the
fact, that sometimes we run additional tests on CI testing platforms
like Haze/Turris, which are not properly maintained due to limited
resources, so it takes a bit more time to fix those CI tests.
Sometimes we run test cases which are work in progress, like the prpl
Certification or pending fixes delivery like UPnP. It doesn't mean, that
there is necessarily something wrong with the contribution under the
test.
We're just making sure, that no new regressions are being introduced or
for example, when adding new tests, that they're generic enough and
works across the boards.
So lets improve the situation and mark such test cases as allowed to
fail, so once we use them in the pipeline for internal testing purposes,
their result doesn't influence the resulting pipeline status and thus we
would be merging contributions with possibly only OK (green) CI
pipeline.
Suggested-by: Frederik Van Bogaert <frederik.vanbogaert@prplfoundation.org>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Currently we're experiencing test failures of prpl_h-api-cwmp.2.5
CDRouter test caused by 503 errors being returned by cwmpd. This is
happening as the default rate limits are low for this test case.
So lets add the DUT init script, which will increase the default
settings to following values:
ManagementServer.X_PRPL-COM_FreqConnectionRequest=60
ManagementServer.X_PRPL-COM_MaxConnectionRequest=10000
So basically allowing 10k requests in 60 seconds.
References: PCF-1611
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
Currently we've only "prplOS Test Plan for prpl devices" included in the
prpl-Certification package, but we need as well "prpl High-Level API
Tests" (USP) and "prpl High-Level API Tests for CWMP" as we need to make
sure, that prplWare is usable via both USP and CWMP protocols.
So lets add those currently missing test cases:
* prpl High-Level API Tests (USP)
* prpl_hl-api.1.1 - Profile GetSupportedDM
* prpl_hl-api.1.2 - Profile Parameters Write
* prpl_hl-api.1.3 - Get
* prpl_hl-api.1.4 - Set
* prpl_hl-api.1.5 - Add and Delete
* prpl High-Level API Tests for CWMP
* prpl_hl-api-cwmp.2.1 - Profile GetParameterNames
* prpl_hl-api-cwmp.2.2 - Profile Parameters Write
* prpl_hl-api-cwmp.2.3 - Get
* prpl_hl-api-cwmp.2.4 - Set
* prpl_hl-api-cwmp.2.5 - Add and Delete
References: PCF-1611
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
This commit adds the tr181-sfp manager into the image, brings in the necessary
X_PRPLWARE-COM_SFPReference dependencies in ethernet-manager and tr181-xpon
managers. Updates the cram tests with expected changes in the datamodel and
dependencies.
Closes: PCF-1131
Signed-off-by: Nataraj Ramalingam (AT&T) <nr156g@att.com>
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org> [squash/rework commits]
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
New tr181-sfp manager is being added, so lets add a bit of QA to prevent
regressions.
References: PCF-1131
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
The DestIP in a DMZ instance should be unique. So we need to set it at creation
This change was introduced in bca8d40: ("Firewall/NAT: make datamodel tr181 v2.17 compliant", 2025-01-08)
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
Some parameters that perviously were vendor prefixed are now accepted in the v2.17 of the tr181 datamodel. The expected obuspa output should be updated accordingly
References: PCF-1491
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
After enabling the PowerStatus and registering it to USP some new output is expected
References: PCF-1202
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
After enabling powerstatus, a few new build config options are expected.
References: PCF-1741
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
After enabling the PowerStatus component, the output should be updated to include the new component
References: PCF-1741
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
After aligning the tr181-led component with the 2.19 version of tr181 data model, a few parameters need to be updated in this test as well.
References: PCF-1740
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
The addition of EEE support in Ethernet-manager brought with it a few new parameters. OBUSPA test now needs to be updated to include the new parameters.
References: PCF-1626
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
After aligning the tr181-dns datamodel with the tr181 v2.18 datamodel,
the DNS.Relay.X_PRPL-COM_Config object no longer exists:
Running .gitlab/scripts/dut-init/cdrouter-dut-flush-dns-relay-cache.sh
Command failed: Request timed out
> DNS.Relay.X_PRPL-COM_Config.[Alias=="lan"].FlushCache()
ERROR: No objects found DNS.Relay.X_PRPL-COM_Config.[Alias=="lan"].FlushCache
So lets fix it by using the current DNS.Relay.Config without the prefix.
References: PCF-1492
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
After aligning the tr181-dns datamodel with the tr181 v2.18 datamodel, some vendor prefixed parameters are no longer prefixed. The expected ubus list output should be changed accordingly
References: PCF-1492
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
After aligning the tr181-dns datamodel with the tr181 v2.18 datamodel, some vendor prefixed parameters are no longer prefixed. The expected obuspa output should be changed accordingly
References: PCF-1492
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
tr181 v2.18 added a few new parameters for tr181-dns. These changes align tr181-dns to the new version.
Integrates:
- 5c71e11: ("tr181: Changes on the data model for TR181 2.18", 2024-12-10)
References: PCF_1492
Signed-off-by: Toon Caeyers <toon.caeyers_ext@softathome.com>
Integrates:
-546f010b: ("Currently its possible to clean properly dhcp clients lan leases under the the lease file "/tmp/dhcp.leases" by using the RPC cleanClientLeases: Only the mac/macs requested will be deleted from file.", 2025-02-13)
References: PPW-403
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
Integrates:
- 51c6ee4: ("libamxo: Parser does not take into consideration a variable call (PPW-459)", 2025-02-24)
References: PPW-459
Signed-off-by: Hela Saadani <hela.saadani_ext@softathome.com>
Updated feed_target_x86 commit id to pick dtsi and PSTORE changes.
Enabled PSTORE Configs in config-default File for Built-in kernel Module
The memory region to store kernel panics are added in
lightning_mountain.dtsi which is part of UPDK_9.1.80 linux branch.
Fixes: PCF-1443
Signed-off-by: Dharani Murugan <dmurugan@maxlinear.com>
In c16f6121920259fc7d35274e507ea13c053b3872 (profiles: thread: add lrzsz for EFR32MG firmware updates)
the package lrzsz was added to the thread profile.
Tests were adapted accordingly, however the thread profile is currently only build for wnc-freedom in the CI.
So let's remove the CONFIG_PACKAGE_lrzsz=y from the expected output for all other targets.
Signed-off-by: Matthias Franck <matthias.franck@softathome.com>