Disks and nics can not only be addressed by indices, but also
by name. Hence add a constructor for this case as well, to be
faithful to the python world.
Signed-off-by: Klaus Aehlig <firstname.lastname@example.org>
Reviewed-by: Hrvoje Ribicic <email@example.com>
Attach a file by drag & drop or click to upload