sipb-xen -> invirt for remote-server invirt-remote-server/0.0.1
authorGreg Price <price@mit.edu>
Fri, 24 Oct 2008 04:00:00 +0000 (00:00 -0400)
committerGreg Price <price@mit.edu>
Fri, 24 Oct 2008 04:00:00 +0000 (00:00 -0400)
svn path=/trunk/packages/invirt-remote-server/; revision=1176

19 files changed:
debian/changelog
debian/control
debian/control.in
debian/invirt-remote-server.init [moved from debian/sipb-xen-remote-server.init with 91% similarity]
debian/invirt-remote-server.install [moved from debian/sipb-xen-remote-server.install with 100% similarity]
debian/rules
files/etc/remctl/conf.d/sipb-xen-web
files/usr/sbin/invirt-remconffs [moved from files/usr/sbin/sipb-xen-remconffs with 94% similarity]
files/usr/sbin/invirt-remctl-help [moved from files/usr/sbin/sipb-xen-remctl-help with 100% similarity]
files/usr/sbin/invirt-remote-control [moved from files/usr/sbin/sipb-xen-remote-control with 82% similarity]
files/usr/sbin/invirt-remote-create [moved from files/usr/sbin/sipb-xen-remote-create with 87% similarity]
files/usr/sbin/invirt-remote-listhost [moved from files/usr/sbin/sipb-xen-remote-listhost with 73% similarity]
files/usr/sbin/invirt-remote-listvms [moved from files/usr/sbin/sipb-xen-remote-listvms with 100% similarity]
files/usr/sbin/invirt-remote-listvmsd [moved from files/usr/sbin/sipb-xen-remote-listvmsd with 100% similarity]
files/usr/sbin/invirt-remote-proxy [moved from files/usr/sbin/sipb-xen-remote-proxy with 63% similarity]
files/usr/sbin/invirt-remote-proxy-control [new symlink]
files/usr/sbin/invirt-remote-proxy-web [new symlink]
files/usr/sbin/sipb-xen-remote-proxy-control [deleted symlink]
files/usr/sbin/sipb-xen-remote-proxy-web [deleted symlink]

index fad2818..47103a0 100644 (file)
@@ -1,3 +1,9 @@
+invirt-remote-server (0.0.1) unstable; urgency=low
+
+  * sipb-xen -> invirt
+
+ -- Greg Price <price@mit.edu>  Thu, 23 Oct 2008 23:58:36 -0400
+
 sipb-xen-remote-server (0.10.2) unstable; urgency=low
 
   * There's a race condition for if the VM gets powered off between the
index e3fe70c..e574763 100644 (file)
@@ -1,11 +1,11 @@
-Source: sipb-xen-remote-server
+Source: invirt-remote-server
 Section: servers
 Priority: important
-Maintainer: sipb-xen@mit.edu
+Maintainer: invirt@mit.edu
 Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5)
 Standards-Version: 3.7.2
 
-Package: sipb-xen-remote-server
+Package: invirt-remote-server
 Architecture: all
 Provides: ${diverted-files}
 Conflicts: ${diverted-files}
index de22c2c..3816797 100644 (file)
@@ -1,14 +1,14 @@
-Source: sipb-xen-remote-server
+Source: invirt-remote-server
 Section: servers
 Priority: important
-Maintainer: sipb-xen@mit.edu
+Maintainer: invirt@mit.edu
 Build-Depends: @cdbs@
 Standards-Version: 3.7.2
 
-Package: sipb-xen-remote-server
+Package: invirt-remote-server
 Architecture: all
 Provides: ${diverted-files}
 Conflicts: ${diverted-files}
 Depends: ${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
-Description: SIPB Xen remote-control server
+Description: Invirt remote-control server
  This package should be installed to set up the remote-control server.
similarity index 91%
rename from debian/sipb-xen-remote-server.init
rename to debian/invirt-remote-server.init
index cdc27a8..0af248c 100755 (executable)
@@ -1,23 +1,23 @@
 #! /bin/sh
 ### BEGIN INIT INFO
-# Provides:          sipb-xen-remote-server
+# Provides:          invirt-remote-server
 # Required-Start:    $local_fs $remote_fs
 # Required-Stop:     $local_fs $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
-# Short-Description: sipb-xen remctl configuration filesystem
+# Short-Description: Invirt remctl configuration filesystem
 # Description:       
 ### END INIT INFO
 
-# Author: SIPB Xen Project <sipb-xen@mit.edu>
+# Author: SIPB Invirt Project <invirt@mit.edu>
 
 # Do NOT "set -e"
 
 # PATH should only include /usr/* if it runs after the mountnfs.sh script
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
-DESC="The sipb-xen remctl configuration filesystem"
-NAME=sipb-xen-remconffs
-DAEMON=/usr/sbin/sipb-xen-remconffs
+DESC="the Invirt remctl configuration filesystem"
+NAME=invirt-remconffs
+DAEMON=/usr/sbin/invirt-remconffs
 DAEMON_ARGS="/etc/remctl/remconffs"
 PIDFILE=/var/run/$NAME.pid
 SCRIPTNAME=/etc/init.d/$NAME
index 0baf8cf..e8fd697 100755 (executable)
@@ -1,8 +1,8 @@
 #!/usr/bin/make -f
 
 DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1
-DEB_DIVERT_EXTENSION = .sipb-xen
-#DEB_DIVERT_FILES_sipb-xen-remote-server += \
+DEB_DIVERT_EXTENSION = .invirt
+#DEB_DIVERT_FILES_invirt-remote-server += \
 #      /etc/init.d/bootmisc.sh \
 #      /etc/nscd.conf \
 #      /etc/nsswitch.conf \
index 53ba88f..c812c8f 100644 (file)
@@ -1,9 +1,9 @@
-web lvcreate     /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web lvremove     /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web lvrename     /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web lvresize     /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web lvcopy       /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
-web listvms      /usr/sbin/sipb-xen-remote-proxy-web /etc/remctl/acl/web
+web lvcreate     /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web lvremove     /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web lvrename     /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web lvresize     /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web lvcopy       /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
+web listvms      /usr/sbin/invirt-remote-proxy-web /etc/remctl/acl/web
 test sleep       /usr/bin/env /etc/remctl/acl/web
-control help    /usr/sbin/sipb-xen-remctl-help ANYUSER
-help ALL        /usr/sbin/sipb-xen-remctl-help ANYUSER
+control help    /usr/sbin/invirt-remctl-help   ANYUSER
+help ALL        /usr/sbin/invirt-remctl-help   ANYUSER
similarity index 94%
rename from files/usr/sbin/sipb-xen-remconffs
rename to files/usr/sbin/invirt-remconffs
index 275ba88..384c791 100755 (executable)
@@ -30,7 +30,7 @@ class RemConfFS(routefs.RouteFS):
                self.lasttime = time()
                self.fuse_args.add("allow_other", True)
                
-               openlog('sipb-xen-remconffs ', LOG_PID, LOG_DAEMON)
+               openlog('invirt-remconffs ', LOG_PID, LOG_DAEMON)
                
                syslog(LOG_DEBUG, 'Init complete.')
         
@@ -57,7 +57,7 @@ class RemConfFS(routefs.RouteFS):
        def getconf(self, **kw):
                """Build the master conf file, with all machines
                """
-               return '\n'.join("control %s /usr/sbin/sipb-xen-remote-proxy-control"
+               return '\n'.join("control %s /usr/sbin/invirt-remote-proxy-control"
                                 " /etc/remctl/remconffs/acl/%s"
                                 % (machine_name, machine_name)
                                 for machine_name in self.getmachines())+'\n'
similarity index 82%
rename from files/usr/sbin/sipb-xen-remote-control
rename to files/usr/sbin/invirt-remote-control
index 6d30d71..b205760 100755 (executable)
@@ -9,16 +9,16 @@ import yaml
 
 def main(argv):
     if len(argv) < 3:
-        print >>sys.stderr, "usage: sipb-xen-remote-control <machine> <command>"
+        print >>sys.stderr, "usage: invirt-remote-control <machine> <command>"
         return 2
     machine_name = argv[1]
     command = argv[2]
 
-    p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
+    p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
     output = p.communicate()[0]
     if p.returncode != 0:
         raise RuntimeError("Command '%s' returned non-zero exit status %d"
-                           % ('sipb-xen-remote-proxy-web', p.returncode)) 
+                           % ('invirt-remote-proxy-web', p.returncode)) 
     vms = yaml.load(output, yaml.CSafeLoader)
 
     if machine_name not in vms:
similarity index 87%
rename from files/usr/sbin/sipb-xen-remote-create
rename to files/usr/sbin/invirt-remote-create
index f957a59..db1b676 100755 (executable)
@@ -21,7 +21,7 @@ def choose_host():
 
 def main(argv):
     if len(argv) < 3:
-        print >> sys.stderr, "usage: sipb-xen-remote-create <operation> <machine> [<other args...>]"
+        print >> sys.stderr, "usage: invirt-remote-create <operation> <machine> [<other args...>]"
         return 2
     operation = argv[1]
     machine_name = argv[2]
@@ -37,11 +37,11 @@ def main(argv):
             print >> sys.stderr, "Arguments to the autoinstaller cannot contain spaces"
             return 1
 
-    p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
+    p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
     output = p.communicate()[0]
     if p.returncode != 0:
         raise RuntimeError("Command '%s' returned non-zero exit status %d"
-                           % ('sipb-xen-remote-proxy-web', p.returncode)) 
+                           % ('invirt-remote-proxy-web', p.returncode)) 
     vms = yaml.load(output, yaml.CSafeLoader)
 
     if machine_name in vms:
similarity index 73%
rename from files/usr/sbin/sipb-xen-remote-listhost
rename to files/usr/sbin/invirt-remote-listhost
index fa3d43b..64f6edf 100755 (executable)
@@ -9,15 +9,15 @@ import yaml
 
 def main(argv):
     if len(argv) < 2:
-        print >>sys.stderr, "usage: sipb-xen-remote-listhost <machine>"
+        print >>sys.stderr, "usage: invirt-remote-listhost <machine>"
         return 2
     machine_name = argv[1]
 
-    p = Popen(['/usr/sbin/sipb-xen-remote-proxy-web', 'listvms'], stdout=PIPE)
+    p = Popen(['/usr/sbin/invirt-remote-proxy-web', 'listvms'], stdout=PIPE)
     output = p.communicate()[0]
     if p.returncode != 0:
         raise RuntimeError("Command '%s' returned non-zero exit status %d"
-                           % ('sipb-xen-remote-proxy-web', p.returncode)) 
+                           % ('invirt-remote-proxy-web', p.returncode)) 
     vms = yaml.load(output, yaml.CSafeLoader)
 
     if machine_name not in vms:
similarity index 63%
rename from files/usr/sbin/sipb-xen-remote-proxy
rename to files/usr/sbin/invirt-remote-proxy
index 983d524..c4bb562 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-# invoke as sipb-xen-remote-proxy-$TYPE, with "TYPE" in the remctl sense.
+# invoke as invirt-remote-proxy-$TYPE, with "TYPE" in the remctl sense.
 
 klist -s || kinit -k
 
@@ -13,14 +13,14 @@ esac
 
 case "$TYPE/$SERVICE" in
     web/listvms )
-       sipb-xen-remote-listvms "$@" ;;
+       invirt-remote-listvms "$@" ;;
     control/create|control/install )
-       sipb-xen-remote-create "$SERVICE" "$MACHINE" "$@" ;;
+       invirt-remote-create "$SERVICE" "$MACHINE" "$@" ;;
     control/listhost|control/list-host )
-       sipb-xen-remote-listhost "$MACHINE" "$@" ;;
+       invirt-remote-listhost "$MACHINE" "$@" ;;
     control/* )
        # Everything but create must go where the VM is already running.
-       sipb-xen-remote-control "$MACHINE" "$SERVICE" "$@" ;;
+       invirt-remote-control "$MACHINE" "$SERVICE" "$@" ;;
     * )
        remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;;
 esac
diff --git a/files/usr/sbin/invirt-remote-proxy-control b/files/usr/sbin/invirt-remote-proxy-control
new file mode 120000 (symlink)
index 0000000..215b1de
--- /dev/null
@@ -0,0 +1 @@
+invirt-remote-proxy
\ No newline at end of file
diff --git a/files/usr/sbin/invirt-remote-proxy-web b/files/usr/sbin/invirt-remote-proxy-web
new file mode 120000 (symlink)
index 0000000..215b1de
--- /dev/null
@@ -0,0 +1 @@
+invirt-remote-proxy
\ No newline at end of file
diff --git a/files/usr/sbin/sipb-xen-remote-proxy-control b/files/usr/sbin/sipb-xen-remote-proxy-control
deleted file mode 120000 (symlink)
index 10a01cb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-sipb-xen-remote-proxy
\ No newline at end of file
diff --git a/files/usr/sbin/sipb-xen-remote-proxy-web b/files/usr/sbin/sipb-xen-remote-proxy-web
deleted file mode 120000 (symlink)
index 10a01cb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-sipb-xen-remote-proxy
\ No newline at end of file