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:
2 moved

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.