Skip to content

Commit

Permalink
wip: doc list networks in front
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Sep 28, 2023
1 parent 4327f83 commit b429839
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Ravada/Front.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1682,6 +1682,16 @@ sub list_storage_pools($self, $uid, $id_vm, $active=undef) {
return _filter_active($pools, $active);
}

=head2 list_networks
List the virtual networks for a Virtual Machine Manager
Arguments: id vm , id user
Returns: list ref of networks
=cut

sub list_networks($self, $id_vm ,$id_user) {
my $query = "SELECT * FROM virtual_networks "
." WHERE id_vm=?";
Expand Down

0 comments on commit b429839

Please sign in to comment.