Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environment field in device yaml file #26

Closed
rwuthric opened this issue May 17, 2024 · 0 comments · Fixed by #27
Closed

Add environment field in device yaml file #26

rwuthric opened this issue May 17, 2024 · 0 comments · Fixed by #27
Assignees

Comments

@rwuthric
Copy link
Contributor

Some adapters require the definition of some environment variables. It must be possible to define them in the device yaml file which defines the configuration of a device requiring such an adapter built from a Docker image.

For example, like this:

devices:

  proximity-001:
    uuid: PROXIMITY-001
    node: manager
    agent:
      port: 3001
      device_xml: sensors/Proximity/imc30.xml
      adapter:
        image: ofa/sig350_adapter
        port: 7878
        environment:
          - SIG350_IP=10.0.0.250
          - DEVICE_ALIAS=master1port4
@rwuthric rwuthric self-assigned this May 17, 2024
@rwuthric rwuthric linked a pull request May 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant