Commit 6761d2ad authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

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
Supports Markdown
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