search for: domainurl

Displaying 3 results from an estimated 3 matches for "domainurl".

Did you mean: domainu
2009 Mar 18
1
set_table_name woes, fragmented domain class
...e to keep them all in the same table. So I''ve split out the records into many different tables, each with its own suffix which corresponds to the id of the model to which all records in that particular table belong. For example, if I have a Domain AR object with an id of 20, all DomainURL objects that :belong_to that particular Domain object are stored in table domain_urls_20. This necessitates a call to set_table_name before the DomainURL objects are fetched, like so: DomainURL.set_table_name "domain_urls_" + domain.id However, when I go into production mode, I get...
2005 Oct 13
2
[PATCH] sedf get in XendClient API
..."slice", slice, + "latency", latency, + "extratime", extratime + "weight", weight); tools/python/xen/xend/XendClient.py line 351 class URL: ... + def xend_domain_cpu_sedf_get(self, id): + return self.xendPost(self.domainurl(id), + {''op'' : ''cpu_sedf_get''}) tools/python/xen/xend/server/SrvDomain.py class SrvDomain(SrvDir): line 212 ... + def op_cpu_sedf_get(self, op, req): + fn = FormFn(self.xd.domain_cpu_sedf_get, + [['...
2005 Jun 07
8
[PATCH] add dom0 vcpu hotplug control
...000 -0500 +++ b/tools/python/xen/xend/XendClient.py 2005-06-07 16:51:43.086342400 -0500 @@ -271,6 +271,12 @@ ''target'' : mem_target }) return val + def xend_domain_vcpu_hotplug(self, id, vcpu, state): + return self.xendPost(self.domainurl(id), + {''op'' : ''vcpu_hotplug'', + ''vcpu'' : vcpu, + ''state'' : state }) + def xend_domain_vif_limit(self, id, vif, credit,...