/
githubmirror
/
iproute2
Обзор
Документация
Войти
/
githubmirror
/
iproute2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
schema/bridge_fdb_schema.json
62 строки
2 KB
Anuradha Karuppiah
bridge: add json schema for bridge fdb show
20 июл 2016, 22:02
20 июл 2016, 22:02
15539fc
Код
Авторство
О чём код?
{ "$schema": "http://json-schema.org/draft-04/schema#", "description": "bridge fdb show", "type": "array", "items": { "type": "object", "properties": { "dev": { "type": "string" }, "dst": { "description" : "host name or ip address", "type": "string" }, "flags": { "type": "array", "items": { "enum": ["self", "master", "router", "offload"] }, "uniqueItems": true }, "linkNetNsId": { "type": "integer" }, "mac": { "type": "string" }, "master": { "type": "string" }, "opCode": { "description" : "used to indicate fdb entry del", "enum": ["deleted"] }, "port": { "type": "integer" }, "state": { "description" : "permanent, static, stale, state=#x", "type": "string" }, "updated": { "type": "integer" }, "used": { "type": "integer" }, "viaIf": { "type": "string" }, "viaIfIndex": { "type": "integer" }, "vlan": { "type": "integer" }, "vni": { "type": "integer" } } } }