Add router daemon

This commit is contained in:
2018-09-23 15:26:41 -04:00
parent 93b25ddd5b
commit 4ba2eea4ed
10 changed files with 501 additions and 0 deletions

8
debian/control vendored
View File

@ -33,6 +33,14 @@ Description: Parallel Virtual Cluster network daemon (Python 3)
.
This package installs the PVC network daemon
Package: pvc-router-daemon
Architecture: all
Depends: pvc-daemon-common
Description: Parallel Virtual Cluster router daemon (Python 3)
The Parallel Virtual Cluster provides a management solution for QEMU/KVM virtual clusters.
.
This package installs the PVC router daemon
Package: pvc-client-common
Architecture: all
Depends: python3-kazoo, python3-psutil, python3-click, python3-lxml

4
debian/pvc-router-daemon.install vendored Normal file
View File

@ -0,0 +1,4 @@
router-daemon/pvcrd.py usr/share/pvc
router-daemon/pvcrd.service lib/systemd/system
router-daemon/pvcrd.conf.sample etc/pvc
router-daemon/pvcrd usr/share/pvc

6
debian/pvc-router-daemon.postinst vendored Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# Enable the servive
systemctl enable /lib/systemd/system/pvcnd.service
echo "The PVC network daemon has not been started. Create a config file at /etc/pvc/pvcnd.conf then start it."

5
debian/pvc-router-daemon.prerm vendored Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
# Disable the service
systemctl disable pvcnd.service