Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Manuale Utente

Navigare online o scaricare Manuale Utente per Accessori per computer Brocade Virtual ADX OpenScript API Guide (Supporting ADX v. Brocade Virtual ADX OpenScript API Guide (Supporting ADX v03.1.00) User Manual Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 132
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti

Sommario

Pagina 1 - Brocade Virtual ADX

53-1003243-01July 2014®Brocade Virtual ADXOpenScript API GuideSupporting Brocade Virtual ADX version 03.1.00

Pagina 2 - Document History

x Brocade Virtual ADX OpenScript API Guide53-1003243-01Command syntax conventionsNotes, cautions, and warningsThe following notices and statements may

Pagina 3 - Contents

88 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6OS_HTTP_RESPONSE::headers_as_stringReturns a string representation of all HTTP respons

Pagina 4 - Chapter 4 UDP API reference

Brocade Virtual ADX OpenScript API Guide 8953-1003243-01Chapter7Server Load Balancing API ReferenceIn this chapterThis chapter contains the following

Pagina 5

90 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods7Input ParametersThe following table contains the input values.Return ValuesThe followi

Pagina 6

Brocade Virtual ADX OpenScript API Guide 9153-1003243-01Methods7Return ValuesThe following table contains the return values.ExampleOS_SLB:: servers($g

Pagina 7

92 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods7ExampleOS_SLB::is_server_up("server-name"=>$name, "server-id"=&

Pagina 8

Brocade Virtual ADX OpenScript API Guide 9353-1003243-01Methods7ExampleOS_SLB:: get_server_current_connections($name)Returns the number of current con

Pagina 9 - Document conventions

94 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods7OS_SLB:: get_server_port_current_connections($name, $port)Returns the current connec

Pagina 10 - Notes, cautions, and warnings

Brocade Virtual ADX OpenScript API Guide 9553-1003243-01Methods7UsageCan be used to perform SSL specific operations.Input ParametersNone.Return Values

Pagina 11 - Brocade resources

96 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods7Return ValuesThe following table contains the return values.ExampleOS_SLB:: persist($m

Pagina 12 - Document feedback

Brocade Virtual ADX OpenScript API Guide 9753-1003243-01Methods7Return ValuesNoneExampleOS_SLB:: passive_persist($method, $string)Causes the system to

Pagina 13 - About OpenScript

Brocade Virtual ADX OpenScript API Guide xi53-1003243-01Brocade resourcesTo get up-to-the-minute information, go to http://my.brocade.com to register

Pagina 14

98 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods7OS_SLB:: persist_lookup($method, $string)Returns the server name stored in the persist

Pagina 15 - Default action

Brocade Virtual ADX OpenScript API Guide 9953-1003243-01Methods7ExampleOS_SLB:: reply($data)Causes the system send an error response to a client inste

Pagina 16 - Reducing memory usage

100 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods7Input ParametersThe following table contains the input values.Return ValuesNoneExampl

Pagina 17 - IP API reference

Brocade Virtual ADX OpenScript API Guide 10153-1003243-01Methods7ExampleOS _SLB:: log($log_string)DescriptionCauses the system to send the log string

Pagina 18 - OS_IP::dst

102 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods7OS _SLB:: dropDescriptionCauses the system to drop a UDP packet.ContextThis function

Pagina 19 - OS_IP::protocol

Brocade Virtual ADX OpenScript API Guide 10353-1003243-01Methods7Input ParametersThe following table contains the input values.NOTEIf no input is incl

Pagina 20 - OS_IP::flags

104 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods7Return ValuesNone.ExampleOS _SLB:: send_to_serverDescriptionCauses the system send th

Pagina 21 - OS_IP::tos

Brocade Virtual ADX OpenScript API Guide 10553-1003243-01Methods7ExampleOS _SLB:: is_group_up($group-id)DescriptionReturns the state of the certain gr

Pagina 22 - OS_IP::options

106 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods7ExampleNOTEThis API returns the status of the real server ports, which belong to grou

Pagina 23 - OS_IP::getHeaderLength

Brocade Virtual ADX OpenScript API Guide 10753-1003243-01Chapter8Connection API ReferenceIn this chapterThis chapter contains the following sections:•

Pagina 24 - OS_IP::getPayloadLength

xii Brocade Virtual ADX OpenScript API Guide53-1003243-01Document feedback• Brocade Supplemental Support augments your existing OEM support contract,

Pagina 25 - OS_IP::getOptionsLength

108 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods8Return ValuesThe following table contains the return values.ExampleTABLE 129 Return V

Pagina 26 - OS_IP::raw

Brocade Virtual ADX OpenScript API Guide 10953-1003243-01Chapter9Content Inspection API ReferenceIn this chapterThis chapter contains the following se

Pagina 27

110 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods9• Content Inspection API operations are transactional:- The matching and replacing of

Pagina 28

Brocade Virtual ADX OpenScript API Guide 11153-1003243-01Methods9Return valuesNoneExampleOS_PAYLOAD_INSPECT::match(regexp1, [regexp2 …])Specifies the

Pagina 29 - TCP API reference

112 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods9Input parametersThe following table contains the input values.Return valuesNoneExampl

Pagina 30 - OS_TCP::dst

Brocade Virtual ADX OpenScript API Guide 11353-1003243-01Methods9OS_PAYLOAD_INSPECT::matched_replace(mstr1, rstr1, [mstr2, rstr2, …])Replaces match st

Pagina 31 - OS_TCP::flags

114 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods9Return valuesNoneExamplesIn the following example, when the response content type is

Pagina 32 - OS_TCP::seq

Brocade Virtual ADX OpenScript API Guide 11553-1003243-01Methods9In the following example, when response content type is text, the script replaces all

Pagina 33 - OS_TCP::ack

116 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods9ExampleIn the following example, the script changes the maximum match size during pay

Pagina 34 - OS_TCP::options

Brocade Virtual ADX OpenScript API Guide 11753-1003243-01Methods9OS_PAYLOAD_INSPECT::matched_str ()Returns the substring that was matched in scanning

Pagina 35 - OS_TCP::getHeaderLength

Brocade Virtual ADX OpenScript API Guide 153-1003243-01Chapter1About OpenScriptOverviewBrocade Virtual ADX Perl Extensions allow scripts to access loa

Pagina 36 - OS_TCP::getPayloadLength

118 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods9In the following example, the script searches for the ‘correct’ and ‘login’ strings i

Pagina 37 - OS_TCP::getOptionsLength

Brocade Virtual ADX OpenScript API Guide 11953-1003243-01Methods9ExampleIn the following example, the script scans the payload to read the member info

Pagina 38 - OS_TCP::collect

120 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods9

Pagina 39 - OS_TCP::payload

2 Brocade Virtual ADX OpenScript API Guide53-1003243-01Overview1Table 1 provides a list of application and protocol events provided for OpenScript. TA

Pagina 40 - OS_TCP::payload ($data)

Brocade Virtual ADX OpenScript API Guide 353-1003243-01Overview1Error handlingAll OpenScript API methods return an empty list in the list context, an

Pagina 41 - Performance Impact

4 Brocade Virtual ADX OpenScript API Guide53-1003243-01Reducing memory usage1Reducing memory usageOpenScript will automatically free up memory when th

Pagina 42

Brocade Virtual ADX OpenScript API Guide 553-1003243-01Chapter2IP API referenceIn this chapterThis chapter contains the following sections:•Overview.

Pagina 43

6 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods2Return ValuesThe following table contains the return values.ExampleOS_IP::dstDescriptio

Pagina 44 - OS_UDP::dst

Brocade Virtual ADX OpenScript API Guide 753-1003243-01Methods2ExampleOS_IP::protocolDescriptionReturns the protocol type of the current packet.Contex

Pagina 45 - OS_UDP::getPayloadLength

Copyright © 2014 Brocade Communications Systems, Inc. All Rights Reserved.ADX, AnyIO, Brocade, Brocade Assurance, the B-wing symbol, DCX, Fabric OS, I

Pagina 46 - OS_UDP::payload

8 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods2ExampleOS_IP::flagsDescriptionReturns the flags set in the current packet.ContextCalled

Pagina 47 - OS_UDP::payload ($data)

Brocade Virtual ADX OpenScript API Guide 953-1003243-01Methods2ExampleOS_IP::tosDescriptionReturns the type of service flag set in the current packet.

Pagina 48 - OS_UDP::raw

10 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods2ExampleOS_IP::optionsDescriptionReturns options in the current packet if present other

Pagina 49 - HTTP REQUEST API reference

Brocade Virtual ADX OpenScript API Guide 1153-1003243-01Methods2ExampleOS_IP::getHeaderLengthDescriptionReturns the IP header length in bytes. Header

Pagina 50

12 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods2ExampleOS_IP::getPayloadLengthDescriptionReturns payload length of current packet in b

Pagina 51 - OS_HTTP_REQUEST::url

Brocade Virtual ADX OpenScript API Guide 1353-1003243-01Methods2ExampleOS_IP::getOptionsLengthDescriptionReturns the length of options in bytes if pre

Pagina 52 - OS_HTTP_REQUEST::url($val)

14 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods2ExampleOS_IP::rawDescriptionReturns the data within an IP packet including the IP head

Pagina 53 - OS_HTTP_REQUEST::path($val)

Brocade Virtual ADX OpenScript API Guide 1553-1003243-01Methods2Exampleuse OS_IP;use OS_HTTP_REQUEST;sub HTTP_REQUEST{$raw_data = OS_IP::raw;if(define

Pagina 54 - OS_HTTP_REQUEST::query

16 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods2

Pagina 55 - OS_HTTP_REQUEST::query($val)

Brocade Virtual ADX OpenScript API Guide 1753-1003243-01Chapter3TCP API referenceIn this chapterThis chapter contains the following sections:•Overview

Pagina 56 - OS_HTTP_REQUEST::version

Brocade Virtual ADX OpenScript API Guide iii53-1003243-01ContentsPrefaceDocument conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 57 - TABLE 39 Input Values

18 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods3Return ValuesThe following table contains the return values.ExampleOS_TCP::dstDescript

Pagina 58 - TABLE 41 Return Values

Brocade Virtual ADX OpenScript API Guide 1953-1003243-01Methods3ExampleOS_TCP::flagsDescriptionReturns the TCP flag set in packet.ContextCalled in con

Pagina 59 - TABLE 42 Input Values

20 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods3OS_TCP::winDescriptionReturns the window size (in bytes) of the current TCP packet. Re

Pagina 60

Brocade Virtual ADX OpenScript API Guide 2153-1003243-01Methods3ContextCalled in context of TCP and HTTP. UsageCan be used to perform load-balancing b

Pagina 61 - OS_HTTP_REQUEST::host($value)

22 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods3Return ValuesThe following table contains the return values.ExampleOS_TCP::optionsDesc

Pagina 62 - OS_HTTP_REQUEST::collect

Brocade Virtual ADX OpenScript API Guide 2353-1003243-01Methods3ExampleOS_TCP::getHeaderLengthDescriptionReturns TCP header length in bytes. Header le

Pagina 63 - OS_HTTP_REQUEST::content

24 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods3ExampleOS_TCP::getPayloadLengthDescriptionReturns payload length of current packet. Pa

Pagina 64 - TABLE 49 Input Values

Brocade Virtual ADX OpenScript API Guide 2553-1003243-01Methods3ExampleOS_TCP::getOptionsLengthDescriptionReturns length of options if present, otherw

Pagina 65 - TABLE 50 Input Values

26 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods3ExampleOS_TCP::collectDescriptionReturns the TCP data within a TCP packet.ContextCalle

Pagina 66 - TABLE 52 Input Values

Brocade Virtual ADX OpenScript API Guide 2753-1003243-01Methods3ExampleOS_TCP::payloadDescriptionReturns a packet's TCP payload. Before calling t

Pagina 67 - OS_HTTP_REQUEST::content_type

iv Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 68 - TABLE 55 Input Values

28 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods3ConstraintA “TCP_SERVER_DATA/ TCP_CLIENT_DATA” buffered payload will be forwarded to t

Pagina 69 - TABLE 57 Input Values

Brocade Virtual ADX OpenScript API Guide 2953-1003243-01Methods3Performance ImpactThis function will have a significant impact on system performance.E

Pagina 70

30 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods3

Pagina 71

Brocade Virtual ADX OpenScript API Guide 3153-1003243-01Chapter4UDP API referenceIn this chapterThis chapter contains the following sections:•Overview

Pagina 72 - TABLE 60 Input Values

32 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods4Return ValuesThe following table contains the return values.ExampleOS_UDP::dstReturns

Pagina 73

Brocade Virtual ADX OpenScript API Guide 3353-1003243-01Methods4ExampleOS_UDP::getLengthReturns UDP header and payload length in bytes. ContextCalled

Pagina 74

34 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods4ContextCalled in UDP context only. UsageCan be used to perform load-balancing based on

Pagina 75 - HTTP RESPONSE API reference

Brocade Virtual ADX OpenScript API Guide 3553-1003243-01Methods4Return ValuesThe following table contains the return values.ExampleOS_UDP::payload ($d

Pagina 76 - OS_HTTP_RESPONSE::code ($val)

36 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods4ExampleOS_UDP::rawDescriptionReturns the data within a UDP packet including the UDP he

Pagina 77 - OS_HTTP_RESPONSE::version

Brocade Virtual ADX OpenScript API Guide 3753-1003243-01Chapter5HTTP REQUEST API referenceIn this chapterThis chapter contains the following sections:

Pagina 78 - TABLE 66 Input Values

Brocade Virtual ADX OpenScript API Guide v53-1003243-01Methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 79 - TABLE 68 Input Values

38 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5UsageCan be used to perform load-balancing based on the method.Input ParametersNone.Re

Pagina 80

Brocade Virtual ADX OpenScript API Guide 3953-1003243-01Methods5Input ParametersThe following table contains the input values.Return ValuesNoneExample

Pagina 81 - OS_HTTP_RESPONSE::content

40 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5ExampleOS_HTTP_REQUEST::url($val)Sets the value of the URL to the value specified in $

Pagina 82 - TABLE 73 Input Values

Brocade Virtual ADX OpenScript API Guide 4153-1003243-01Methods5OS_HTTP_REQUEST::pathReturns URL path specified in HTTP request header if it exists, o

Pagina 83 - TABLE 74 Input Values

42 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5Input ParametersThe following table contains the input values.Return ValuesNoneExample

Pagina 84 - TABLE 75 Input Values

Brocade Virtual ADX OpenScript API Guide 4353-1003243-01Methods5ExampleOS_HTTP_REQUEST::query($val)Sets the value of the URL query to the value specif

Pagina 85 - TABLE 76 Input Values

44 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5OS_HTTP_REQUEST::url_extensionReturns URL extension specified in the HTTP request head

Pagina 86 - TABLE 78 Return Values

Brocade Virtual ADX OpenScript API Guide 4553-1003243-01Methods5UsageCan be used to perform load-balancing based on the version.Input ParametersNone.R

Pagina 87 - TABLE 80 Return Values

46 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5Return ValuesNoneExampleOS_HTTP_REQUEST::header($name)Return the HTTP header value of

Pagina 88 - TABLE 81 Input Values

Brocade Virtual ADX OpenScript API Guide 4753-1003243-01Methods5ExampleOS_HTTP_REQUEST::header($name, $value)Set the HTTP header value to the value sp

Pagina 89 - TABLE 84 Input Values

vi Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 90 - TABLE 86 Input Values

48 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5OS_HTTP_REQUEST::headers($name)Gets all the HTTP headers with the same name as an arra

Pagina 91 - TABLE 88 Input Values

Brocade Virtual ADX OpenScript API Guide 4953-1003243-01Methods5Return ValuesThe following table contains the return values.ExampleOS_HTTP_REQUEST::ho

Pagina 92 - TABLE 90 Input Values

50 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5OS_HTTP_REQUEST::collectStarts collecting an HTTP request payload. This is useful only

Pagina 93 - TABLE 92 Input Values

Brocade Virtual ADX OpenScript API Guide 5153-1003243-01Methods5OS_HTTP_REQUEST::contentReturns the request content specified in the HTTP request if i

Pagina 94 - TABLE 93 Input Values

52 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5OS_HTTP_REQUEST::content($value)Sets the request content to the value specified in $va

Pagina 95 - TABLE 96 Input Values

Brocade Virtual ADX OpenScript API Guide 5353-1003243-01Methods5UsageCan be used to insert a header.Input ParametersThe following table contains the i

Pagina 96 - TABLE 98 Input Values

54 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5Input ParametersThe following table contains the input values.Return ValuesNoneExample

Pagina 97 - TABLE 99 Input Values

Brocade Virtual ADX OpenScript API Guide 5553-1003243-01Methods5ExampleOS_HTTP_REQUEST::content_typeReturns request content type if the content-type h

Pagina 98 - TABLE 102 Input Values

56 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5UsageCan be used to perform load-balancing based on the content length.Input Parameter

Pagina 99 - TABLE 103 Return Values

Brocade Virtual ADX OpenScript API Guide 5753-1003243-01Methods5Return ValuesThe following table contains the return values.ExampleOS_HTTP_REQUEST::co

Pagina 100 - Return Values

Brocade Virtual ADX OpenScript API Guide vii53-1003243-01Methods. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 101 - Overview

58 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5OS_HTTP_REQUEST::cookie_countReturns the number of cookies present in the HTTP request

Pagina 102 - TABLE 106 Return Values

Brocade Virtual ADX OpenScript API Guide 5953-1003243-01Methods5Input ParametersThe following table contains the input values.Return ValuesNoneExample

Pagina 103 - OS_SLB:: servers($group_id)

60 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5Input ParametersThe following table contains the input values.Return ValuesNoneExample

Pagina 104 - "port"=>$port)

Brocade Virtual ADX OpenScript API Guide 6153-1003243-01Methods5Exampleuse OS_HTTP_REQUEST;sub HTTP_REQUEST{my $all_headers = OS_HTTP_REQUEST::headers

Pagina 105 - TABLE 114 Return Values

62 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods5

Pagina 106 - OS_SLB:: is_client_ssl

Brocade Virtual ADX OpenScript API Guide 6353-1003243-01Chapter6HTTP RESPONSE API referenceIn this chapterThis chapter contains the following sections

Pagina 107 - OS_SLB:: is_server_ssl

64 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6UsageCan be used to retrieve the response code.Input ParametersNone.Return ValuesThe f

Pagina 108

Brocade Virtual ADX OpenScript API Guide 6553-1003243-01Methods6ExampleOS_HTTP_RESPONSE::version Returns the response version specified in the HTTP re

Pagina 109 - TABLE 120 Input Values

66 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6UsageCan be used to set the version.Input ParametersThe following table contains the i

Pagina 110

Brocade Virtual ADX OpenScript API Guide 6753-1003243-01Methods6Return ValuesThe following table contains the return values.ExampleOS_HTTP_RESPONSE::h

Pagina 111 - OS_SLB:: reply($data)

viii Brocade Virtual ADX OpenScript API Guide53-1003243-01

Pagina 112 - OS _SLB:: reset_client

68 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6ExampleOS_HTTP_RESPONSE::headers($name)Gets the HTTP headers with the same name as a a

Pagina 113 - OS _SLB:: log($log_string)

Brocade Virtual ADX OpenScript API Guide 6953-1003243-01Methods6ContextThis function can be called from an HTTP_RESPONSE_DATA event.UsageThis function

Pagina 114 - OS _SLB:: forward($server)

70 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6UsageA server load balancing action cannot be taken based on the content collected. In

Pagina 115 - OS _SLB:: send_to_client

Brocade Virtual ADX OpenScript API Guide 7153-1003243-01Methods6Return ValuesNonePerformance impactUsing this function will have a significant impact

Pagina 116 - OS _SLB:: send_to_server

72 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6ExampleOS_HTTP_RESPONSE::remove_header ($name) Removes the HTTP header specified in $n

Pagina 117 - TABLE 126 Return Values

Brocade Virtual ADX OpenScript API Guide 7353-1003243-01Methods6NOTEThis API will remove all headers with a value specified by the $name variable (cas

Pagina 118 - TABLE 127 Return Values

74 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6Return ValuesThe following table contains the return values.ExampleOS_HTTP_RESPONSE::c

Pagina 119 - Connection API Reference

Brocade Virtual ADX OpenScript API Guide 7553-1003243-01Methods6ExampleOS_HTTP_RESPONSE::cookie ($name)Returns the cookie value for the cookies specif

Pagina 120

76 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6ContextThis function called in http request context will have no effect.UsageCan be us

Pagina 121

Brocade Virtual ADX OpenScript API Guide 7753-1003243-01Methods6Input ParametersThe following table contains the input values.Return ValuesThe followi

Pagina 122 - Input parameters

Brocade Virtual ADX OpenScript API Guide ix53-1003243-01PrefaceDocument conventionsThis section describes text formatting conventions and important no

Pagina 123 - Return values

78 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6ExampleOS_HTTP_RESPONSE::cookie_path ($name) Gets the cookie path specified by $name

Pagina 124

Brocade Virtual ADX OpenScript API Guide 7953-1003243-01Methods6ContextThis function called in http request context will have no effect.UsageCan be us

Pagina 125

80 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6Return ValuesThe following table contains the output values. ExampleOS_HTTP_RESPONSE::

Pagina 126 - Examples

Brocade Virtual ADX OpenScript API Guide 8153-1003243-01Methods6ExampleOS_HTTP_RESPONSE::cookie_port ($name) Gets the cookie ports for the cookie sp

Pagina 127

82 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6OS_HTTP_RESPONSE::cookie_port ($name, $value) Sets the ports of the cookie specified

Pagina 128 - 53-1003243-01

Brocade Virtual ADX OpenScript API Guide 8353-1003243-01Methods6Input ParametersThe following table contains the input values.Return ValuesThe followi

Pagina 129

84 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6Return ValuesNone.ExampleOS_HTTP_RESPONSE::cookie_expiration($name) Gets the expirat

Pagina 130

Brocade Virtual ADX OpenScript API Guide 8553-1003243-01Methods6OS_HTTP_RESPONSE::cookie_expiration($name, $value) Sets the expiration date and time

Pagina 131

86 Brocade Virtual ADX OpenScript API Guide53-1003243-01Methods6Input ParametersThe following table contains the input values.Return ValuesThe followi

Pagina 132

Brocade Virtual ADX OpenScript API Guide 8753-1003243-01Methods6Return ValuesNone.Example OS_HTTP_RESPONSE::cookie_countReturns the number of cookies

Commenti su questo manuale

Nessun commento