Remove Exclude IP/PORT Range

This API is used to remove a specific Excluded Range.

Note: The default exclude range cannot be deleted. The default range includes all TCP/UDP traffic on the Active Adapter via the NV Test Manager web service port, and TCP/UDP traffic on the AutoPass License Server port 1947.

Request

JSON

URL http://ip:port/shunra/api/configuration/exclude
HTTP Method PUT
HTTP Headers

Content-Type: application/json

Accept: application/json

Authorization: See Web Services Authentication.

Body
{
    "from": "1.1.1.1",
    "to": "2.2.2.2",
    "port": 5555,
    "protocol": 17
}

XML

URL http://ip:port/shunra/api/configuration/exclude
HTTP Method PUT
HTTP Headers

Content-Type: application/xml

Accept: application/xml

Authorization: See Web Services Authentication.

Body
<ExcludeRanges>
    <From>1.1.1.1</From>
    <To>2.2.2.2</To>
    <Protocol>17</Protocol>
    <Port>5555</Port>
</ExcludeRanges>

Response

HTTP Response Code 204 - No content
HTTP Headers  
HTTP Body