Commit 6761d2ad authored by Leigh Stoller's avatar Leigh Stoller

Add shorthand method to look up images in emulab-ops.

parent 97c36a04
......@@ -179,6 +179,16 @@ sub LookupByURL($$)
return Image->Lookup($imageid);
}
#
# Lookup a "system" osid, meaning one in the emulab-ops project.
#
sub LookupByName($$)
{
my ($class, $imagename) = @_;
return Image->Lookup(TBOPSPID(), $imagename);
}
#
# Get a list of all running frisbee images.
# XXX if this is actually used, it will have to be fixed; DB no longer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment