https://github.com/schmichael/nomad-sdr-device-plugin
https://github.com/schmichael/nomad-sdr-device-plugin
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/schmichael/nomad-sdr-device-plugin
- Owner: schmichael
- License: mpl-2.0
- Created: 2020-02-27T00:00:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-27T02:47:50.000Z (over 6 years ago)
- Last Synced: 2025-01-26T00:11:55.315Z (over 1 year ago)
- Language: Go
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Nomad RTL2838 SDR Device Plugin
===============================
For ID `0bda:2838` Realtek Semiconductor Corp. RTL2838 DVB-T software defined
radio (SDR) devices.
Built from skeleton project for [Nomad device plugins](https://www.nomadproject.io/docs/internals/plugins/devices.html).
Requirements
------------
- [Nomad](https://www.nomadproject.io/downloads.html) 0.9+
- [Go](https://golang.org/doc/install) 1.11 or later (to build the plugin)
- [libusb-1.0-dev](https://libusb.info/)
Building the Plugin
---------------------
```sh
$ git clone git@github.com:schmichael/nomad-sdr-device-plugin.git
$ go build
$ # copy plugin into nomad's -plugin-dir
```
Deploying Device Plugins in Nomad
----------------------
Copy the plugin binary to the
[plugins directory](https://www.nomadproject.io/docs/configuration/index.html#plugin_dir) and
[configure the plugin](https://www.nomadproject.io/docs/configuration/plugin.html) in the client config. Then use the
[device stanza](https://www.nomadproject.io/docs/job-specification/device.html) in the job file to schedule with
device support. (Note, the skeleton plugin is not intended for use in Nomad.)