-
Notifications
You must be signed in to change notification settings - Fork 0
Usage Examples
Ryan Slominski edited this page Jan 31, 2022
·
56 revisions
- Effective Registration
- Effective Activation
- EPICS
- Admin GUI
- All (everything)
- Spin up containers
cd examples/compose
docker-compose -f effective.yml up
- Make sure a category exists
docker exec -it jaws /scripts/client/set-category.py IOC
- Set (or replace) base class definition
docker exec -it jaws /scripts/client/set-class.py base --category IOC --priority P4_INCIDENTAL --rationale because --correctiveaction fixit --pointofcontactusername tester
- Set (or replace) a simple alarm
docker exec -it jaws /scripts/client/set-instance.py alarm1 --producersimple
- Observe class defaults are inherited
docker exec -it jaws /scripts/client/list-effective-registrations.py
- Spin up containers
cd examples/compose
docker-compose -f effective.yml up
- Set Disabled override
docker exec -it jaws /scripts/client/set-override.py alarm1 --override Disabled
- Set Shelved override (has lower precedence)
docker exec -it jaws /scripts/client/set-override.py alarm1 --override Shelved --expirationseconds 90 --reason Other
- Show overrides
docker exec -it jaws /scripts/client/list-overrides.py
- Show effective activations
docker exec -it jaws /scripts/client/list-effective-activations.py
- Spin up containers
cd examples/compose
docker-compose -f effective.yml up
- Monitor for automated expiration tombstone message
docker exec -it jaws /scripts/client/list-overrides.py --monitor
- Shelve an alarm for 5 seconds
docker exec -it jaws /scripts/client/set-override.py --override Shelved alarm1 --reason Other --expirationseconds 5
- Show effective activations
docker exec -it jaws /scripts/client/list-effective-activations.py
- Launch Docker
docker-compose up
- Set activation
docker exec -it jaws /scripts/client/set-activation.py alarm1
- Monitor overrides
docker exec -it jaws /scripts/client/list-overrides.py --monitor
- Set one-shot shelved
docker exec -it jaws /scripts/client/set-override.py alarm1 --override Shelved --oneshot --reason Other --expirationseconds 90
- Unset activation
docker exec -it jaws /scripts/client/set-activation.py alarm1 --unset
- Launch Docker
docker-compose up
- Set (or replace) latching class definition
docker exec -it jaws /scripts/client/set-class.py latchingclass --category IOC --priority P4_INCIDENTAL --rationale because --correctiveaction fixit --pointofcontactusername tester
- Register alarm1 as member of latchingclass
docker exec -it jaws /scripts/client/set-instance.py alarm1 --producersimple --alarmclass latchingclass
- Monitor for latch
docker exec -it jaws /scripts/client/list-overrides.py --monitor
- Set active (and observe auto-latch)
docker exec -it jaws /scripts/client/set-activation.py alarm1
- Clear Latch
docker exec -it jaws /scripts/client/set-override.py alarm1 --override Latched --unset
- Spin up containers
cd examples/compose
docker-compose -f epics.yml up
- Register an alarm (and trigger EPICS monitoring)
docker exec -it jaws /scripts/client/set-instance.py alarm1 --producerpv channel1
- Trip an alarm
docker exec softioc caput channel1 1
- Verify that the alarm-activations topic received a properly formatted message
docker exec -it jaws /scripts/client/list-activations.py
- Spin up containers
cd examples/compose
docker-compose -f admin-gui.yml up
- Navigate web browser: http://localhost:8080/jaws-admin-gui/
- Spin up containers
cd examples/compose
docker-compose -f all.yml up