Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sapcc/arc
Remote execution framework used in monsoon converged cloud
https://github.com/sapcc/arc
Last synced: 11 days ago
JSON representation
Remote execution framework used in monsoon converged cloud
- Host: GitHub
- URL: https://github.com/sapcc/arc
- Owner: sapcc
- License: apache-2.0
- Created: 2019-06-25T09:54:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T05:24:48.000Z (6 months ago)
- Last Synced: 2024-06-21T02:22:43.838Z (5 months ago)
- Language: Go
- Size: 18.8 MB
- Stars: 2
- Watchers: 36
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arc automation agent
The repository contains the agent running on VMs using the new Monsoon automation service.
## Development setup
This development setup is tested with go 1.10
To run a local mosquitto broker run the following docker container:
docker run -it --rm -p 1883:1883 --name mosquitto sapcc/mosquitto
to build and start the agent run:
go build -o onos-agent .
./onos-agent -endpoint=tcp://$(boot2docker ip):1883 #when using bash
./onos-agent -endpoint=tcp://(boot2docker ip):1883 #when using fishTo submit messages to the MQTT broker you can reuse the mosquitto image from above:
docker run -i --rm --link mosquitto:broker mosquitto mosquitto_pub -h broker -t [TOPIC] -s < payload.json
For your convience you can define an alias for the mosquitto_pub command:
alias mosquitto_pub="docker run -i --rm --link mosquitto:broker mosquitto mosquitto_pub -h broker"
Using this alias you can publish messages just be executing
mosquitto_pub -t [TOPIC] -s < payload.json