-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Discussed in #100
Originally posted by Ulrond September 25, 2024
Goal: Remote Device Config
globalConfig:
includes:
# [ includes: ]
# [ deviceConfig: "required.yml file" ]
deviceConfig: "example_device_config.yml"deviceConfig needs to support the downloading of a URL location for the deviceConfiguration for all box types.
Local Config
Where the rackConfig is specificed as a local directory, then the deviceConfig is expected to be relataive path to that directory
test.py --config "./myConfigs/rackConfig.,ymlThen in rackConfig.yaml
globalConfig:
includes:
# [ includes: ]
# [ deviceConfig: "required.yml file" ]
deviceConfig: "device_config.yml"
Would mean that device_config.yml also exists in the ./myConfigs/ directory
New operation
By default also as it currently exists the deviceConfig is relative to the ${CWD} of the test.
but if we add a prefix it will be clearer
${rackConfigFolder}/<relative to my rack Config directory>
${workspaceFolder}/<relative to the workspaceFolder directory>e.g.
deviceConfig: "${rackConfigFolder}/device_config.yml"In the case of a URL then it's downloaded as an absolute path as required.
deviceConfig: https://github.com/rdkcentral/python_raft/blob/master/examples/configs/example_device_config.ymlReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request