Versions Compared

Key

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

...

  • Define Environments

           Flow:   Xconf Xconf-server -> Common -> Environments
           Click on Create Button.

           

         

           Click on Create, Enter the ID and Description fields, click on Save.
              ID  ID : <Unique Identifier>  Identifier>  ; Description : <Description>

             


  • Define Models

           FlowFlow: Xconf-server -> Common -> Models
           Click Click on Create, Enter the ID and Description fields, click on Save.

           

          Image Removedi Image Added


  • Define Mac List

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

          Image Removedi Image Added


  • Define IP List

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

          Image Removed Image Added

          


Feature Validation: LogUpload

...

  • In Xconf UI Change Application to stb in top right corner of the window.

           Image RemovedImage Added


  • Defining the Upload repositories

          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

          Image Removed Image Added


  • Defining the formula

           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)

           Image RemovedImage Added


  • As soon as the formula is saved, then a ‘define Settings’ tab with ‘Create Device Settings’, ‘Create log settings’, Create VOD settings’ will be available.

          Image Removed Image Added


  • Click on 'Create Device Settings' tab and edit the Device Settings.

           Image RemovedImage Added


  • Click on ‘Create Log Update setting’ and Edit the Log upload Setting (Create schedule & add the upload repository created beforehand).

           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'.

           Image RemovedImage Added


Verification at Xconf UI.

  • Test Page for Log Upload

...

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

...

  • Page 
  • Parameters: give a parameter that will match the one of the formulas that you have created.
    • estbMacAddress < MAC Address> or
    • estbIP <IP Address>
    • model <Model Name>

      Image Removed Image Added

Log Upload: Client End Verification (In RPI)


  • Sample Output:

          Image Removed Image Added


  • On successful Log upload, conf file will be created under /tmp directory. This file contains the details of log upload settings which are already configured in the server.
              File : /tmp/DCMSettings.conf

         Image RemovedImage Added


  • Verify the logs in /rdklogs/logs/dcmscript.log file
  • The log file contains the details of
    • Service status, tftp details, reboot flag , check on reboot flag ,
    • Upload settings details – location, protocol.
  • Shows list of files which are to be uploaded to the server as a tar file (logs will be zipped and creates a tar file on every bootup/service restart), Backup folder details (/rdklogs/logs/PreviousLogs_backup)
  • HTTP request processing status.   

         Image RemovedImage Added


      

  • Json response on server

         Image RemovedImage Added


        Image Removed        Image RemovedImage Added