Scope

Target is to support rbus for usp by moving away from ccsp message bus api's to rbus

Design Overview

  • TBD

StateMachine design

Reference USP command to be implemented 

  • Spec

  • command 

    • IPPing()
    • Associated datamodel

      • dmcli eRT getv Device.IP.Diagnostics.

        • root@RaspberryPi-Gateway:~# dmcli eRT getv Device.IP.Diagnostics.IPPing.
          CR component name is: eRT.com.cisco.spvtg.ccsp.CR
          subsystem_prefix eRT.
          Execution succeed.
          Parameter  1 name: Device.IP.Diagnostics.IPPing.DiagnosticsState
                  type:  string,  value: Complete
          Parameter  2 name: Device.IP.Diagnostics.IPPing.Interface
                  type:  string,  value:
          Parameter  3 name: Device.IP.Diagnostics.IPPing.Host
                  type:  string,  value: ‘www.msn.com
          Parameter  4 name: Device.IP.Diagnostics.IPPing.NumberOfRepetitions
                  type:   uint,  value: 4
          Parameter  5 name: Device.IP.Diagnostics.IPPing.Timeout
                  type:   uint,  value: 10000
          Parameter  6 name: Device.IP.Diagnostics.IPPing.DataBlockSize
                  type:   uint,  value: 56
          Parameter  7 name: Device.IP.Diagnostics.IPPing.DSCP
                  type:   uint,  value: 0
          Parameter  8 name: Device.IP.Diagnostics.IPPing.SuccessCount
                  type:   uint,  value: 4
          Parameter  9 name: Device.IP.Diagnostics.IPPing.FailureCount
                  type:   uint,  value: 0
          Parameter 10 name: Device.IP.Diagnostics.IPPing.AverageResponseTime
                  type:   uint,  value: 6
          Parameter 11 name: Device.IP.Diagnostics.IPPing.MinimumResponseTime
                  type:   uint,  value: 6
          Parameter 12 name: Device.IP.Diagnostics.IPPing.MaximumResponseTime
                  type:   uint,  value: 7
      • Use case

        • Similar to Test connectivity ” in webui,usp command should invoke a dml’s which will perform test from vendor layer of RDK

Code commits

  • WIP



  • No labels