Revision 03d430b5 snf-cyclades-app/synnefo/api/floating_ips.py
b/snf-cyclades-app/synnefo/api/floating_ips.py | ||
---|---|---|
97 | 97 |
"id": str(floating_ip.id), |
98 | 98 |
"instance_id": str(machine_id) if machine_id else None, |
99 | 99 |
"floating_ip_address": floating_ip.address, |
100 |
"port_id": str(floating_ip.nic.id) if port_id else None,
|
|
100 |
"port_id": str(port_id) if port_id else None,
|
|
101 | 101 |
"floating_network_id": str(floating_ip.network_id)} |
102 | 102 |
|
103 | 103 |
|
Also available in: Unified diff