1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

BGP Community Selection improvements

This commit is contained in:
checktheroads
2020-04-18 11:34:23 -07:00
parent 903dadd236
commit d3e1189487
8 changed files with 248 additions and 124 deletions

View File

@@ -189,6 +189,14 @@ class RoutersResponse(BaseModel):
}
class CommunityResponse(BaseModel):
"""Response model for /api/communities."""
community: StrictStr
display_name: StrictStr
description: StrictStr
class SupportedQueryResponse(BaseModel):
"""Response model for /api/queries list items."""