rp_lookup_node_from_host (private)

 rp_lookup_node_from_host host

Defined in packages/acs-tcl/tcl/request-processor-procs.tcl

Lookup host from host_node_map.

Parameters:
host (required)
Returns:
node_id on success or empty string

Partial Call Graph (max 5 caller/called nodes):
%3 acs::root_of_host_noncached acs::root_of_host_noncached (private) rp_lookup_node_from_host rp_lookup_node_from_host acs::root_of_host_noncached->rp_lookup_node_from_host db_string db_string (public) rp_lookup_node_from_host->db_string

Testcases:
No testcase defined.
Source code:
    if {$host ne ""} {
        return [db_string node_id {
            select node_id from host_node_map where host = :host
        } -default ""]
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: