Displaying 1 result from an estimated 1 matches for "server_xen_api".
2007 May 04
0
[PATCH] 3/4 "nemesis" scheduling domains for Xen
...', ''--sdom'']:
+ opts[''sdom''] = int(v)
+
+ if len(opts.keys()) == 0:
+ usage(''sched-sdom'')
+ sys.exit(-1)
+
+ if ''add'' in opts[''action'']:
+ if serverType == SERVER_XEN_API:
+ pass
+ else:
+ result = server.xend.domain.add_adom(opts[''dom''], opts[''sdom''])
+ if result != 0:
+ err(str(result))
+ elif ''remove'' in opts[''action'']:
+ if ser...