Skip to content

Commit

Permalink
RDKB-53816 : [Revert] - Remove EnableIPoEHealthCheck DML from WanMana…
Browse files Browse the repository at this point in the history
…ger (#46)

Reason for change: Removing EnableIPoEHealthCheck DML
Test Procedure:
Updated in Jira.
Risks: none
Priority: P1
Signed-off-by: kulvendra singh <kulvendra.singh@sky.uk>
  • Loading branch information
kul2241 authored Jul 19, 2024
1 parent 93133fe commit 322fb17
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/RdkWanManager.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,12 @@
<syntax>bool</syntax>
<writable>true</writable>
</parameter>
<parameter>
<name>EnableIPoEHealthCheck</name>
<type>boolean</type>
<syntax>bool</syntax>
<writable>true</writable>
</parameter>
<parameter>
<name>EnableDHCP</name>
<type>boolean</type>
Expand Down
6 changes: 6 additions & 0 deletions config/RdkWanManager_v2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,12 @@
<syntax>bool</syntax>
<writable>true</writable>
</parameter>
<parameter>
<name>EnableIPoEHealthCheck</name>
<type>boolean</type>
<syntax>bool</syntax>
<writable>true</writable>
</parameter>
<?ifndef RBUS_BUILD_FLAG_ENABLE?>
<parameter>
<name>VlanStatus</name>
Expand Down
10 changes: 10 additions & 0 deletions source/TR-181/middle_layer_src/wanmgr_dml_iface_apis.c
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,11 @@ BOOL WanIfCfg_GetParamBoolValue(ANSC_HANDLE hInsContext, char* ParamName, BOOL*
*pBool = pWanDmlIface->VirtIfList->EnableDSLite;
ret = TRUE;
}
if (strcmp(ParamName, "EnableIPoEHealthCheck") == 0)
{
*pBool = pWanDmlIface->VirtIfList->EnableIPoE;
ret = TRUE;
}
if (strcmp(ParamName, "EnableMAPT") == 0)
{
*pBool = pWanDmlIface->VirtIfList->EnableMAPT;
Expand Down Expand Up @@ -1039,6 +1044,11 @@ BOOL WanIfCfg_SetParamBoolValue(ANSC_HANDLE hInsContext, char* ParamName, BOOL b
pWanDmlIface->VirtIfList->EnableDSLite = bValue;
ret = TRUE;
}
if (strcmp(ParamName, "EnableIPoEHealthCheck") == 0)
{
pWanDmlIface->VirtIfList->EnableIPoE = bValue;
ret = TRUE;
}
if (strcmp(ParamName, "EnableMAPT") == 0)
{
pWanDmlIface->VirtIfList->EnableMAPT = bValue;
Expand Down
10 changes: 10 additions & 0 deletions source/TR-181/middle_layer_src/wanmgr_dml_iface_v2_apis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1508,6 +1508,11 @@ BOOL WanVirtualIf_GetParamBoolValue(ANSC_HANDLE hInsContext, char* ParamName, BO
*pBool = p_VirtIf->EnableDSLite;
ret = TRUE;
}
if (strcmp(ParamName, "EnableIPoEHealthCheck") == 0)
{
*pBool = p_VirtIf->EnableIPoE;
ret = TRUE;
}
if (strcmp(ParamName, "EnableMAPT") == 0)
{
*pBool = p_VirtIf->EnableMAPT;
Expand Down Expand Up @@ -1579,6 +1584,11 @@ BOOL WanVirtualIf_SetParamBoolValue(ANSC_HANDLE hInsContext, char* ParamName, BO
p_VirtIf->EnableDSLite = bValue;
ret = TRUE;
}
if (strcmp(ParamName, "EnableIPoEHealthCheck") == 0)
{
p_VirtIf->EnableIPoE = bValue;
ret = TRUE;
}
if (strcmp(ParamName, "EnableMAPT") == 0)
{
p_VirtIf->EnableMAPT = bValue;
Expand Down

0 comments on commit 322fb17

Please sign in to comment.