Refer to the table below for details about the Virtual Service variables.

Parameter

Type

Choices

Comment

traffic_delivery_mode

String

server_pool

subvs

You can either attach a server pool or SubVS to a Virtual Service

subvs_id Int The ID of the SubVS. Set it to 0 if it is not a SubVS.
traffic_delivery Object An object that makes up the default settings for a server pool
subvs_list Object An object of nested SubVS objects
security Object An object of all security settings for the Virtual Service
certficate_mode String

- 'cert_repo'

- 'cert_upload'

The source of the certificate. Specifying cert_upload requires a key with certificate.
networking Object An object that has all network-related features for a Virtual Service
properties Object An object that holds standard properties of the LoadMaster
preprocess_rules List A list of pre-process rules (Virtual Service only)
request_rules List A list of request rules (Virtual Service only)
response_rules List A list of response rules (Virtual Service only)
match_body_rules List A list of match body rules (Virtual Service only)
content_rules List A list of content rules
add_via Int

0 - Legacy Operation(X-Forwarded-For)

1 - X-Forwarded-For (+ Via)

2 - None

3 - X-ClientSide (+ Via)

4 - X-ClientSide (No Via)

5 - X-Forwarded-For (No Via)

6 - Via Only

This corresponds to the Add HTTP Headers field in the LoadMaster UI. Select which headers to add to HTTP requests. X-ClientSide and X-Forwarded-For are only added to non-transparent connections.