initial commit removing all related xen code, docs, files

This commit is contained in:
Blake J. Harnden 2018-03-07 15:47:14 -08:00
parent 940e10ef5e
commit a5370ee28c
39 changed files with 80 additions and 1771 deletions

View file

@ -9,20 +9,15 @@
CLEANFILES = core-daemon
DISTCLEANFILES = Makefile.in xen/Makefile xen/Makefile.in
DISTCLEANFILES = Makefile.in
EXTRA_DIST = core-daemon-init.d \
core-daemon.service.in \
core-daemon-rc.d \
core-daemon-init.d-SUSE \
xen
core-daemon-init.d-SUSE
SUBDIRS = perf
# clean up dirs included by EXTRA_DIST
dist-hook:
rm -rf $(distdir)/xen/.svn
# install startup scripts based on --with-startup=option configure option
# init.d (default), systemd, SUSE
if WANT_INITD

View file

@ -35,8 +35,8 @@
#
### BEGIN INIT INFO
# Provides: core-daemon
# Required-Start: $network $remote_fs xend
# Required-Stop: $network $remote_fs xend
# Required-Start: $network $remote_fs
# Required-Stop: $network $remote_fs
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: core-daemon

View file

@ -1,15 +0,0 @@
# CORE
# (c)2012 the Boeing Company.
# See the LICENSE file included in this distribution.
#
# author: Jeff Ahrenholz <jeffrey.m.ahrenholz@boeing.com>
#
# Makefile for installing Xen scripts.
#
install-exec-hook:
test -d "$(DESTDIR)/etc/init.d" || \
mkdir -p $(DESTDIR)/etc/init.d
test -d "$(DESTDIR)/etc/xen/scripts" && \
cp -f linux/scripts/vif-core $(DESTDIR)/etc/xen/scripts

View file

@ -1,48 +0,0 @@
#!/bin/bash
#============================================================================
# ${XEN_SCRIPT_DIR}/vif-bridge
#
# Script for configuring a vif in bridged mode.
# The hotplugging system will call this script if it is specified either in
# the device configuration given to Xend, or the default Xend configuration
# in ${XEN_CONFIG_DIR}/xend-config.sxp. If the script is specified in
# neither of those places, then this script is the default.
#
# Usage:
# vif-bridge (add|remove|online|offline)
#
# Environment vars:
# vif vif interface name (required).
# XENBUS_PATH path to this device's details in the XenStore (required).
#
# Read from the store:
# bridge bridge to add the vif to (optional). Defaults to searching for the
# bridge itself.
# ip list of IP networks for the vif, space-separated (optional).
#
# up:
# Enslaves the vif interface to the bridge and adds iptables rules
# for its ip addresses (if any).
#
# down:
# Removes the vif interface from the bridge and removes the iptables
# rules for its ip addresses (if any).
#============================================================================
dir=$(dirname "$0")
. "$dir/vif-common.sh"
case "$command" in
online)
do_without_error ifconfig "$vif" up
;;
offline)
do_without_error ifconfig "$vif" down
;;
esac
log debug "Successful vif-core $command for $vif, bridge $bridge."
if [ "$command" == "online" ]
then
success
fi