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/DeviceGet.json b/web/api/src/main/resources/definitions/DeviceGet.json
index 03e67d5..5573359 100644
--- a/web/api/src/main/resources/definitions/DeviceGet.json
+++ b/web/api/src/main/resources/definitions/DeviceGet.json
@@ -10,6 +10,7 @@
"hw",
"sw",
"serial",
+ "driver",
"chassisId",
"annotations"
],
@@ -46,6 +47,10 @@
"type": "string",
"example": "123"
},
+ "driver": {
+ "type": "string",
+ "example": "ovs"
+ },
"chassisId": {
"type": "string",
"example": "1"
@@ -67,6 +72,10 @@
"type": "string",
"example": "OF_13"
},
+ "driver": {
+ "type": "string",
+ "example": "ovs"
+ },
"channelId": {
"type": "string",
"example": "10.128.12.4:34689"