Pre-requisite


Admin UI: Common Configuration

           Flow:  Xconf-server -> Common -> Environments

           Click on Create Button.

           


             Click on Create, Enter the ID and Description fields, click on Save.

              ID : <Unique Identifier>  ; Description : <Description>

             


           Flow: Xconf-server -> Common -> Models

           Click on Create, Enter the ID and Description fields, click on Save.

           

           


         


          Flow: Xconf-server -> Common -> MAC Lists -> Create -> Add your Device MAC address -> Save.

         


          Flow: Xconf-server -> Common -> IP Lists -> Create-> Create -> Add your device IP address -> Save.

         

          


Feature Validation: LogUpload

            File :  /etc/dcm.properties

           LOG_SERVER=xconf.rdkcentral.com
           DCM_LOG_SERVER=https://xconf.rdkcentral.com/xconf/logupload.php
           DCM_LOG_SERVER_URL=https://xconf.rdkcentral.com:9092/loguploader/getSettings
           DCM_SCP_SERVER=xconf.rdkcentral.com
           DCM_LA_SERVER_URL=https://xconf.rdkcentral.com/xconf/logupload.php

           


          Flow: Xconf-server -> DCM -> Upload repository -> create ->save
          Name: <Unique Identifier>
          Description: <Unique Identifier>
          URL:  HTTP: http://35.161.239.220/xconf/telemetry_upload.php

         


           Flow: Xconf-server -> DCM -> Formulas -> Create
           Name: <unique name for log upload>
           Description: <Short description for log upload>
           Percentage: 100
           Build condition:  estbMacAddress IS <MAC Address> OR estbIP IS <IP Address> 
                                    (or)  estbMacAddress IS <MAC Address>  AND model is <Model Name>   (Model name is already configured under Common Tab)

           


         


           


           Name: Enter the name given during Log Upload Formula Creation.
           Note: The formula will be effective only if we select 'Are Settings Active' option to 'true' in 'Create Device Settings' and 'Log Upload settings'.

           


Verification at Xconf UI.

           Flow: Xconf-Server -> DCM ->Test Page

     

Log Upload: Client End Verification (In RPI)

           rm -rf /tmp/DCM*

          systemctl restart CcspTelemetry.service

          root@RaspberryPi-Gateway:~# systemctl restart CcspTelemetry.service


           curl -i 'https://xconf.rdkcentral.com:9092/loguploader/getSettings?estbIP=<IP ADDRESS>'
           or
           curl -i 'https://xconf.rdkcentral.com:9092/loguploader/getSettings?estbMacAddress=<MAC-Address>'


         


          File : /tmp/DCMSettings.conf