Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

RDK Platforms define a set of environment variable and function (through shell scripts) which enables the middle-ware middleware and application to access device specific information. There are service files and shell scripts to do this job, and this are provided by the Sysint-Broadbandcomponent. 

...

  • Erouter0 info.
  • Script for DCM simulator Support.
  • Script for NTPD.
  • Factory Reset operation.
  • Log Rotate operation.
  • Self-heal operation.
  • Firmware Upgrade functionality.
  • Webpa Server URL.
  • Remote Management operation.

...

Variable NameDescription 
LOG_PATHDefines path for rdkb logs.
CRON_SPOOLDefines path for Cron spool.
CRON_FIFO_FILEDefines path for Cron fifo file.
PERSISTENT_PATHPath for storing  PERSISTENT PERSISTENT data.
RAMDISK_PATHPath for storing RAMDISK.
TEMP_LOG_PATHPath for storing temporary logs.
UTILITY_PATHPath for rdkb utilities.
RDK_PATHPath for rdkb utilities.
EROUTER_INTERFACEIndicates interface name for erouter.
TELEMETRY_JSON_RESPONSEFile for storing telemetry response.
CLOUDURLDefines server URL.

...

Script Name Description
StartDCM.shScript for establishing connections with webpa server. 
DCMscript.shScript for telemetry support (T1). 
uploadSTBLogs.shScript for uploading logs to the server.
interfaceCalls.shScript for basic functions execution like reboot, uptime.
commonUtils.shScript for basic linux utilities execution.
logfiles.shScript for defining path and file for storing  storing device logs.
backupLogs.shScript to backup back up the logs for the device.
bank_image_switch.shScript for firmware upgrade.
deviceInitiatedFWDnld.shScript for firmware upgrade.
imageFlasher.shScript for remote flashing of image.
rpi_sw_install.shScript for firmware upgrade.
rpi_sw_install1.shScript for firmware upgrade.
snmpUtils.shScript for snmp pa support.
rpi_image_Flasher.shScript for firmware upgrade.
swupdate_utility.shRemote swupdate facility script.
dcaSplunkUpload.shScript for T1 support.
dca_utility.shScript for T1 support.
log_timestamp.shScript for displaying time stamp.
disableIpv6Autoconf.shUsed to disable ipv6 with defined interface.
getpartnerid.shFor getting partner id.
disable_systemd_restart_param.shSupport script for disable_systemd_restart_param.service.
handlesnmpv3.shUsed to start snmpd.service .
ocsp-support.shSupport script for ocsp-support.service.
disableUnusedInterfaces.shTo disable unused interfaces.
postwanstatusevent.shFor getting wan status.
startSSH.shSupport script for dropbear service.
utils.shTo get the basic info of router utilities.
core_shell.shFor generating crash/dump logs.
deviceInitiatedFWDnld.shScript for firmware upgrade.
getaccountid.shScript for target specific get account ip.
interfaceCalls.shEnables interface-oriented operations.
run_rm_key.shExecuted to generate the server.pem by using openssl.
corrective_action.shVerifies the running operations the router device like Captive portal.
resource_monitor.shUsed to monitor the tasks and functionality of the router device.
self_heal_connectivity_test.sh

For auto healing of the parameters and tasks.

task_health_monitor.shFor monitoring functionality of the tasks in router.

...

Service description
rfc.serviceFor enabling rfc services (RFC feature support).
dropbear.serviceService for ssh connection-oriented functionality. 
dump-backup.serviceService for process crash. 
ntpd.serviceService for invoking network time.
ocsp-support.serviceOCSP supported service.
previous-log-backup.serviceService file for previous log backup.
swupdate.serviceSoftware update-oriented service (firmware upgrade).

...