System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 4/01/2024
Public
Document Table of Contents

2.1.9. get_accessible_services

Description

For SERVICE requirement, retrieve the only service targeted by the specified requirement. For IP/OPTIONAL_IP requirement, retrieve the services that match the SERVICES/OPTIONAL_SERVICES sub-requirement. For SYSTEM requirement, retrieve the services that match the SERVICES/OPTIONAL_SERVICES sub-requirement or SERVICES/OPTIONAL_SERVICES sub-sub-requirement under the IPS/OPTIONAL_IPS sub-requirement.

Availability

All contexts except: DISCOVER, GLOBAL

Usage

get_accessible_services [-hpath <hpath>] [-type <type>] [-agent_type_name <agent-type-name>] <req-id>

ReturnType

String[]

Returns

A list of service paths

Arguments

hpath (optional)
Full hierarchy path of the service
type (optional)
Service type(e.g. master, slave, etile)
agent-type-name (optional)
Debug agent type name
req-id
Requirement ID

Example

get_accessible_services req1