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
Branches
Tags
No related merge requests found
...@@ -723,8 +723,17 @@ Any non-empty responses are JSON formatted messages. ...@@ -723,8 +723,17 @@ Any non-empty responses are JSON formatted messages.
"items": {"$ref": "#/definitions/service-info"} "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", "type": "object",
...@@ -736,7 +745,11 @@ Any non-empty responses are JSON formatted messages. ...@@ -736,7 +745,11 @@ Any non-empty responses are JSON formatted messages.
"type": "array", "type": "array",
"items": {"$ref": "#/definitions/interface-lookup-info"} "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 "additionalProperties": False
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment