admin functions (host)

For information on how to import the functions in this module, refer to the main admin library page.

9 functions
Function nameDescription
admin:get-host-ids This function returns all the host IDs from the configuration.
admin:host-exists This function determines whether or not the specified Host exists.
admin:host-get-group This function returns the group ID for the host with the specified ID.
admin:host-get-id This function return the ID for the specified host from the configuration.
admin:host-get-name This function returns the name for the host with the specified ID.
admin:host-get-port This function returns the bind port for the host with the specified ID.
admin:host-set-group This function changes the group to which an existing host belongs to the newly specified value.
admin:host-set-name This function changes the name of an existing host to the newly specified value.
admin:host-set-port This function changes the bind port value for the host to the newly specified value.