Ignore:
Timestamp:
Nov 25, 2008, 11:44:57 PM (16 years ago)
Author:
quentin
Message:

Block xen_cpu from running with XenAPI until we switch all of XVM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/xvm-munin-config/host/usr/share/xvm-munin-host-config/plugins/xen_cpu

    r1779 r1783  
    44from xen.xend import sxp
    55import atexit
     6import sys
    67
    78serverType, serverURI = parseServer()
     9
     10if serverType != SERVER_LEGACY_XMLRPC:
     11    print >>sys.stderr, "xen_cpu is untested with this Xen server type"
     12    sys.exit(1)
    813
    914if serverType == SERVER_XEN_API:
     
    2126    from xen.util.xmlrpcclient import ServerProxy
    2227    server = ServerProxy(serverURI)
    23 
    24 import sys
    2528
    2629if len(sys.argv) > 1:
Note: See TracChangeset for help on using the changeset viewer.