Skip to content
Snippets Groups Projects
Commit 8b1dbed3 authored by Erik Reid's avatar Erik Reid
Browse files

updated peer-info schema spec

parent b85e951f
No related branches found
No related tags found
No related merge requests found
......@@ -379,7 +379,7 @@ Any non-empty responses are JSON formatted messages.
The response will be formatted according to the following syntax:
```json
{
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
......@@ -428,10 +428,20 @@ Any non-empty responses are JSON formatted messages.
"required": ["name", "description", "as"],
"additionalProperties": False
},
"ix-public-peer-group": {
"ix-public-peer-list": {
"type": "array",
"items": {"$ref": "#/definitions/ip-address"}
},
"ix-public-peer-info": {
"type": "object",
"properties": {
"peer": {"$ref": "#/definitions/ix-public-peer"},
"group": {"$ref": "#/definitions/ix-public-peer-list"},
"router": {"$ref": "#/definitions/ix-public-peer-list"}
},
"required": ["peer", "group", "router"],
"additionalProperties": False
},
"interface-info": {
"type": "object",
"properties": {
......@@ -462,9 +472,7 @@ Any non-empty responses are JSON formatted messages.
"type": "object",
"properties": {
"ix-public-peer-info": {"$ref": "#/definitions/ix-public-peer"},
"ix-public-peer-group": {
"$ref": "#/definitions/ix-public-peer-group"},
"ix-public-peer-info": {"$ref": "#/definitions/ix-public-peer-info"},
"vpn-rr-peer-info": {"$ref": "#/definitions/vpn-rr-peer"},
"interfaces": {
"type": "array",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment