aboutsummaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
Diffstat (limited to 'schema')
-rw-r--r--schema/flow_event_schema.json5
-rw-r--r--schema/packet_event_schema.json7
2 files changed, 11 insertions, 1 deletions
diff --git a/schema/flow_event_schema.json b/schema/flow_event_schema.json
index e9af54b3b..95dc095e7 100644
--- a/schema/flow_event_schema.json
+++ b/schema/flow_event_schema.json
@@ -77,6 +77,11 @@
"type": "number",
"minimum": 0
},
+ "vlan_id": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 4095
+ },
"flow_event_id": {
"type": "number",
"minimum": 0,
diff --git a/schema/packet_event_schema.json b/schema/packet_event_schema.json
index 8f90d454d..d087bace1 100644
--- a/schema/packet_event_schema.json
+++ b/schema/packet_event_schema.json
@@ -27,7 +27,7 @@
"required": [ "thread_id", "flow_id", "flow_packet_id", "flow_src_last_pkt_time", "flow_dst_last_pkt_time", "flow_idle_time" ]
},
"else": {
- "not": { "required": [ "thread_id", "flow_id", "flow_packet_id", "flow_src_last_pkt_time", "flow_dst_last_pkt_time", "flow_idle_time" ] }
+ "not": { "required": [ "thread_id", "vlan_id", "flow_id", "flow_packet_id", "flow_src_last_pkt_time", "flow_dst_last_pkt_time", "flow_idle_time" ] }
},
"properties": {
@@ -60,6 +60,11 @@
"packet-flow"
]
},
+ "vlan_id": {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 4095
+ },
"flow_id": {
"type": "number",
"minimum": 1