ONOS-6106 Adding Missing Fields in the " get flows and get devices" rest api
Change-Id: I6657b8d75388e850acaa53fe4f5be261e45a9bca
diff --git a/web/api/src/main/resources/definitions/FlowEntries.json b/web/api/src/main/resources/definitions/FlowEntries.json
index 15f8628..edc4070 100644
--- a/web/api/src/main/resources/definitions/FlowEntries.json
+++ b/web/api/src/main/resources/definitions/FlowEntries.json
@@ -27,6 +27,7 @@
"life",
"packets",
"bytes",
+ "liveType",
"lastSeen"
],
"properties": {
@@ -85,6 +86,10 @@
"format": "int64",
"example": 1826226
},
+ "liveType": {
+ "type": "string",
+ "example": "UNKNOWN"
+ },
"lastSeen": {
"type": "integer",
"format": "int64",