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

added asn to peer-info schema in docs

parent c4fadb7e
No related branches found
No related tags found
No related merge requests found
......@@ -733,7 +733,30 @@ Any non-empty responses are JSON formatted messages.
},
"required": ["oid", "community", "hostname"],
"additionalProperties": False
},
"asn-group-member": {
"type": "object",
"properties": {
"router": {"type": "string"},
"address": {"type": "string"},
"group": {"type": "string"}
},
"required": ["router", "address", "group"],
"additionalProperties": False
},
"asn-group": {
"type": "object",
"properties": {
"asn": {"type": "integer"},
"peers": {
"type": "array",
"items": {"$ref": "#/definitions/asn-group-member"}
}
},
"required": ["asn", "peers"],
"additionalProperties": False
}
},
"type": "object",
......@@ -749,7 +772,8 @@ Any non-empty responses are JSON formatted messages.
"snmp": {
"type": "array",
"items": {"$ref": "#/definitions/snmp-info"}
}
},
"asn": {"$ref": "#/definitions/asn-group"}
},
"additionalProperties": False
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment