diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml new file mode 100644 index 0000000..7b2c503 --- /dev/null +++ b/.github/workflows/pr-lint.yml @@ -0,0 +1,18 @@ +name: PR Format Check + +on: + pull_request_target: + types: [opened, edited, synchronize, reopened] + +permissions: + contents: read + issues: write + pull-requests: write + +concurrency: + group: pr-format-check-${{ github.event.pull_request.number }} + cancel-in-progress: true + +jobs: + lint: + uses: rdkcentral/build_tools_workflows/.github/workflows/pr-lint.yml@develop diff --git a/CHANGELOG.md b/CHANGELOG.md index b48d872..77a8ace 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [2.6.0](https://github.com/rdkcentral/open-virtual-switch-agent/compare/2.5.0...2.6.0) + +- RDKB-65709: In coperate XER2 Platform support in OvsAgent [`#34`](https://github.com/rdkcentral/open-virtual-switch-agent/pull/34) +- RDKB-66032 : Add PR Format Check workflow [`#33`](https://github.com/rdkcentral/open-virtual-switch-agent/pull/33) +- Merge tag '2.5.0' into develop [`602e422`](https://github.com/rdkcentral/open-virtual-switch-agent/commit/602e4220732b53d90eed51cc989da4f136c492f8) + #### [2.5.0](https://github.com/rdkcentral/open-virtual-switch-agent/compare/2.4.0...2.5.0) +> 15 June 2026 + - RDKB-64520: Add support for pseudo bridge mode [`#29`](https://github.com/rdkcentral/open-virtual-switch-agent/pull/29) +- Add changelog for release 2.5.0 [`58d990b`](https://github.com/rdkcentral/open-virtual-switch-agent/commit/58d990b7118850d8f5ba572cc776fa7d3d9aaa09) - Merge tag '2.4.0' into develop [`98f9c46`](https://github.com/rdkcentral/open-virtual-switch-agent/commit/98f9c46fe04cf1313121bb5b80ee6875bb62a529) #### [2.4.0](https://github.com/rdkcentral/open-virtual-switch-agent/compare/2.3.0...2.4.0) 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_ */ diff --git a/source/test/OvsAgent/OvsActionTest.cpp b/source/test/OvsAgent/OvsActionTest.cpp index 6701250..96b2f7a 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++) {