Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Computerzubehör Brocade Virtual ADX OpenScript API Guide (Supporting ADX v herunter. Brocade Virtual ADX OpenScript API Guide (Supporting ADX v03.1.00) User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 132
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen

Inhaltsverzeichnis

Seite 1 - Brocade Virtual ADX

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

Seite 2 - Document History

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

Seite 3 - Contents

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

Seite 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

Seite 5

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

Seite 6

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

Seite 7

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

Seite 8

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

Seite 9 - Document conventions

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

Seite 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

Seite 11 - Brocade resources

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

Seite 12 - Document feedback

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

Seite 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

Seite 14

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

Seite 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

Seite 16 - Reducing memory usage

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

Seite 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

Seite 18 - OS_IP::dst

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

Seite 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

Seite 20 - OS_IP::flags

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

Seite 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

Seite 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

Seite 23 - OS_IP::getHeaderLength

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

Seite 24 - OS_IP::getPayloadLength

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

Seite 25 - OS_IP::getOptionsLength

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

Seite 26 - OS_IP::raw

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

Seite 27

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

Seite 28

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

Seite 29 - TCP API reference

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

Seite 30 - OS_TCP::dst

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

Seite 31 - OS_TCP::flags

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

Seite 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

Seite 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

Seite 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

Seite 35 - OS_TCP::getHeaderLength

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

Seite 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

Seite 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

Seite 38 - OS_TCP::collect

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

Seite 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

Seite 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

Seite 41 - Performance Impact

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

Seite 42

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

Seite 43

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

Seite 44 - OS_UDP::dst

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

Seite 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

Seite 46 - OS_UDP::payload

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

Seite 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.

Seite 48 - OS_UDP::raw

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

Seite 49 - HTTP REQUEST API reference

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

Seite 50

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

Seite 51 - OS_HTTP_REQUEST::url

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

Seite 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

Seite 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

Seite 54 - OS_HTTP_REQUEST::query

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

Seite 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

Seite 56 - OS_HTTP_REQUEST::version

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

Seite 57 - TABLE 39 Input Values

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

Seite 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

Seite 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

Seite 60

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

Seite 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

Seite 62 - OS_HTTP_REQUEST::collect

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

Seite 63 - OS_HTTP_REQUEST::content

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

Seite 64 - TABLE 49 Input Values

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

Seite 65 - TABLE 50 Input Values

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

Seite 66 - TABLE 52 Input Values

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

Seite 67 - OS_HTTP_REQUEST::content_type

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

Seite 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

Seite 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

Seite 70

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

Seite 71

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

Seite 72 - TABLE 60 Input Values

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

Seite 73

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

Seite 74

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

Seite 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

Seite 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

Seite 77 - OS_HTTP_RESPONSE::version

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

Seite 78 - TABLE 66 Input Values

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

Seite 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

Seite 80

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

Seite 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 $

Seite 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

Seite 83 - TABLE 74 Input Values

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 89 - TABLE 84 Input Values

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 96 - TABLE 98 Input Values

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

Seite 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

Seite 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

Seite 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

Seite 100 - Return Values

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

Seite 101 - Overview

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

Seite 102 - TABLE 106 Return Values

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

Seite 103 - OS_SLB:: servers($group_id)

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

Seite 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

Seite 105 - TABLE 114 Return Values

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

Seite 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

Seite 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

Seite 108

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

Seite 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

Seite 110

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

Seite 111 - OS_SLB:: reply($data)

viii Brocade Virtual ADX OpenScript API Guide53-1003243-01

Seite 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

Seite 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

Seite 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

Seite 115 - OS _SLB:: send_to_client

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 120

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

Seite 121

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

Seite 122 - Input parameters

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

Seite 123 - Return values

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

Seite 124

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

Seite 125

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

Seite 126 - Examples

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

Seite 127

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

Seite 128 - 53-1003243-01

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

Seite 129

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

Seite 130

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

Seite 131

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

Seite 132

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

Kommentare zu diesen Handbüchern

Keine Kommentare