Skip to content

Commit

Permalink
Replace 'sisock-crossbar' with 'crossbar' (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianJKoopman authored Oct 30, 2020
1 parent 6b7e9ca commit d4ae11d
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions agents/cryomech_cpa/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ COPY . /app/socs/agents/cryomech-cpa/

ENTRYPOINT ["dumb-init", "python3", "-u", "cryomech_cpa_agent.py"]

CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/labjack/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ RUN pip3 install --no-cache-dir https://labjack.com/sites/default/files/software
ENTRYPOINT ["dumb-init", "python3", "-u", "labjack_agent.py"]

# Sensible default arguments
CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/lakeshore240/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ COPY . .
# Run registry on container startup
ENTRYPOINT ["dumb-init", "python3", "-u", "LS240_agent.py"]

CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/lakeshore372/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ COPY . .
ENTRYPOINT ["dumb-init", "python3", "-u", "LS372_agent.py"]

# Sensible default arguments
CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/meinberg_m1000/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ COPY mibs/ /usr/local/lib/python3.6/dist-packages/pysnmp/smi/mibs/
ENTRYPOINT ["dumb-init", "python3", "-u", "meinberg_m1000_agent.py"]

# Default site-hub
CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/pfeiffer_tpg366/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ COPY . .
# Run registry on container startup
ENTRYPOINT ["dumb-init", "python3", "-u", "pfeiffer_tpg366_agent.py"]

CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/pysmurf_archiver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ RUN pip3 install -r requirements.txt
# Run registry on container startup
ENTRYPOINT ["dumb-init", "python3", "-u", "pysmurf_archiver_agent.py"]

CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/pysmurf_controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ RUN pip3 install -r requirements.txt
ENTRYPOINT ["dumb-init", "python3", "-u", "pysmurf_controller.py"]

# Sensible defaults for setup with sisock
CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/pysmurf_monitor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ RUN pip3 install -r requirements.txt
# Run registry on container startup
ENTRYPOINT ["dumb-init", "python3", "-u", "pysmurf_monitor.py"]

CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/scpi_psu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ COPY . .
# Run agent on container startup
ENTRYPOINT ["dumb-init", "python3", "-u", "scpi_psu_agent.py"]

CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/smurf_recorder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ COPY . .
ENTRYPOINT ["dumb-init", "python3", "-u", "smurf_recorder.py"]

# Default site-hub
CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/smurf_stream_simulator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ COPY . .
ENTRYPOINT ["dumb-init", "python3", "-u", "smurf_stream_simulator.py"]


CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
4 changes: 2 additions & 2 deletions agents/synacc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3", "-u", "synacc.py"]

# Sensible default arguments
CMD ["--site-hub=ws://sisock-crossbar:8001/ws", \
"--site-http=http://sisock-crossbar:8001/call"]
CMD ["--site-hub=ws://crossbar:8001/ws", \
"--site-http=http://crossbar:8001/call"]
6 changes: 3 additions & 3 deletions docs/agents/lakeshore240.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,16 @@ Docker container. An example configuration is::
ocs-LSA24MA:
image: grumpy.physics.yale.edu/ocs-lakeshore240-agent:latest
depends_on:
- "sisock-crossbar"
- "crossbar"
devices:
- "/dev/LSA24MA:/dev/LSA24MA"
hostname: nuc-docker
volumes:
- ${OCS_CONFIG_DIR}:/config:ro
command:
- "--instance-id=LSA24MA"
- "--site-hub=ws://sisock-crossbar:8001/ws"
- "--site-http=http://sisock-crossbar:8001/call"
- "--site-hub=ws://crossbar:8001/ws"
- "--site-http=http://crossbar:8001/call"

The serial number will need to be updated in your configuration. The hostname
should also match your configured host in your OCS configuration file. The
Expand Down
2 changes: 1 addition & 1 deletion docs/agents/pysmurf/pysmurf-archiver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The docker-compose entry is similar to that of the pysmurf-monitor. For example:
- /home/ocs:/home/ocs
- /data:/data
depends_on:
- "sisock-crossbar"
- "crossbar"

Archived Path
--------------
Expand Down
2 changes: 1 addition & 1 deletion docs/agents/pysmurf/pysmurf-controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ named ``ocs-pysmurf-monitor`` might look something like::
- /data:/data
- /path/to/dev/pysmurf/:/usr/local/src/pysmurf
depends_on:
- "sisock-crossbar"
- "crossbar"



Expand Down
2 changes: 1 addition & 1 deletion docs/agents/pysmurf/pysmurf-monitor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ An example docker-compose entry might look like::
- ${OCS_CONFIG_DIR}:/config
- /data:/data
depends_on:
- "sisock-crossbar"
- "crossbar"

Where DB_HOST, DB, DB_USER, and DB_PW are set in the ``.env`` file in the same dir as
the docker-compose file.

0 comments on commit d4ae11d

Please sign in to comment.