Citrix

Produktdokumentation



Ganzes Dokument herunterladen

traffic_features

Oct. 21, 2015

Features related to network traffic

Properties

Name Data Type Read-Only? Description
message
<String>
Yes

Read only message depending upon feature state

featurestate
<Boolean>
No

Value of feature

Possible values = [true, false]

featurename
<String>
No

Name of feature. Note: For CB 4000 and CB 5000 platform TrafficBridging is not supported.

Possible values = [TrafficAcceleration, TrafficProcessing, TrafficShaping, TrafficBridging]

uiname
<String>
Yes

Display name of feature on GUI

Operations

Note:

Mandatory parameters are marked in red and placeholder content is marked in <green>.

GET (ALL)

Use this operation to get traffic features

HTTP Method: GET

URL: https://<cb_ip_address>/cb/nitro/v1/config/traffic_features

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Accept: application/vnd.com.citrix.cloudbridge.traffic_features_list+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.traffic_features_list+json

Response Payload: JSON

{"traffic_features": [{
"message": <string_value>,
"featurestate": <boolean_value>,
"featurename": <string_value>,
"uiname": <string_value>
}, ...]}

GET

Use this operation to get traffic features

HTTP Method: GET

URL: https://<cb_ip_address>/cb/nitro/v1/config/traffic_features/<featurename>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Accept: application/vnd.com.citrix.cloudbridge.traffic_features+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.traffic_features+json

Response Payload: JSON

{"traffic_features":{
"message": <string_value>,
"featurestate": <boolean_value>,
"featurename": <string_value>,
"uiname": <string_value>
}}

MODIFY

Use this operation to set traffic features

HTTP Method: PUT

URL: https://<cb_ip_address>/cb/nitro/v1/config/traffic_features/<featurename>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Content-Type: application/vnd.com.citrix.cloudbridge.traffic_features+json

Request Payload: JSON

{"traffic_features":{
"featurestate": <boolean_value>,
"featurename": <string_value>
}}

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.traffic_features+json

Response Payload: JSON

{"traffic_features":{
"message": <string_value>,
"featurestate": <boolean_value>,
"featurename": <string_value>,
"uiname": <string_value>
}}
Back to Top