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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 117
106 Brocade Virtual ADX OpenScript API Guide
53-1003243-01
Methods
7
Example
NOTE
This API returns the status of the real server ports, which belong to group-id 10, that are bind to the
virtual service port where OpenScript is bind only.
OS _SLB:: virtual_server_name()
Description
Returns the name of the virtual server.
Context
This function can be called from any event.
Usage
This function can be used to check the virtual server name.
Input Parameters
None
Return Values
The following table contains the return values.
Example
TABLE 127 Return Values
Name Type Description
The current virtual server name.
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST {
my $groupStatus = OS_SLB::is_group_up(“10”);
}
use OS_SLB;
use OS_HTTP_REQUEST;
sub HTTP_REQUEST {
OS_SLB::virtual_server_name;
}
Vista de pagina 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 131 132

Comentarios a estos manuales

Sin comentarios