Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manual de usuario Pagina 108

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 107
96 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
7
Return Values
The following table contains the return values.
Example
OS_SLB:: persist($method, $string)
Causes the system to select a real server based on the persist method specified by $method and
$string.
Context
This function can be called from an HTTP request event.
Usage
Can be used to persist based on the specified method.
Input Parameters
The following table contains the input values.
TABLE 118 Return Values
Name Type Description
integer 1 is returned if the server
connection is SSL. Otherwise 0
is returned.
TABLE 119 Input Values
Name Type Description
$method method One of the following values for
the persist methods:
Hash-to-bucket
Hash-to-group-id
Group-or-server-id
Server-name
Server-alias-name
Passive-persist
$string string The real server name.
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST {
if(OS_SLB::is_server_ssl == 1)
{
print "The server connection is SSL\n";
}
}
Vista de pagina 107
1 2 ... 103 104 105 106 107 108 109 110 111 112 113 ... 131 132

Comentarios a estos manuales

Sin comentarios