From 0674dfbe6d8aae2e92880c59831e214c00e9b496 Mon Sep 17 00:00:00 2001 From: Vysakh A V Date: Thu, 25 Jun 2026 12:35:37 +0100 Subject: [PATCH 1/4] RDKB-65709: In coperate XER2 Platform support in OvsAgent Reason for change: Added XER2 platform scpecific changes in OvsAgent component to get new platform supprot availabilty. Test Procedure: This change is part of intial bringup. Able to build full stack image Board is booting up properly and OvsAgent is running Priority:P2 Signed-off-by: Vysakh A V --- source/OvsAction/ovs_action.c | 8 +++++++- source/include/OvsDataTypes.h | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/source/OvsAction/ovs_action.c b/source/OvsAction/ovs_action.c index 3226c97..2ca1a69 100644 --- a/source/OvsAction/ovs_action.c +++ b/source/OvsAction/ovs_action.c @@ -140,7 +140,8 @@ static bool is_brcm_wifi_model(int model) case OVS_SCXF11BFL_MODEL: case OVS_SR213_MODEL: case OVS_SCER11BEL_MODEL: - case OVS_WNXL11BWL_MODEL: + case OVS_WNXL11BWL_MODEL: + case OVS_AYER21BEL_MODEL: return true; default: return false; @@ -244,6 +245,11 @@ static bool SetModelNum(const char * model_num, ovs_action_config * config) config->modelNum = OVS_SCXF11BFL_MODEL; rtn = true; } + else if (strcmp(model_num, "AYER21BEL") == 0) + { + config->modelNum = OVS_AYER21BEL_MODEL; + rtn = true; + } else { config->modelNum = OVS_UNKNOWN_MODEL; diff --git a/source/include/OvsDataTypes.h b/source/include/OvsDataTypes.h index d5332e4..bbae8cb 100644 --- a/source/include/OvsDataTypes.h +++ b/source/include/OvsDataTypes.h @@ -131,7 +131,8 @@ typedef enum ovs_device_model OVS_CGA4332COM_MODEL, /** Technicolor CBR2. vinoth */ OVS_SCER11BEL_MODEL, /** Sercomm XER10 */ OVS_RPI_MODEL, /** RPI Reference Platform */ - OVS_SCXF11BFL_MODEL /** Sercomm XF10 */ + OVS_SCXF11BFL_MODEL, /** Sercomm XF10 */ + OVS_AYER21BEL_MODEL /** Arcadyan XER2 */ } OVS_DEVICE_MODEL; #endif /* OVS_DATA_TYPES_H_ */ From 38d29b0c5513837cea9164ac63a2717a5945d602 Mon Sep 17 00:00:00 2001 From: Vysakh A V Date: Mon, 20 Jul 2026 15:50:27 +0100 Subject: [PATCH 2/4] Update XER2 model in OvsAgent test module --- source/test/OvsAgent/OvsActionTest.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/test/OvsAgent/OvsActionTest.cpp b/source/test/OvsAgent/OvsActionTest.cpp index 6701250..528eeea 100644 --- a/source/test/OvsAgent/OvsActionTest.cpp +++ b/source/test/OvsAgent/OvsActionTest.cpp @@ -689,7 +689,8 @@ TEST_P(ModelNumBasedTestFixture, ovs_action_add_http_llan0_port_in_bridge_mode) INSTANTIATE_TEST_SUITE_P(PlatformSpecificOvsActionTests, ModelNumBasedTestFixture, ::testing::Values((char*)"CGM4140COM", (char*)"TG3482G", - (char*)"CGM4331COM", (char*)"CGM4981COM", (char*)"CGM601TCOM", (char*)"CWA438TCOM", (char*)"SG417DBCT")); + (char*)"CGM4331COM", (char*)"CGM4981COM", (char*)"CGM601TCOM", (char*)"CWA438TCOM", (char*)"SG417DBCT"), + (char*)"AYER21BEL"); // RDKB-35124 and RDKB-42700 // parent - br1 @@ -1230,7 +1231,8 @@ TEST_P(ModelNumBasedTestFixture, ovs_action_add_brcm_wifi_flows_test) (strcmp(expectedModel, "CGM601TCOM") == 0) || (strcmp(expectedModel, "CWA438TCOM") == 0) || (strcmp(expectedModel, "SG417DBCT") == 0) || - (strcmp(expectedModel, "CGM4981COM") == 0)) + (strcmp(expectedModel, "CGM4981COM") == 0) || + (strcmp(expectedModel, "AYER21BEL") == 0)) { for (int idx = 0; idx < sizeof(eth_types)/sizeof(eth_types[0]); idx++) { From 2bb7e9256cda255213052f087de6666548b23d0e Mon Sep 17 00:00:00 2001 From: Vysakh A V Date: Mon, 20 Jul 2026 18:05:56 +0100 Subject: [PATCH 3/4] Correct the model name in the test app --- source/test/OvsAgent/OvsActionTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/test/OvsAgent/OvsActionTest.cpp b/source/test/OvsAgent/OvsActionTest.cpp index 528eeea..8e49248 100644 --- a/source/test/OvsAgent/OvsActionTest.cpp +++ b/source/test/OvsAgent/OvsActionTest.cpp @@ -689,7 +689,7 @@ TEST_P(ModelNumBasedTestFixture, ovs_action_add_http_llan0_port_in_bridge_mode) INSTANTIATE_TEST_SUITE_P(PlatformSpecificOvsActionTests, ModelNumBasedTestFixture, ::testing::Values((char*)"CGM4140COM", (char*)"TG3482G", - (char*)"CGM4331COM", (char*)"CGM4981COM", (char*)"CGM601TCOM", (char*)"CWA438TCOM", (char*)"SG417DBCT"), + (char*)"CGM4331COM", (char*)"CGM4981COM", (char*)"CGM601TCOM", (char*)"CWA438TCOM", (char*)"SG417DBCT", (char*)"AYER21BEL"); // RDKB-35124 and RDKB-42700 From 0b87cce7013490e822f2eb7aea2a8933b011f523 Mon Sep 17 00:00:00 2001 From: Vysakh A V Date: Mon, 20 Jul 2026 18:36:02 +0100 Subject: [PATCH 4/4] Fixup the code in the OvsActionTest --- source/test/OvsAgent/OvsActionTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/test/OvsAgent/OvsActionTest.cpp b/source/test/OvsAgent/OvsActionTest.cpp index 8e49248..96b2f7a 100644 --- a/source/test/OvsAgent/OvsActionTest.cpp +++ b/source/test/OvsAgent/OvsActionTest.cpp @@ -690,7 +690,7 @@ TEST_P(ModelNumBasedTestFixture, ovs_action_add_http_llan0_port_in_bridge_mode) INSTANTIATE_TEST_SUITE_P(PlatformSpecificOvsActionTests, ModelNumBasedTestFixture, ::testing::Values((char*)"CGM4140COM", (char*)"TG3482G", (char*)"CGM4331COM", (char*)"CGM4981COM", (char*)"CGM601TCOM", (char*)"CWA438TCOM", (char*)"SG417DBCT", - (char*)"AYER21BEL"); + (char*)"AYER21BEL")); // RDKB-35124 and RDKB-42700 // parent - br1