Revision 8ac8898f kamaki/clients/cyclades/__init__.py
b/kamaki/clients/cyclades/__init__.py | ||
---|---|---|
251 | 251 |
'Invalid format for "fixed_ips"', details=[ |
252 | 252 |
'fixed_ips format: [{"ip_address": IPv4}, ...]']) |
253 | 253 |
port['fixed_ips'] = fixed_ips |
254 |
r = self.ports_post(json_data=dict(port=port), success=201)
|
|
254 |
r = self.ports_post(json_data=dict(port=port), success=200)
|
|
255 | 255 |
return r.json['port'] |
256 | 256 |
|
257 | 257 |
def create_floatingip(self, floating_network_id, floating_ip_address=''): |
Also available in: Unified diff