Weave Net · Schema

ConnectRequest

Request to connect to a peer

ContainersNetworkingKubernetesDockerIPAMOpen SourceCNCF

Properties

Name Type Description
peer string Peer address or hostname
replace string Whether to replace all existing peers
View JSON Schema on GitHub

JSON Schema

weave-net-connect-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weave-net/refs/heads/main/json-schema/weave-net-connect-request-schema.json",
  "title": "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"
    }
  }
}