[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST v2 04/11] HostDB: introduce set_property



Roger Pau Monne writes ("[PATCH OSSTEST v2 04/11] HostDB: introduce 
set_property"):
> And provide a helper in TestSupport to use it. This allows osstest to
> set host properties from test script themselves (instead of using
> the mg-hosts clu).
...
> +sub set_property($$$$) {
> +    my ($hd, $ho, $prop, $val) = @_;
> +    my $rmq = $dbh_tests->prepare(<<END);
> +        DELETE FROM resource_properties
> +               WHERE restype='host' and resname=? AND name=?

This is where the test for the intended blessing should occur IMO.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.