Resource URL: /platform/<<version=3>>/cluster/diagnostics/netlogger/settings

    Overview: This resource configures isi_netlogger.

     Methods: GET, PUT

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

Method GET: Get the default options for isi_netlogger.

       URL: GET /platform/<<version=3>>/cluster/diagnostics/netlogger/settings

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"
        }
      }
    }, 
    {
      "type": "object", 
      "properties": {
        "count": {
          "required": false, 
          "minimum": 0, 
          "type": "integer", 
          "description": "Count of capture files to keep, 0 is infinite.", 
          "maximum": 1024
        }, 
        "snaplength": {
          "required": false, 
          "minimum": 64, 
          "type": "integer", 
          "description": "Amount of bytes per packet to capture", 
          "maximum": 9100
        }, 
        "nodelist": {
          "required": false, 
          "type": "string", 
          "description": "List of nodes, or empty for all"
        }, 
        "interfaces": {
          "required": false, 
          "type": "string", 
          "description": "Network interfaces to capture on."
        }, 
        "clients": {
          "required": false, 
          "type": "string", 
          "description": "IP Addresses or host names of clients"
        }, 
        "duration": {
          "required": false, 
          "minimum": 1, 
          "type": "integer", 
          "description": "Duration in minutes of each capture file", 
          "maximum": 255
        }, 
        "ports": {
          "required": false, 
          "type": "string", 
          "description": "List of Integers of TCP or UDP ports"
        }, 
        "protocols": {
          "required": false, 
          "type": "string", 
          "description": "which protocol(s) to gather on"
        }
      }
    }
  ]
}

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

Method PUT: Set the default options for isi_netlogger.

       URL: PUT /platform/<<version=3>>/cluster/diagnostics/netlogger/settings

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "properties": {
    "count": {
      "required": false, 
      "minimum": 0, 
      "type": "integer", 
      "description": "Count of capture files to keep, 0 is infinite.", 
      "maximum": 1024
    }, 
    "snaplength": {
      "required": false, 
      "minimum": 64, 
      "type": "integer", 
      "description": "Amount of bytes per packet to capture", 
      "maximum": 9100
    }, 
    "nodelist": {
      "required": false, 
      "type": "string", 
      "description": "List of nodes, or empty for all"
    }, 
    "interfaces": {
      "required": false, 
      "type": "string", 
      "description": "Network interfaces to capture on."
    }, 
    "clients": {
      "required": false, 
      "type": "string", 
      "description": "IP Addresses or host names of clients"
    }, 
    "duration": {
      "required": false, 
      "minimum": 1, 
      "type": "integer", 
      "description": "Duration in minutes of each capture file", 
      "maximum": 255
    }, 
    "ports": {
      "required": false, 
      "type": "string", 
      "description": "List of Integers of TCP or UDP ports"
    }, 
    "protocols": {
      "required": false, 
      "type": "string", 
      "description": "which protocol(s) to gather on"
    }
  }
}

PUT 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"
        }
      }
    }, 
    {
      "type": "object", 
      "properties": {
        "count": {
          "required": false, 
          "minimum": 0, 
          "type": "integer", 
          "description": "Count of capture files to keep, 0 is infinite.", 
          "maximum": 1024
        }, 
        "snaplength": {
          "required": false, 
          "minimum": 64, 
          "type": "integer", 
          "description": "Amount of bytes per packet to capture", 
          "maximum": 9100
        }, 
        "nodelist": {
          "required": false, 
          "type": "string", 
          "description": "List of nodes, or empty for all"
        }, 
        "interfaces": {
          "required": false, 
          "type": "string", 
          "description": "Network interfaces to capture on."
        }, 
        "clients": {
          "required": false, 
          "type": "string", 
          "description": "IP Addresses or host names of clients"
        }, 
        "duration": {
          "required": false, 
          "minimum": 1, 
          "type": "integer", 
          "description": "Duration in minutes of each capture file", 
          "maximum": 255
        }, 
        "ports": {
          "required": false, 
          "type": "string", 
          "description": "List of Integers of TCP or UDP ports"
        }, 
        "protocols": {
          "required": false, 
          "type": "string", 
          "description": "which protocol(s) to gather on"
        }
      }
    }
  ]
}
