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:
1 edited
11 moved

Legend:

Unmodified
Added
Removed
  • 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.