epics-containers / ibek

IOC Builder for EPICS and Kubernetes
https://epics-containers.github.io/ibek
Apache License 2.0
10 stars 4 forks source link

enable jina expansion in id defaults #212

Closed gilesknap closed 2 months ago

gilesknap commented 2 months ago

enables use of Jinja templating in the default value of an id argument.

e.g.


module: ipac

defs:
  - name: Hy8002
    description: |-
      Configure a Hytec 8002 Carrier card
    args:
      - type: id
        name: IPACid
        description: |-
          Identifier for this device
        default: IPAC{{ slot }}

      - type: int
        name: slot
        description: |-
          VME Slot number