Jian Li | 073f1ba | 2021-02-28 03:50:15 +0900 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "floatingips", |
| 4 | "required": [ |
| 5 | "floatingips" |
| 6 | ], |
| 7 | "properties": { |
| 8 | "floatingips": { |
| 9 | "type": "array", |
| 10 | "xml": { |
| 11 | "name": "floatingips", |
| 12 | "wrapped": true |
| 13 | }, |
| 14 | "items": { |
| 15 | "type": "object", |
| 16 | "description": "A floating IP object.", |
| 17 | "required": [ |
| 18 | "id", |
| 19 | "routerName", |
Jian Li | b636f70 | 2021-03-03 14:46:50 +0900 | [diff] [blame] | 20 | "networkName", |
Jian Li | 073f1ba | 2021-02-28 03:50:15 +0900 | [diff] [blame] | 21 | "floatingIp", |
| 22 | "podName", |
| 23 | "fixedIp" |
| 24 | ], |
| 25 | "properties": { |
| 26 | "id": { |
| 27 | "type": "string", |
| 28 | "example": "6a073105-c735-4e53-8d74-64191c6985fe", |
| 29 | "description": "The ID of floating IP." |
| 30 | }, |
| 31 | "routerName": { |
| 32 | "type": "string", |
| 33 | "example": "router-1", |
| 34 | "description": "Name of router." |
| 35 | }, |
Jian Li | b636f70 | 2021-03-03 14:46:50 +0900 | [diff] [blame] | 36 | "networkName": { |
| 37 | "type": "string", |
| 38 | "example": "flat-1", |
| 39 | "description": "Name of network." |
| 40 | }, |
Jian Li | 073f1ba | 2021-02-28 03:50:15 +0900 | [diff] [blame] | 41 | "floatingIp": { |
| 42 | "type": "string", |
| 43 | "example": "10.10.10.5", |
| 44 | "description": "Floating IP address." |
| 45 | }, |
| 46 | "podName": { |
| 47 | "type": "string", |
| 48 | "example": "pod-1", |
| 49 | "description": "Name of POD associated with this floating IP" |
| 50 | }, |
| 51 | "fixedIp": { |
| 52 | "type": "string", |
| 53 | "example": "20.20.20.5", |
| 54 | "description": "Fixed IP address." |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | } |