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

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: