Versions Compared

Key

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

Table of Contents


Support validation of TR181 data model via different mechanisms other than WebPA.

...

Automatics Framework Refactor Status

Code Review: - https://code.rdkcentral.com/r/c/rdk/tools/automatics/automatics-core/+/73652

Automatics-Core version - v2.7.0

Details of WebPA operations addressed:

WebPA OperationsRefactor StatusMerged to CMF
GETCompletedYes
SETCompletedYes
Table data POSTIn ProgressNo
Table data PUTIn ProgressNo
Table data DELETEIn ProgressNo


Following APIs in AutomaticsTapAPI.java are refactored/to be refactored for TR181 Validation support.

WebPA Operation Type

WebPa API

Refactored

WebPa GET

public boolean getWebPaAttributeValues(Dut dut, String[] parameters)

Yes

public List<WebPaParameter> executeWebPaGetCommand(Dut dut, String... parameters)

Yes

public Map<String, String> executeMultipleWebPaGetCommands(Dut dut, String[] parameters)

Yes

public String executeWebPaCommand(Dut dut, String parameter) {

Yes

public List<String> executeWebPaCommands(Dut dut, String[] parameterArray)

Yes

public List<String> getTR69ParameterValuesUsingWebPA(Dut dut, String[] parameter)

Yes

public WebPaServerResponse getTR69ParameterValuesUsingWebPA(Dut dut, String parameter)

Yes




WebPa SET

public boolean setWebPaAttributeValues(Dut dut, List<WebPaParameter> webPaParameters)

Yes

public Map<String, String> executeMultipleWebPaSetCommands(Dut dut, List<WebPaParameter> webPaParameters)

Yes

public WebPaServerResponse setWebPaParameterValues(Dut dut, List<WebPaParameter> webPaParameters)

Yes

public List<WebPaParameter> setWebPaParams(Dut dut, String parameter, String value, int dataType)

Yes




WebPa PUT

public WebPaServerResponse putWebpaTableParamUsingRestApi(Dut dut, String tableName,
    Map<String, HashMap<String, List<String>>> paramKeyValue)

No

WebPa POST

public WebPaServerResponse postWebpaTableParamUsingRestApi(Dut dut, String tableName,
    Map<String, List<String>> paramKeyValue)

No

WebPa DELETE

public WebPaServerResponse deleteTableRowUsingRestApi(Dut dut, String tableNameWithRow)

No

Setup Changes for Validation

  1. Deploy the latest Automatics-Core -2.7.0 from repository.
  2. Deploy the latest RDKB-Utils from repository.
  3. Configure property ‘DEFAULT_TR181_ACCESS_METHOD’ in Automatics Properties. This is optional for DMCLI based validation.

 Automatics-Core identifies TR181 access method to be used via property  ‘DEFAULT_TR181_ACCESS_METHOD’ in Automatics Properties.

To test tr181 via DMCLI, either  set DEFAULT_TR181_ACCESS_METHOD=DMCLI or just remove this property, since default access mechanism will always be DMCLI only.

...