Add 'graph' option to netdisco-do
This commit is contained in:
@@ -49,10 +49,14 @@ all subroutines.
|
||||
|
||||
=head1 EXPORT
|
||||
|
||||
=over 4
|
||||
|
||||
=item graph()
|
||||
|
||||
Creates netmap of network.
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
||||
sub graph {
|
||||
@@ -113,6 +117,8 @@ sub graph {
|
||||
|
||||
=head1 EXPORT_OK
|
||||
|
||||
=over 4
|
||||
|
||||
=item graph_each($graph_obj, $name)
|
||||
|
||||
Generates subgraph. Does actual GraphViz calls.
|
||||
@@ -350,7 +356,7 @@ sub graph_addnode {
|
||||
return $rv;
|
||||
}
|
||||
|
||||
=head2 make_graph()
|
||||
=item make_graph()
|
||||
|
||||
Returns C<Graph::Undirected> object that represents the discovered network.
|
||||
|
||||
@@ -360,6 +366,8 @@ vertex.
|
||||
|
||||
Nodes without topology information are not included.
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
||||
sub make_graph {
|
||||
|
||||
Reference in New Issue
Block a user