
Brocade Virtual ADX OpenScript API Guide 89
53-1003243-01
Chapter
7
Server Load Balancing API Reference
In this chapter
This chapter contains the following sections:
•Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
•Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Overview
The OS_SLB module includes the APIs to retrieve the information about real servers. These APIs
can be called from any event.
The use <package> statement needs to be in the declaration block of the script for methods of that
package to be used.
For example: to use the OS_SLB methods, The OS_SLB package must be declared as follows:
use OS_SLB;
Methods
OS_SLB:: server_name($id)
Returns the real server name that has an ID with the value specified by $id.
OS_SLB::server_name will return an array including server name and port number.
Context
This function can be called from any event.
Usage
Can be used to check the server name.
Comentarios a estos manuales