beautypg.com

Os _slb:: is_group_up($group-id), Example, Description – Brocade Virtual ADX OpenScript API Guide (Supporting ADX v03.1.00) User Manual

Page 117: Context, Usage, Input parameters, Return values

background image

Brocade Virtual ADX OpenScript API Guide

105

53-1003243-01

Methods

7

Example

OS _SLB:: is_group_up($group-id)

Description

Returns the state of the certain group.

Context

This function can be called from any event.

Usage

This function can be used to check the state of the certain group.

Input Parameters

The following table contains the input values.

Return Values

The following table contains the return values.

TABLE 125

Input Values

Name

Type

Description

$group-id

Integer

The group id.

TABLE 126

Return Values

Name

Type

Description

integer

“1” is returned if the group is
active
“0” is returned if the group is
inactive

use OS_SLB;

use OS_HTTP_REQUEST;

sub HTTP_REQUEST {

OS_HTTP_REQUEST::collect;

}

sub HTTP_REQUEST_DATA {

OS_SLB::send_to_server;

}