Committed by
Gerrit Code Review
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
Showing
4 changed files
with
17 additions
and
17 deletions
| ... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
| 36 | }, | 36 | }, |
| 37 | "tableId": { | 37 | "tableId": { |
| 38 | "type": "integer", | 38 | "type": "integer", |
| 39 | - "format": "int64", | 39 | + "format": "int32", |
| 40 | "example": 3 | 40 | "example": 3 |
| 41 | }, | 41 | }, |
| 42 | "appId": { | 42 | "appId": { |
| ... | @@ -50,12 +50,12 @@ | ... | @@ -50,12 +50,12 @@ |
| 50 | }, | 50 | }, |
| 51 | "priority": { | 51 | "priority": { |
| 52 | "type": "integer", | 52 | "type": "integer", |
| 53 | - "format": "int64", | 53 | + "format": "int32", |
| 54 | - "example": 400000 | 54 | + "example": 40000 |
| 55 | }, | 55 | }, |
| 56 | "timeout": { | 56 | "timeout": { |
| 57 | "type": "integer", | 57 | "type": "integer", |
| 58 | - "format": "int64", | 58 | + "format": "int32", |
| 59 | "example": 0 | 59 | "example": 0 |
| 60 | }, | 60 | }, |
| 61 | "isPermanent": { | 61 | "isPermanent": { |
| ... | @@ -370,4 +370,4 @@ | ... | @@ -370,4 +370,4 @@ |
| 370 | } | 370 | } |
| 371 | } | 371 | } |
| 372 | } | 372 | } |
| 373 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 373 | +} | ... | ... |
| ... | @@ -23,12 +23,12 @@ | ... | @@ -23,12 +23,12 @@ |
| 23 | "properties": { | 23 | "properties": { |
| 24 | "priority": { | 24 | "priority": { |
| 25 | "type": "integer", | 25 | "type": "integer", |
| 26 | - "format": "int64", | 26 | + "format": "int32", |
| 27 | - "example": 400000 | 27 | + "example": 40000 |
| 28 | }, | 28 | }, |
| 29 | "timeout": { | 29 | "timeout": { |
| 30 | "type": "integer", | 30 | "type": "integer", |
| 31 | - "format": "int64", | 31 | + "format": "int32", |
| 32 | "example": 0 | 32 | "example": 0 |
| 33 | }, | 33 | }, |
| 34 | "isPermanent": { | 34 | "isPermanent": { |
| ... | @@ -112,4 +112,4 @@ | ... | @@ -112,4 +112,4 @@ |
| 112 | } | 112 | } |
| 113 | } | 113 | } |
| 114 | } | 114 | } |
| 115 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 115 | +} | ... | ... |
| ... | @@ -10,12 +10,12 @@ | ... | @@ -10,12 +10,12 @@ |
| 10 | "properties": { | 10 | "properties": { |
| 11 | "priority": { | 11 | "priority": { |
| 12 | "type": "integer", | 12 | "type": "integer", |
| 13 | - "format": "int64", | 13 | + "format": "int32", |
| 14 | - "example": 400000 | 14 | + "example": 40000 |
| 15 | }, | 15 | }, |
| 16 | "timeout": { | 16 | "timeout": { |
| 17 | "type": "integer", | 17 | "type": "integer", |
| 18 | - "format": "int64", | 18 | + "format": "int32", |
| 19 | "example": 0 | 19 | "example": 0 |
| 20 | }, | 20 | }, |
| 21 | "isPermanent": { | 21 | "isPermanent": { |
| ... | @@ -96,4 +96,4 @@ | ... | @@ -96,4 +96,4 @@ |
| 96 | } | 96 | } |
| 97 | } | 97 | } |
| 98 | } | 98 | } |
| 99 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 99 | +} | ... | ... |
| ... | @@ -18,12 +18,12 @@ | ... | @@ -18,12 +18,12 @@ |
| 18 | }, | 18 | }, |
| 19 | "priority": { | 19 | "priority": { |
| 20 | "type": "integer", | 20 | "type": "integer", |
| 21 | - "format": "int64", | 21 | + "format": "int32", |
| 22 | - "example": 400000 | 22 | + "example": 40000 |
| 23 | }, | 23 | }, |
| 24 | "timeout": { | 24 | "timeout": { |
| 25 | "type": "integer", | 25 | "type": "integer", |
| 26 | - "format": "int64", | 26 | + "format": "int32", |
| 27 | "example": 0 | 27 | "example": 0 |
| 28 | }, | 28 | }, |
| 29 | "isPermanent": { | 29 | "isPermanent": { |
| ... | @@ -304,4 +304,4 @@ | ... | @@ -304,4 +304,4 @@ |
| 304 | } | 304 | } |
| 305 | } | 305 | } |
| 306 | } | 306 | } |
| 307 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 307 | +} | ... | ... |
-
Please register or login to post a comment