System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 6/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

1.1.78. get_service_paths

Description

Returns a list of paths to nodes that implement the requested service type. Service paths can be filtered based on a number of different optional parameters.

Usage

get_service_paths [-device <device-path>] [-hpath <hpath-prefix>] [-type <component-type>] <service-type>

ReturnType

String[]

Returns

Arguments

device-path (optional)
hpath-prefix (optional)
component-type (optional)
service-type

Example

To list all paths to nodes that implement a supported service type:
	  get_service_paths <service-type>
To list all paths to nodes that implement the requested service type under a specific hpath:
	  get_service_paths -hpath <hpath-prefix> <service-type>
To list all paths to nodes attached to a specific component type that implement the requested service:
	  get_service_paths -type <component-type> <service-type>
To list all paths to nodes on a specific device that implement the requested service type:
	  get_service_paths -device <device-path> <service-type>