RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Info | ||
---|---|---|
| ||
Table of Contents |
---|
draw.io Diagram border true diagramName Untitled Diagram simpleViewer false width links auto tbstyle top lbox true diagramWidth 570 revision 1
TR-181 Object is X_RDKCENTRAL-COM_Report. A Device Report is an Encoded Avro Schema Payload
The InterfaceDevicesWifi Report sends WiFi Metrics Data for the devices connected to the Gateway harvested from the WiFi HAL.
TR-181
Type
Default value
Range
Description
Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.Enabled
Boolean
False
Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.PollingPeriod
unsigned integer
900
1, 5, 10, 15, 30, 60, 300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.ReportingPeriod
unsigned integer
900
1, 5, 10, 15, 30, 60, 300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Must be greater than or equal to the PollingPeriod
Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.Schema
string
Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.SchemaID
string
Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.Default.PollingPeriod
unsigned integer
900
1, 5, 10, 15, 30, 60, 300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.Default.ReportingPeriod
unsigned integer
900
1, 5, 10, 15, 30, 60, 300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Must be greater than Polling Period
Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.Default.OverrideTTL
unsigned integer
300
TR-181
Type
Default value
Range
Description
Device.X_RDKCENTRAL-COM_Report.RadioInterfaceStatistics.Enabled
Boolean
False
Device.X_RDKCENTRAL-COM_Report.RadioInterfaceStatistics.PollingPeriod
unsigned integer
900
1, 5, 15, 30, 60, 300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Device.X_RDKCENTRAL-COM_Report.RadioInterfaceStatistics.ReportingPeriod
unsigned integer
900
1, 5, 15, 30, 60, 300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Must be greater than or equal to the PollingPeriod
Device.X_RDKCENTRAL-COM_Report.RadioInterfaceStatistics.Schema
string
Device.X_RDKCENTRAL-COM_Report.RadioInterfaceStatistics.SchemaID
string
Device.X_RDKCENTRAL-COM_Report.RadioInterfaceStatistics.Default.PollingPeriod
unsigned integer
900
1, 5, 15, 30, 60, 300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Device.X_RDKCENTRAL-COM_Report.RadioInterfaceStatistics.Default.ReportingPeriod
unsigned integer
900
1, 5, 15, 30, 60, 300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Must be greater than Polling Period
Device.X_RDKCENTRAL-COM_Report.RadioInterfaceStatistics.Default.OverrideTTL
unsigned integer
300
3. NeighboringAP
TR-181
Type
Default value
Range
Description
Device.X_RDKCENTRAL-COM_Report.NeighboringAP.Enabled
Boolean
False
Device.X_RDKCENTRAL-COM_Report.NeighboringAP.PollingPeriod
unsigned integer
21600
300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Device.X_RDKCENTRAL-COM_Report.NeighboringAP.ReportingPeriod
unsigned integer
43200
300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Must be greater than or equal to the PollingPeriod
Device.X_RDKCENTRAL-COM_Report.NeighboringAP.Schema
string
Device.X_RDKCENTRAL-COM_Report.NeighboringAP.SchemaID
string
Device.X_RDKCENTRAL-COM_Report.NeighboringAP.Default.PollingPeriod
unsigned integer
21600
300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Device.X_RDKCENTRAL-COM_Report.NeighboringAP.Default.ReportingPeriod
unsigned integer
43200
300, 900, 1800, 3600, 10800, 21600, 43200, 86400
Must be greater than Polling Period
Device.X_RDKCENTRAL-COM_Report.NeighboringAP.Default.OverrideTTL
unsigned integer
43200
Device.X_RDKCENTRAL-COM_Report.NeighboringAP.LastScanData
string
Device.X_RDKCENTRAL- COM_Report.NeighboringAP.OnDemandScan
string
In Rpi , by default harvester process will be not running.
To launch the process
Go to /usr/ccsp/harvester folder
/usr/bin/harvester –DEBUG –LOGFILE /tmp/logfile.txt &
root@RaspberryPi-Gateway:/usr/ccsp/harvester# /usr/bin/harvester -DEBUG -LOGFILE /tmp/logfile_dmcli_enabled.txt
DEBUG ENABLE ON
RDK_LOG_DEBUG, Registering Harvester component 'com.cisco.spvtg.ccsp.harvester' with CR ..
eRT.com.cisco.spvtg.ccsp.Harvester start to check eRT.com.cisco.spvtg.ccsp.psm status
eRT.com.cisco.spvtg.ccsp.psm is ready, eRT.com.cisco.spvtg.ccsp.Harvester continue
PSM module done.
Conf file /etc/debug.ini open success
rdk_dyn_log_initg_dl_socket = 8 __progname = harvester
rdk_logger_init /etc/debug.ini Already Stack Level Logging processed... not processing again.
****LOADING DM LIBRARY***************
THE LIB NAME =libHarvesterSsp.so
****LOADING DM LIBRARY***************
PLUGIN libHarvesterSsp.so LOADED SUCCESSFULLY
Inside msgBusInit : /tmp/harvester_initialized created
RDK_LOG_DEBUG, Registered Harvester component 'com.cisco.spvtg.ccsp.harvester' with CR ..
Harvester logs are available under /rdklogs/logs/Harvesterlog.txt.<0/1>
Sample
220228-10:52:18.395433 [mod=Harvester, lvl=WARN] [tid=31156] Register empty object : com.cisco.spvtg.
220228-10:52:18.395571 [mod=Harvester, lvl=WARN] [tid=31156] Register empty object : com.cisco.spvtg.ccsp.
220228-10:52:18.396881 [mod=Harvester, lvl=WARN] [tid=31156] DM Library module name = CCSP Base Data Model
220228-10:52:18.398988 [mod=Harvester, lvl=WARN] [tid=31156] DM Library module name = COSA_TR181_Harvester
220228-10:52:18.400870 [mod=Harvester, lvl=WARN] [tid=31156] Loading DM library libHarvesterSsp.so...
220228-10:52:18.448430 [mod=Harvester, lvl=WARN] [tid=31156] Search for empty object in 'dslhCpeCheckEmptyObject'
220228-10:52:18.452440 [mod=Harvester, lvl=INFO] [tid=31156] rdk-logger initialzed!
220228-10:52:18.457414 [mod=Harvester, lvl=INFO] [tid=31156] RDK_LOG_WARN, HARV : /tmp/harvester_initialized created
220228-10:52:18.457656 [mod=Harvester, lvl=WARN] [tid=31156] HARV : /tmp/harvester_initialized created
220228-10:52:18.463001 [mod=Harvester, lvl=INFO] [tid=31168] Init for parodus Success..!!
220228-10:52:19.195747 [mod=Harvester, lvl=INFO] [tid=31161] Ethernet WAN is enabled
220228-10:52:19.196703 [mod=Harvester, lvl=INFO] [tid=31161] deviceMAC is b827eb221636
220228-10:52:19.216732 [mod=Harvester, lvl=INFO] [tid=31161] Sent message successfully to parodus
220228-10:53:25.934303 [mod=Harvester, lvl=WARN] [tid=31159] DslhObjcoValidate: Enabled, bsUpdate = 3
220228-10:53:25.934586 [mod=Harvester, lvl=INFO] [tid=31159] RDKB_HARVESTER_VALUE_CHANGED - WiFiInterfaceDevice Report Enabled
220228-10:53:25.934742 [mod=Harvester, lvl=WARN] [tid=31159] Before committing:Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.
220228-10:53:25.935239 [mod=Harvester, lvl=WARN] [tid=31159] Harvester InterfaceDeviceWifi Report STARTED SetIDWHarvestingStatus
220228-10:53:25.944784 [mod=Harvester, lvl=WARN] [tid=31159] After committing:Device.X_RDKCENTRAL-COM_Report.InterfaceDevicesWifi.:0
220228-10:53:26.184683 [mod=Harvester, lvl=INFO] [tid=680] Harvester GetWiFiApGetAssocDevicesData : SSID RPi3_RDKB-AP1 is NOT ENABLED or ERROR retured 0
220228-10:54:10.478550 [mod=Harvester, lvl=WARN] [tid=31159] DslhObjcoValidate: Enabled, bsUpdate = 3
220228-10:54:10.478789 [mod=Harvester, lvl=INFO] [tid=31159] RDKB_HARVESTER_VALUE_CHANGED - WiFiNeighbourAP Report Enabled
220228-10:54:10.478947 [mod=Harvester, lvl=WARN] [tid=31159] Before committing:Device.X_RDKCENTRAL-COM_Report.NeighboringAP.
220228-10:54:10.484989 [mod=Harvester, lvl=WARN] [tid=31159] After committing:Device.X_RDKCENTRAL-COM_Report.NeighboringAP.:0
220228-10:54:10.638449 [mod=Harvester, lvl=ERROR] [tid=1958] Harvester GetRadioNeighboringAPData : Radio wifi1 is NOT ENABLED or ERROR retured 0
220228-10:54:10.681146 [mod=Harvester, lvl=INFO] [tid=1958] Sent message successfully to parodus