NAME

App::Manoc::View::TT::Plugin::PP - Manoc Pretty print plugin for TT

VERSION

version 2.99.3

DESCRIPTION

Manoc TT plugin for pretty printing manoc objects

METHODS

new

Contructor.

manoc_print($object [$params])

Pretty prints $object creating a link. Support model rows, Manoc IPv4 address objects and mac address strings (e.g. "11:22:33:44:55:66").

Interfaces can be represented by hash, e.g. { device => $device_obj, iface => 'port'}.

SYNOPSYS

[% USE PP %]

[% PP.manoc_print( row ) %]

SEE ALSO

App::Manoc

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.