Make example priority smaller.
The original value overflows the 16-bits allowed by OpenFlow so that
example doesn't work very well for OpenFlow devices.
Change-Id: I0b61404ff7ae6c542f92787c9e8ab5c7a2e058f1
diff --git a/web/api/src/main/resources/definitions/ForwardingObjective.json b/web/api/src/main/resources/definitions/ForwardingObjective.json
index d5bc264..f08df40 100644
--- a/web/api/src/main/resources/definitions/ForwardingObjective.json
+++ b/web/api/src/main/resources/definitions/ForwardingObjective.json
@@ -18,12 +18,12 @@
},
"priority": {
"type": "integer",
- "format": "int64",
- "example": 400000
+ "format": "int32",
+ "example": 40000
},
"timeout": {
"type": "integer",
- "format": "int64",
+ "format": "int32",
"example": 0
},
"isPermanent": {
@@ -304,4 +304,4 @@
}
}
}
-}
\ No newline at end of file
+}