{"id":7064,"date":"2022-12-20T19:34:49","date_gmt":"2022-12-20T22:34:49","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/manatoolsmodulehosts-man3\/"},"modified":"2022-12-20T19:34:49","modified_gmt":"2022-12-20T22:34:49","slug":"manatoolsmodulehosts-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/manatoolsmodulehosts-man3\/","title":{"rendered":"ManaTools::Module::Hosts (man3)"},"content":{"rendered":"<h1 align=\"center\">ManaTools::Module::Hosts<\/h1>\n<hr>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>start<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method extends Module::start and is invoked to <br \/> start host manager<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>_changeHostNameDialog<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object <br \/> $headerString: a title for the dialog<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method display a dialog allowing the user <br \/> to change the hostname<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>_addHostDialog<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This subroutine creates the Host dialog to add host definitions<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>_edtHostDialog<\/b> <i><small><br \/> INPUT<\/small><\/i> <br \/> $self: this object <b><br \/> $hostIp<\/b> : the ip of the host entry that we want to modify <b><br \/> $hostName<\/b> : the name of the host entry we want to modify <b><br \/> $hostAliases<\/b> : aliases of the host entry we want to modify<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This subroutine creates the Host dialog to modify host definitions<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>setupTable<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object <br \/> $data: reference to the array containaing the host data to show into the table<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This subroutine populates a previously created YTable with the hosts data retrieved by the Config::Hosts module<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>ManaTools::Module::Hosts start INPUT $self: this object DESCRIPTION This method extends Module::start and is invoked to start host manager _changeHostNameDialog INPUT $self: this object $headerString: a title for the dialog DESCRIPTION This method display a dialog allowing the user to change the hostname _addHostDialog INPUT $self: this object DESCRIPTION This subroutine creates the Host dialog to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3410],"class_list":["post-7064","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-manatoolsmodulehosts"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=7064"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/7064\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=7064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=7064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=7064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}