Jian Li | a80b158 | 2019-01-25 12:47:42 +0900 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "description": "A port object.", |
| 4 | "required": [ |
| 5 | "portId", |
| 6 | "networkId", |
| 7 | "macAddress", |
| 8 | "ipAddress" |
| 9 | ], |
| 10 | "properties": { |
| 11 | "portId": { |
| 12 | "type": "string", |
| 13 | "example": "65c0ee9f-d634-4522-8954-51021b570b0d", |
| 14 | "description": "The ID of the resource." |
| 15 | }, |
| 16 | "networkId": { |
| 17 | "type": "string", |
| 18 | "example": "a87cc70a-3e15-4acf-8205-9b711a3531b7", |
| 19 | "description": "The ID of the attached network." |
| 20 | }, |
| 21 | "macAddress": { |
| 22 | "type": "string", |
| 23 | "example": "fa:16:3e:c9:cb:f0", |
| 24 | "description": "The MAC address of the port." |
| 25 | }, |
| 26 | "ipAddress": { |
| 27 | "type": "string", |
| 28 | "example": "10.10.10.10", |
| 29 | "description": "The IP address of the port." |
| 30 | } |
| 31 | } |
| 32 | } |