Jian Li | 2077f66 | 2018-02-12 14:01:35 +0900 | [diff] [blame^] | 1 | { |
| 2 | "type": "object", |
| 3 | "required": [ |
| 4 | "floatingip" |
| 5 | ], |
| 6 | "properties": { |
| 7 | "floatingip": { |
| 8 | "type": "object", |
| 9 | "description": "A floatingip object.", |
| 10 | "required": [ |
| 11 | "id", |
| 12 | "router_id", |
| 13 | "tenant_id", |
| 14 | "floating_network_id", |
| 15 | "floating_ip_address", |
| 16 | "fixed_ip_address", |
| 17 | "port_id" |
| 18 | ], |
| 19 | "properties": { |
| 20 | "id": { |
| 21 | "type": "string", |
| 22 | "example": "2f245a7b-796b-4f26-9cf9-9e82d248fda7", |
| 23 | "description": "The ID of the floating IP address." |
| 24 | }, |
| 25 | "router_id": { |
| 26 | "type": "string", |
| 27 | "example": "d23abc8d-2991-4a55-ba98-2aaea84cc72", |
| 28 | "description": "The ID of the router for the floating IP." |
| 29 | }, |
| 30 | "tenant_id": { |
| 31 | "type": "string", |
| 32 | "example": "4969c491a3c74ee4af974e6d800c62de", |
| 33 | "description": "The ID of the project." |
| 34 | }, |
| 35 | "floating_network_id": { |
| 36 | "type": "string", |
| 37 | "example": "376da547-b977-4cfe-9cba-275c80debf57", |
| 38 | "description": "The ID of the network associated with the floating IP." |
| 39 | }, |
| 40 | "floating_ip_address": { |
| 41 | "type": "string", |
| 42 | "example": "172.24.4.228", |
| 43 | "description": "The floating IP address." |
| 44 | }, |
| 45 | "fixed_ip_address": { |
| 46 | "type": "string", |
| 47 | "example": "10.0.0.3", |
| 48 | "description": "The fixed IP address that is associated with the floating IP address." |
| 49 | }, |
| 50 | "port_id": { |
| 51 | "type": "string", |
| 52 | "example": "ce705c24-c1ef-408a-bda3-7bbd946164ab", |
| 53 | "description": "The ID of a port associated with the floating IP." |
| 54 | } |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | } |