Skip to content

Commit

Permalink
Updated terminal server
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Herbert committed Dec 20, 2024
1 parent 580cd69 commit a826eea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
28 changes: 15 additions & 13 deletions services/bl99p-cs-ioc-02/config/ioc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-terminalserver/releases/download/2024.10.1/ibek.ioc.schema.json
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-terminalserver/releases/download/2024.12.1/ibek.ioc.schema.json

# TODO replace above with the generic IOC schema this IOC is based on
ioc_name: "{{ _global.get_env('IOC_NAME') }}"
Expand All @@ -7,28 +7,30 @@ description: REPLACE WITH DESCRIPTION

entities:
- type: epics.EpicsEnvSet
name: EPICS_TZ
value: GMT0BST
name: EPICS_TS_MIN_WEST
value: '0'

- type: devIocStats.iocAdminSoft
IOC: "{{ ioc_name | upper }}"

# - todo: Add more entities to make a meaningful IOC

IOC: '{{ ioc_name | upper }}'

- type: epics.EpicsEnvSet
name: IOCSH_PS1
value: BL99P-CS-IOC-02>
value: BL99P-CS-IOC-02

- type: devIocStats.devIocStatsHelper
ioc: BL99P-CS-IOC-02 # TODO: why does this want both?
IOC: BL99P-CS-IOC-02
name: IOC-STATS
# - type: devIocStats.devIocStatsHelper
# ioc: BL99P-CS-IOC-02
# IOC: BL99P-CS-IOC-02
# name: IOC-STATS

# - type: autosave.Autosave
# bl: 'True'
# iocName: BL99P-CS-IOC-02
# path: /dls_sw/p99/epics/autosave

- type: terminalServer.Moxa
- type: terminalServer.Moxa16
HOST: bl99p-nt-tserv-01
NCHANS: 16
P: BL99P-NT-TSERV-01
R: ''
name: TSERV-01

6 changes: 3 additions & 3 deletions services/bl99p-cs-ioc-02/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# yaml-language-server: $schema=https://github.com/epics-containers/ec-helm-charts/releases/download/3.4.4/ioc-instance.schema.json#/$defs/service
ioc-instance:
image: ghcr.io/epics-containers/ioc-terminalserver-runtime:2024.10.1
image: ghcr.io/epics-containers/ioc-terminalserver-runtime:2024.12.1

# NOTE: the following are suggestions to help with debugging IOCs
# 1. replace the runtime container with the developer version
Expand All @@ -17,5 +17,5 @@ ioc-instance:
# can experiment with changes until the issue
# is fixed.
#
# startCommand: sleep
# startArgs: infinity
startCommand: sleep
startArgs: infinity

0 comments on commit a826eea

Please sign in to comment.