NAME

DNS::Oterica::Node - DNSO node. belongs to families.

VERSION

version 0.314

OVERVIEW

A node is any part of a network, either a domain or a node. It is a member of zero or more families.

Like other DNS::Oterica objects, they should be created through the hub.

PERL VERSION

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

ATTRIBUTES

domain

This is a string representing the domain's domain name, for example example.com.

families

This is an arrayref of the families in which the node has been placed.

METHODS

add_to_family

$node->add_to_family($family);

This method adds the node to the given family, which may be given either as an object or as a name.

If the node is already in the family, nothing happens.

in_node_family

if ($node->in_node_family($family)) { ... }

This method returns true if the node is a member of the named (or passed) family and false otherwise.

as_data_lines

This method returns a list of lines of configuration output.

By default, it returns nothing.

AUTHOR

Ricardo SIGNES <cpan@semiotic.systems>

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by Ricardo SIGNES.

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