We have a question about how to change the default value for Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled.


Current default value is 'false' after device bootup:

dmcli eRT getv Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
CR component name is: eRT.com.cisco.spvtg.ccsp.CR
subsystem_prefix eRT.
getv from/to component(eRT.com.cisco.spvtg.ccsp.ethagent): Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
Execution succeed.
Parameter 1 name: Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
type: bool, value: false


We trace the code and get the result below, some difference between rdkb/devices/raspberrypi/ and rdkb/devices/broadcom/

and we didn't find the key function about "AltWanEthWanInterfaceGet" in rdkb/devices/broadcom/hal/common/source/ethsw/ccsp_hal_ethsw.c


1.rdkb/devices/raspberrypi/hal/source/hal-ethsw/ccsp_hal_ethsw.c

=> INT CcspHalExtSw_getEthWanEnable(BOOLEAN *enable)

=> INT CcspHalExtSw_getEthWanPort(UINT *Port)


2.rdkb/devices/broadcom/hal/common/source/ethsw/ccsp_hal_ethsw.c

=> INT CcspHalExtSw_getEthWanEnable(BOOLEAN * pFlag)

=> INT CcspHalExtSw_setEthWanEnable(BOOLEAN Flag)


Please provide some advice for change the default for us,

thanks.


  • No labels

3 Comments

  1. HI Hsu Chih-Hao,

    Please let us know which version of rdkb release you are using and platform?

    We confirmed the default value of Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled in latest rdk-next branch is "True".Please use the below steps to pull the latest rdk-next code and confirm the default value.

    1. repo init -u https://code.rdkcentral.com/r/manifests -b rdk-next -m rdkb-extsrc.xml
    2. repo sync -j4 --no-clone-bundle
    3. source meta-cmf-raspberrypi/setup-environment

                (Select option raspberrypi-rdk-broadband.conf)

        4.bitbake rdk-generic-broadband-image


    Thanks and Regards

    Srinivas

  2. Hi,

    Thanks for the reply.

    However we can't upgrade parts of the file with different RDKB versions, that is why we ask about how to change the default value by ourselves.


    Current default value is 'false' after device bootup:

    dmcli eRT getv Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
    CR component name is: eRT.com.cisco.spvtg.ccsp.CR
    subsystem_prefix eRT.
    getv from/to component(eRT.com.cisco.spvtg.ccsp.ethagent): Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
    Execution succeed.
    Parameter 1 name: Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
    type: bool, value: false


    Thanks.

    Regards, 2020/01/15

  3. HI Hsu Chih-Hao,

    Please let us know, which version of rdkb release you are using and please share the output of the below commands


    1. syscfg get eth_wan_enabled

           2. ps | grep "ethwan"

    Thanks and Regards

    Srinivas