Changeset 1176 for trunk/packages


Ignore:
Timestamp:
Oct 24, 2008, 12:00:00 AM (16 years ago)
Author:
price
Message:

sipb-xen -> invirt for remote-server

Location:
trunk/packages/invirt-remote-server
Files:
5 edited
13 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote-server/debian/changelog

    r1163 r1176  
     1invirt-remote-server (0.0.1) unstable; urgency=low
     2
     3  * sipb-xen -> invirt
     4
     5 -- Greg Price <price@mit.edu>  Thu, 23 Oct 2008 23:58:36 -0400
     6
    17sipb-xen-remote-server (0.10.2) unstable; urgency=low
    28
  • trunk/packages/invirt-remote-server/debian/control

    r982 r1176  
    1 Source: sipb-xen-remote-server
     1Source: invirt-remote-server
    22Section: servers
    33Priority: important
    4 Maintainer: sipb-xen@mit.edu
     4Maintainer: invirt@mit.edu
    55Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5)
    66Standards-Version: 3.7.2
    77
    8 Package: sipb-xen-remote-server
     8Package: invirt-remote-server
    99Architecture: all
    1010Provides: ${diverted-files}
  • trunk/packages/invirt-remote-server/debian/control.in

    r982 r1176  
    1 Source: sipb-xen-remote-server
     1Source: invirt-remote-server
    22Section: servers
    33Priority: important
    4 Maintainer: sipb-xen@mit.edu
     4Maintainer: invirt@mit.edu
    55Build-Depends: @cdbs@
    66Standards-Version: 3.7.2
    77
    8 Package: sipb-xen-remote-server
     8Package: invirt-remote-server
    99Architecture: all
    1010Provides: ${diverted-files}
    1111Conflicts: ${diverted-files}
    1212Depends: ${shlibs:Depends}, ${misc:Depends}, daemon, debathena-kerberos-config, fuse-utils, openssh-server, python-routefs, sipb-xen-chrony-config, sipb-xen-database-common, sipb-xen-base, remctl-server, remctl-client
    13 Description: SIPB Xen remote-control server
     13Description: Invirt remote-control server
    1414 This package should be installed to set up the remote-control server.
  • trunk/packages/invirt-remote-server/debian/invirt-remote-server.init

    r1175 r1176  
    11#! /bin/sh
    22### BEGIN INIT INFO
    3 # Provides:          sipb-xen-remote-server
     3# Provides:          invirt-remote-server
    44# Required-Start:    $local_fs $remote_fs
    55# Required-Stop:     $local_fs $remote_fs
    66# Default-Start:     2 3 4 5
    77# Default-Stop:      0 1 6
    8 # Short-Description: sipb-xen remctl configuration filesystem
     8# Short-Description: Invirt remctl configuration filesystem
    99# Description:       
    1010### END INIT INFO
    1111
    12 # Author: SIPB Xen Project <sipb-xen@mit.edu>
     12# Author: SIPB Invirt Project <invirt@mit.edu>
    1313
    1414# Do NOT "set -e"
     
    1616# PATH should only include /usr/* if it runs after the mountnfs.sh script
    1717PATH=/sbin:/usr/sbin:/bin:/usr/bin
    18 DESC="The sipb-xen remctl configuration filesystem"
    19 NAME=sipb-xen-remconffs
    20 DAEMON=/usr/sbin/sipb-xen-remconffs
     18DESC="the Invirt remctl configuration filesystem"
     19NAME=invirt-remconffs
     20DAEMON=/usr/sbin/invirt-remconffs
    2121DAEMON_ARGS="/etc/remctl/remconffs"
    2222PIDFILE=/var/run/$NAME.pid
  • trunk/packages/invirt-remote-server/debian/rules

    r502 r1176  
    22
    33DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
    4 DEB_DIVERT_EXTENSION = .sipb-xen
    5 #DEB_DIVERT_FILES_sipb-xen-remote-server += \
     4DEB_DIVERT_EXTENSION = .invirt
     5#DEB_DIVERT_FILES_invirt-remote-server += \
    66#       /etc/init.d/bootmisc.sh \
    77#       /etc/nscd.conf \
  • trunk/packages/invirt-remote-server/files/etc/remctl/conf.d/sipb-xen-web

    r619 r1176  
    1 web lvcreate     /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
    2 web lvremove     /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
    3 web lvrename     /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
    4 web lvresize     /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
    5 web lvcopy       /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
    6 web listvms      /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
     1web lvcreate     /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
     2web lvremove     /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
     3web lvrename     /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
     4web lvresize     /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
     5web lvcopy       /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
     6web listvms      /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
    77test sleep       /usr/bin/env /etc/remctl/acl/web
    8 control help     /usr/sbin/sipb-xen-remctl-help ANYUSER
    9 help ALL         /usr/sbin/sipb-xen-remctl-help ANYUSER
     8control help     /usr/sbin/invirt-remctl-help   ANYUSER
     9help ALL         /usr/sbin/invirt-remctl-help   ANYUSER
  • trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remconffs

    r1175 r1176  
    3131                self.fuse_args.add("allow_other", True)
    3232               
    33                 openlog('sipb-xen-remconffs ', LOG_PID, LOG_DAEMON)
     33                openlog('invirt-remconffs ', LOG_PID, LOG_DAEMON)
    3434               
    3535                syslog(LOG_DEBUG, 'Init complete.')
     
    5858                """Build the master conf file, with all machines
    5959                """
    60                 return '\n'.join("control %s /usr/sbin/sipb-xen-remote-proxy-control"
     60                return '\n'.join("control %s /usr/sbin/invirt-remote-proxy-control"
    6161                                 " /etc/remctl/remconffs/acl/%s"
    6262                                 % (machine_name, machine_name)
  • trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-control

    r1175 r1176  
    1010def main(argv):
    1111    if len(argv) < 3:
    12         print >>sys.stderr, "usage: sipb-xen-remote-control <machine> <command>"
     12        print >>sys.stderr, "usage: invirt-remote-control <machine> <command>"
    1313        return 2
    1414    machine_name = argv[1]
    1515    command = argv[2]
    1616
    17     p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
     17    p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
    1818    output = p.communicate()[0]
    1919    if p.returncode != 0:
    2020        raise RuntimeError("Command '%s' returned non-zero exit status %d"
    21                            % ('sipb-xen-remote-proxy-web', p.returncode))
     21                           % ('invirt-remote-proxy-web', p.returncode))
    2222    vms = yaml.load(output, yaml.CSafeLoader)
    2323
  • trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-create

    r1175 r1176  
    2222def main(argv):
    2323    if len(argv) < 3:
    24         print >> sys.stderr, "usage: sipb-xen-remote-create <operation> <machine> [<other args...>]"
     24        print >> sys.stderr, "usage: invirt-remote-create <operation> <machine> [<other args...>]"
    2525        return 2
    2626    operation = argv[1]
     
    3838            return 1
    3939
    40     p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
     40    p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
    4141    output = p.communicate()[0]
    4242    if p.returncode != 0:
    4343        raise RuntimeError("Command '%s' returned non-zero exit status %d"
    44                            % ('sipb-xen-remote-proxy-web', p.returncode))
     44                           % ('invirt-remote-proxy-web', p.returncode))
    4545    vms = yaml.load(output, yaml.CSafeLoader)
    4646
  • trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-listhost

    r1175 r1176  
    1010def main(argv):
    1111    if len(argv) < 2:
    12         print >>sys.stderr, "usage: sipb-xen-remote-listhost <machine>"
     12        print >>sys.stderr, "usage: invirt-remote-listhost <machine>"
    1313        return 2
    1414    machine_name = argv[1]
    1515
    16     p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
     16    p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
    1717    output = p.communicate()[0]
    1818    if p.returncode != 0:
    1919        raise RuntimeError("Command '%s' returned non-zero exit status %d"
    20                            % ('sipb-xen-remote-proxy-web', p.returncode))
     20                           % ('invirt-remote-proxy-web', p.returncode))
    2121    vms = yaml.load(output, yaml.CSafeLoader)
    2222
  • trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-proxy

    r1175 r1176  
    11#!/bin/bash
    2 # invoke as sipb-xen-remote-proxy-$TYPE, with "TYPE" in the remctl sense.
     2# invoke as invirt-remote-proxy-$TYPE, with "TYPE" in the remctl sense.
    33
    44klist -s || kinit -k
     
    1414case "$TYPE/$SERVICE" in
    1515    web/listvms )
    16         sipb-xen-remote-listvms "$@" ;;
     16        invirt-remote-listvms "$@" ;;
    1717    control/create|control/install )
    18         sipb-xen-remote-create "$SERVICE" "$MACHINE" "$@" ;;
     18        invirt-remote-create "$SERVICE" "$MACHINE" "$@" ;;
    1919    control/listhost|control/list-host )
    20         sipb-xen-remote-listhost "$MACHINE" "$@" ;;
     20        invirt-remote-listhost "$MACHINE" "$@" ;;
    2121    control/* )
    2222        # Everything but create must go where the VM is already running.
    23         sipb-xen-remote-control "$MACHINE" "$SERVICE" "$@" ;;
     23        invirt-remote-control "$MACHINE" "$SERVICE" "$@" ;;
    2424    * )
    2525        remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;;
  • trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-proxy-control

    r1175 r1176  
    1 link sipb-xen-remote-proxy
     1link invirt-remote-proxy
  • trunk/packages/invirt-remote-server/files/usr/sbin/invirt-remote-proxy-web

    r1175 r1176  
    1 link sipb-xen-remote-proxy
     1link invirt-remote-proxy
Note: See TracChangeset for help on using the changeset viewer.