1{ 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "description": "bridge fdb show", 4 "type": "array", 5 "items": { 6 "type": "object", 7 "properties": { 8 "dev": { 9 "type": "string" 10 }, 11 "dst": { 12 "description" : "host name or ip address", 13 "type": "string" 14 }, 15 "flags": { 16 "type": "array", 17 "items": { 18 "enum": ["self", "master", "router", "offload"] 19 }, 20 "uniqueItems": true 21 }, 22 "linkNetNsId": { 23 "type": "integer" 24 }, 25 "mac": { 26 "type": "string" 27 }, 28 "master": { 29 "type": "string" 30 }, 31 "opCode": { 32 "description" : "used to indicate fdb entry del", 33 "enum": ["deleted"] 34 }, 35 "port": { 36 "type": "integer" 37 }, 38 "state": { 39 "description" : "permanent, static, stale, state=#x", 40 "type": "string" 41 }, 42 "updated": { 43 "type": "integer" 44 }, 45 "used": { 46 "type": "integer" 47 }, 48 "viaIf": { 49 "type": "string" 50 }, 51 "viaIfIndex": { 52 "type": "integer" 53 }, 54 "vlan": { 55 "type": "integer" 56 }, 57 "vni": { 58 "type": "integer" 59 } 60 } 61 } 62} 63