Introduction

Differences between Docsis and EthWAN
EthWANDocsis
GwProvApp-EthWan is used for EthWan
configuration
GwProvApp is used for Docsis configuration
Default CR device profile used is cr-ethwandeviceprofile.xmlThere is a dependency on CM agent.
parodus2ccsp, xsmart ,ccsp LM lite and
webpa are not having dependencies on CM
agent
DML is used to verify in which MODE the box is
currently operating
WEBPA & Reverse SSH is working over WAN
MAC assigned to ifconfig erouter0 interface
The Device is using CM MAC as defined in
hardware system
XB6 Ethernet Port 1 must not be available
for LAN side connections
Ethernet Port 1 must be usable for LAN side client
connectivity
The Cable Modem is not active and there is
no active CM IP address
Cable Modem is active and there is active CM IP
Address

Architecture

  1.  CcspEthAgent                  – Ccsp component to control EthWAN feature along with data model support
  2.  Gw-prov-app-EthWAN    – Gateway provisioning component for EthWAN


Objects

DM Description
Device.Ethernet.X_RDKCENTRALCOM_WAN.EnabledThe DML is used to ON/OFF the EthWan Feature. The
default value is OFF.
Device.Ethernet.X_RDKCENTRALCOM_WAN.PortThe DML provides the port number that is configured if
the feature is ENABLED with
Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled
Device.DeviceInfo.X_RDKCENTRALCOM_EthernetWAN.CurrentOperationalModeThe DML is used to verify in which MODE the box is
currently operating


How to Enable EthWan

dmcli eRT setv Device.Ethernet.X_RDKCENTRAL-COM_WAN.Enabled bool True
dmcli eRT setv Device.Ethernet.X_RDKCENTRAL-COM_WAN.Port uint 0

To support manual configuration via local GUI (user side) to change configuration to Ethernet WAN or DOCSIS WAN.

Gateway> Connection > WAN Network

Code Flow

Ccsp EthAgent Dmcli Code flow

GW Prov Ethwan Code flow

APIs

Commands to get EthWAN info from hal

CommandDescription
hal_test ethwan enableEthwanTo enable EthWan
hal_test ethwan disableEthwanTo disable EthWan
hal_test ethwan GetEthWanInterfaceNameTo get the EthWan Interface name
hal_test ethwan getEthWanEnabledTo get the EthWan status (enabled or disabled)
hal_test ethwan getEthWanPortTo know which port is enabled for EthWan feature

References

 https://wiki.rdkcentral.com/courses/playcourse.action?course=90113230&capsule=3