https://github.com/aep/libvirt-hub-agent
https://github.com/aep/libvirt-hub-agent
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aep/libvirt-hub-agent
- Owner: aep
- Created: 2013-11-22T15:10:48.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-13T19:05:11.000Z (over 12 years ago)
- Last Synced: 2026-05-30T23:07:05.258Z (14 days ago)
- Language: C
- Size: 191 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Libvirt Hub Agent
=================
spawns a virt domain per usb hub and attaches all devices on that hub to the domain
Config
=================
hub-agent takes one argument: an ini file, which looks like this:
[libvirt]
url = lxc://
[mything]
vendor = 1d6b
product = 0002
domain = domain.example.xml
the libvirt section is for libvirt related settings,
such as the url to connect to, defaulting to lxc://
Every other section is going to be part of the domain name
in the format section-sysname. for example: mything-usb1-4.3
The section needs to have vendor= and product= of the usb hub.
for every hub detected with those properties, a new domain will be spawn.
As domain definition, the agent will take the file specified in domain=
relative to the ini file (or an absolute path) and replace these strings:
{{NAME}} - the name of the domain, as specified above
{{CONFIGDIR}} - path that the ini file was in
Building
==================
docker pull alanfranz/drb-epel-6-x86-64