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

updated peer-info schema with new snmp field

parent 2ab0062d
No related branches found
No related tags found
No related merge requests found
......@@ -723,8 +723,17 @@ Any non-empty responses are JSON formatted messages.
"items": {"$ref": "#/definitions/service-info"}
}
}
},
"snmp-info": {
"type": "object",
"properties": {
"hostname": {"type": "string"},
"oid": {"type": "string"},
"community": {"type": "string"}
},
"required": ["oid", "community", "hostname"],
"additionalProperties": False
}
},
"type": "object",
......@@ -736,7 +745,11 @@ Any non-empty responses are JSON formatted messages.
"type": "array",
"items": {"$ref": "#/definitions/interface-lookup-info"}
},
"locations": {"$ref": "#/definitions/locations-list"}
"locations": {"$ref": "#/definitions/locations-list"},
"snmp": {
"type": "array",
"items": {"$ref": "#/definitions/snmp-info"}
}
},
"additionalProperties": False
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment