Weave Net · JSON Structure

Weave Net Connect Request Structure

Request to connect to a peer

Type: object Properties: 2
ContainersNetworkingKubernetesDockerIPAMOpen SourceCNCF

ConnectRequest is a JSON Structure definition published by Weave Net, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

peer replace

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weave-net/refs/heads/main/json-structure/weave-net-connect-request-structure.json",
  "name": "ConnectRequest",
  "description": "Request to connect to a peer",
  "type": "object",
  "properties": {
    "peer": {
      "type": "string",
      "description": "Peer address or hostname",
      "example": "10.0.1.5"
    },
    "replace": {
      "type": "string",
      "description": "Whether to replace all existing peers",
      "enum": [
        "true",
        "false"
      ],
      "example": "false"
    }
  }
}