POST groupserver/transports/gsvr
Two web methods POST groupserver/transports/gsvr modify the definitions of the transports of the primary or backup group servers.
The gsvr in the URI indicates either the primary or backup group server.
After modifying the transport definitions, restart the group servers. See POST groupserver.
Example Requests
curl -X POST http://host:port/api/v1/groupserver/transports/primary -d @json_file
curl -X POST http://host:port/api/v1/groupserver/transports/backup -d @json_file
Input Data
Supply the transport definitions in JSON format, for example:
{ "server_transport": { "name": "_GroupServerTport1", "relationships": [ { "transport": "_GroupClientTport" } ], "config": { "transport_type": "dtcp", "port": "7777", "virtual_name": "_Primary_Group_Server_VName", "mode": "server" } }, "client_transport": { "name": "_GroupClientTport", "relationships": [ { "transport": "_GroupServerTport1" } ], "config": { "transport_type": "dtcp", "port": "7777", "virtual_name": "_Primary_Group_Server_VName", "mode": "client" } }
Copyright © Cloud Software Group, Inc. All rights reserved.