Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rwth-os/migration-framework
Allows for initiating start, stop, and migration of virtual machines by means of MQTT messages.
https://github.com/rwth-os/migration-framework
Last synced: 15 days ago
JSON representation
Allows for initiating start, stop, and migration of virtual machines by means of MQTT messages.
- Host: GitHub
- URL: https://github.com/rwth-os/migration-framework
- Owner: RWTH-OS
- License: lgpl-3.0
- Created: 2015-03-27T13:19:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-17T11:22:30.000Z (almost 5 years ago)
- Last Synced: 2023-08-06T11:10:58.019Z (over 1 year ago)
- Language: C++
- Size: 899 KB
- Stars: 1
- Watchers: 8
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# migration-framework
[![Build Status](https://travis-ci.org/RWTH-OS/migration-framework.svg?branch=master)](https://travis-ci.org/RWTH-OS/migration-framework)Allows for initiating start, stop, and migration of virtual machines by means of MQTT messages.
### Requirements
* For migration-framework:
* libvirt
* For fast-lib:
* mosquitto
* mosquittopp
* yaml-cpp### Build instructions
```bash
mkdir build && cd build
cmake -DLibVirt_INCLUDE_DIR= -DLibVirt_LIBRARY= ..
make
```### Examples
* See directory "examples" for messages which can be parsed.
* To test messages:
1. Start mosquitto daemon (and optional redirect output).
* "-d" puts mosquitto in background after starting
```bash
mosquitto -d 2> /dev/null
```
2. Start migfra daemon:
```bash
build/migfra
```
3. Use mosquitto\_pub to publish messages.
* "-f \" the file that contains the message content.
* "-q \<2,1,0\>" sets quality of service. For more information see mosquitto documentation.
* "-t \" the topic to publish on.
```bash
mosquitto_pub -f examples/start_task.yaml -q 2 -t topic1
```
4. Use mosquitto\_sub to see messages.
* "-q \<2,1,0\>" sets quality of service. For more information see mosquitto documentation.
* "-t \" the topic to publish on.
```bash
mosquitto_sub -q 2 -t topic1
```* To verify new examples this online yaml parser is useful:
http://yaml-online-parser.appspot.com