e863e8f1cd
This patch introduces a new API extension for exposing port_forwardings field in Floatingip response. This extension requires the router and port_forwarding service plugins. This change implements the effect of port forwarding on the existing Floatingip API, as specified in [1] [1] https://specs.openstack.org/openstack/neutron-specs/rocky/port-forwarding.html Change-Id: Ia35b57fb26a0cf277f31816e90d24f91ca1f63d1 Partial-Bug: #1491317
31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"floatingip": {
|
|
"created_at": "2016-12-21T10:55:50Z",
|
|
"description": "floating ip for testing",
|
|
"dns_domain": "my-domain.org.",
|
|
"dns_name": "myfip",
|
|
"fixed_ip_address": "10.0.0.4",
|
|
"floating_ip_address": "172.24.4.228",
|
|
"floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57",
|
|
"id": "2f245a7b-796b-4f26-9cf9-9e82d248fda7",
|
|
"port_id": "fc861431-0e6c-4842-a0ed-e2363f9bc3a8",
|
|
"project_id": "4969c491a3c74ee4af974e6d800c62de",
|
|
"revision_number": 3,
|
|
"router_id": "d23abc8d-2991-4a55-ba98-2aaea84cc72f",
|
|
"status": "ACTIVE",
|
|
"tags": ["tag1,tag2"],
|
|
"tenant_id": "4969c491a3c74ee4af974e6d800c62de",
|
|
"updated_at": "2016-12-22T03:13:49Z",
|
|
"port_details": {
|
|
"status": "ACTIVE",
|
|
"name": "",
|
|
"admin_state_up": true,
|
|
"network_id": "02dd8479-ef26-4398-a102-d19d0a7b3a1f",
|
|
"device_owner": "compute:nova",
|
|
"mac_address": "fa:16:3e:b1:3b:30",
|
|
"device_id": "8e3941b4-a6e9-499f-a1ac-2a4662025cba"
|
|
},
|
|
"port_forwardings": []
|
|
}
|
|
}
|