Resource URL: /platform/<<version=3>>/network/external

    Overview: This resource exposes OneFS external network settings.

     Methods: GET, PUT

********************************************************************************

Method GET: View external network settings.

       URL: GET /platform/<<version=3>>/network/external

There are no query arguments for this method.

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "settings": {
          "type": "object", 
          "properties": {
            "sbr": {
              "required": true, 
              "type": "boolean", 
              "description": "Enable or disable Source Based Routing (Defaults to false)"
            }, 
            "sc_rebalance_delay": {
              "required": true, 
              "minimum": 0, 
              "type": "integer", 
              "description": "Delay in seconds for IP rebalance.", 
              "maximum": 10
            }, 
            "default_groupnet": {
              "required": true, 
              "type": "string", 
              "description": "Default client-side DNS settings for non-multitenancy aware programs"
            }, 
            "tcp_ports": {
              "items": {
                "minimum": 0, 
                "type": "integer", 
                "maximum": 65535
              }, 
              "required": true, 
              "type": "array", 
              "description": "List of client TCP ports."
            }
          }
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify external network settings.

       URL: PUT /platform/<<version=3>>/network/external

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "sbr": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "type": "boolean", 
          "description": "Enable or disable Source Based Routing (Defaults to false)"
        }
      ]
    }, 
    "tcp_ports": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "items": {
            "minimum": 0, 
            "type": "integer", 
            "maximum": 65535
          }, 
          "type": "array", 
          "description": "List of client TCP ports."
        }
      ]
    }, 
    "sc_rebalance_delay": {
      "type": [
        {
          "enum": [
            "@DEFAULT"
          ], 
          "type": "string"
        }, 
        {
          "minimum": 0, 
          "type": "integer", 
          "description": "Delay in seconds for IP rebalance.", 
          "maximum": 10
        }
      ]
    }
  }
}

There is no JSON response body for this method.
