changedInput schema / properties / site / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "endpoint": {
- "anyOf": [
- {
- "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}:\\d{1,5}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The office router's fixed public IPv4:port; omit or null to learn a roaming endpoint"
- },
- "persistent_keepalive_seconds": {
- "maximum": 600,
- "minimum": 0,
- "type": "integer"
- },
- "remote_prefixes": {
- "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
- "items": {
- "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
- "type": "string"
- },
- "maxItems": 16,
- "minItems": 1,
- "type": "array"
- },
- "router_model": {
- "enum": [
- "mikrotik",
- "pfsense",
- "opnsense",
- "unifi",
- "linux",
- "other"
- ],
- "type": "string"
- }
- },
- "required": [
- "remote_prefixes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "legacy_compat": {
- "description": "Request only when the gateway advertises legacy_compat in ipsec_profiles; cannot be true together with pqc",
- "type": "boolean"
- },
- "pqc": {
- "description": "Request only when the gateway advertises pqc in ipsec_profiles; cannot be true together with legacy_compat. Requested PQC is not proof of negotiated post_quantum.",
- "type": "boolean"
- },
- "remote_address": {
- "anyOf": [
- {
- "format": "ipv4",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "The site's canonical public IPv4 address; omit or null for a dynamic address. No port. The backend validates address and prefix eligibility."
- },
- "remote_prefixes": {
- "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
- "items": {
- "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
- "type": "string"
- },
- "maxItems": 16,
- "minItems": 1,
- "type": "array"
- },
- "vendor": {
- "description": "Advertised router recipe vendor; omitted uses generic_strongswan",
- "enum": [
- "fortigate",
- "mikrotik",
- "pfsense",
- "opnsense",
- "cisco_ios_xe",
- "cisco_asa",
- "unifi",
- "junos_srx",
- "panos",
- "generic_strongswan",
- "generic_libreswan"
- ],
- "type": "string"
- }
- },
- "required": [
- "remote_prefixes"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "endpoint": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}:\\d{1,5}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The office router's fixed public IPv4:port; omit or null to learn a roaming endpoint"
+ },
+ "persistent_keepalive_seconds": {
+ "maximum": 600,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "remote_prefixes": {
+ "description": "The office's PRIVATE IPv4 networks (10/8, 172.16/12, 192.168/16 or 100.64/10), canonical and disjoint",
+ "items": {
+ "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
+ "type": "string"
+ },
+ "maxItems": 16,
+ "minItems": 1,
+ "type": "array"
+ },
+ "router_model": {
+ "enum": [
+ "mikrotik",
+ "pfsense",
+ "opnsense",
+ "unifi",
+ "linux",
+ "other"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "remote_prefixes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bgp": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accept": {
+ "enum": [
+ "listed",
+ "any_private"
+ ],
+ "type": "string"
+ },
+ "hold_seconds": {
+ "maximum": 180,
+ "minimum": 9,
+ "type": "integer"
+ },
+ "inner": {
+ "anyOf": [
+ {
+ "format": "ipv4",
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "keepalive_seconds": {
+ "maximum": 60,
+ "minimum": 3,
+ "type": "integer"
+ },
+ "local_asn": {
+ "maximum": 4294967294,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "peer_asn": {
+ "maximum": 4294967294,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "legacy_compat": {
+ "description": "Request only when the gateway advertises legacy_compat in ipsec_profiles; cannot be true together with pqc",
+ "type": "boolean"
+ },
+ "pqc": {
+ "description": "Request only when the gateway advertises pqc in ipsec_profiles; cannot be true together with legacy_compat. Requested PQC is not proof of negotiated post_quantum.",
+ "type": "boolean"
+ },
+ "remote_address": {
+ "anyOf": [
+ {
+ "format": "ipv4",
+ "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The site's canonical public IPv4 address; omit or null for a dynamic address. No port. The backend validates address and prefix eligibility."
+ },
+ "remote_prefixes": {
+ "items": {
+ "pattern": "^\\d{1,3}(?:\\.\\d{1,3}){3}\\/(?:[0-9]|[12][0-9]|3[0-2])$",
+ "type": "string"
+ },
+ "maxItems": 16,
+ "type": "array"
+ },
+ "tuning": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "esp_lifetime_seconds": {
+ "anyOf": [
+ {
+ "maximum": 86400,
+ "minimum": 300,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Phase 2 lifetime in seconds. 300-86400 is the outer limit; the gateway's ipsec_tuning.esp_lifetime {min, max} is the range offered now. null or omitted is Automatic."
+ },
+ "ike_lifetime_seconds": {
+ "anyOf": [
+ {
+ "maximum": 172800,
+ "minimum": 900,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Phase 1 lifetime in seconds. 900-172800 is the outer limit; the gateway's ipsec_tuning.ike_lifetime {min, max} is the range offered now. null or omitted is Automatic."
+ },
+ "ke_groups": {
+ "anyOf": [
+ {
+ "items": {
+ "anyOf": [
+ {
+ "const": 19,
+ "type": "number"
+ },
+ {
+ "const": 20,
+ "type": "number"
+ },
+ {
+ "const": 21,
+ "type": "number"
+ },
+ {
+ "const": 31,
+ "type": "number"
+ },
+ {
+ "const": 15,
+ "type": "number"
+ },
+ {
+ "const": 16,
+ "type": "number"
+ },
+ {
+ "const": 14,
+ "type": "number"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Key exchange group IDs, exactly these. These seven are the most the platform can ever accept; the VPN's gateway ipsec_tuning.ke_groups lists the ones offered now (the backend refuses others with vpn_ipsec_tuning_not_allowed). null or omitted is Automatic."
+ },
+ "nat_traversal": {
+ "enum": [
+ "auto",
+ "off",
+ "forced"
+ ],
+ "type": "string"
+ },
+ "pfs": {
+ "enum": [
+ "auto",
+ "on",
+ "off"
+ ],
+ "type": "string"
+ },
+ "suites": {
+ "anyOf": [
+ {
+ "items": {
+ "enum": [
+ "aes256gcm",
+ "chacha20poly1305",
+ "aes128gcm",
+ "aes256-sha512",
+ "aes256-sha384",
+ "aes256-sha256",
+ "aes128-sha512",
+ "aes128-sha384",
+ "aes128-sha256"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "vendor": {
+ "description": "Advertised router recipe vendor; omitted uses generic_strongswan",
+ "enum": [
+ "fortigate",
+ "mikrotik",
+ "pfsense",
+ "opnsense",
+ "cisco_ios_xe",
+ "cisco_asa",
+ "unifi",
+ "junos_srx",
+ "panos",
+ "generic_strongswan",
+ "generic_libreswan"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+]