Configurations in Orchestration

Add Configs in System Configuration Page

  1. Launch Automatics Orchestration tool. From menu select Settings → System Configuration as shown in the image below.

       


2. Click on 'Add configuration' shown on the top right corner of the System Configuration page and add the following 4 configurations and click on save changes button.
 


Parameter NameDescription
CDROUTER_SERVICE_BASE_URLCD Router Service base url
CDROUTER_PAGINATION_LIMIT

Recommended value 10

In a single API call, the orchestration side will receive 10 packages. If there are a total of 30 packages

and the pagination limit is set to 10, then these packages will be fetched in three requests

CDROUTERS

Configure the CDRouters details to be used with Automatics in given json format. You can give a suitable name to the cdrouter application under 'name' variable and provide the base URL of the cdrouter application under 'url' variable. If you have disabled the automatic login in your cdrouter application, then you need to configure the auth token under 'auth' variable. The auth token should be provided in Base64 encrypted format.

eg: 

 [{"name":"CDROUTERINSTANCENAME1","url":"http://XXX.XXX.XXX.XX","auth":"xyz"},

{"name":"CDROUTERINSTANCENAME2","url":"http://XXX.XXX.XXX.XX","auth":"pqr"}]
NOTE: The name of cdrouter should be in CAPITAL letters.

Test_TypesAdd test type 'CDROUTER' along with existing test type values


3. Adding a new test type as CDROUTER

1. Navigate to the automatics URL  and select 'System Configuration' under the settings drop down as shown in the below image.


2. User should search for 'Test_Types' in the search bar and click on the edit button present on the right side of the page.


New Job Template in Job Settings Page

1 From menu select Settings → Job Settings as shown in the image below. 


2 Click on add new job on the right top corner as shown below.


3 Add job name as AUTO_CDROUTER_TEST_JOB' and under select parent job add 'AUTO_QUICK_TEST_JOB' and click on save button.



Configure CDRouter name under Run on Models

  1. Navigate to Manage Scripts page and click on 'run on models' button seen on top of the page.

 

    2. User should add CDRouter name under Device Name and add 'CDROUTER' as Image Name prefix. Select the device type in Select Category as RDKB and click on save button.

    NOTE: The mode name that is entered in 'CDROUTER' master config should be same for the device name.
    Example:  If this is the configuration made under System Configuration for 'CDROUTERS' config  [{"name":"CDROUTERINSTANCENAME1","url":"http://XXX.XXX.XXX.XX","auth":"xyz"}
    Then, the device name should be 'CDROUTERINSTANCENAME1'.

     




Configuration in Device Manager

Map the device with cdrouter instance

Add cdrouter url in extra properties of the device.  Basically, it is used for locking and unlocking of devices.  Every time a new CDRouter is connected to this device, the user should update the base URL of CDRouter connected to the corresponding device.

  1. Launch Device Manager tool.

2. Click on 'Edit Device Extra Properties' button. A pop-up will be shown.

3. In the pop-up user should add 'cdrouterinstance' under Name category and base URL of CDRouter that the device is connected to under value category. Click on add button as well as update button at the bottom.




Configurations needed for latest release from 01-09-2024

From the latest release, we are moving away from using Cdrouter Instance URL as a model name. Instead we will be using the name for the Cdrouter as Device name.

  1. Under System Configuration page in 'CDROUTERS' config, check whether name for Cdrouter is given in Capital Letters to each of the cdrouter systems that are available. Please check below image for more detail. 

  2. Under Run on models page, add Cdrouter name as device model. Please check below image for more detail.


  • No labels