model.host
model.host(node)
Returns the Host node corresponding to the given node. The given node can be any directly discovered data node, or a Software Instance or Business Application Instance. If more than one Host is related to the given node (for example a Business Application Instance spread across multiple Hosts), an arbitrary one of the Hosts is returned.
Name clash
The model.host
function, with a lower-case "h" has an unfortunate clash with model.Host
with an upper-case "H", which creates or updates an existing Host node. Be sure to use model.host
with correct capitalisation. Since patterns are not normally responsible for maintaining Host nodes, the system issues a warning if model.Host
is used.
Comments
Log in or register to comment.