Revision 7d768bc6 kamaki/clients/cyclades.py
b/kamaki/clients/cyclades.py | ||
---|---|---|
82 | 82 |
return r['attachments']['values'][0]['firewallProfile'] |
83 | 83 |
except KeyError: |
84 | 84 |
raise ClientError( |
85 |
'No Firewall Profile', 520,
|
|
85 |
'No Firewall Profile', |
|
86 | 86 |
details='Server %s is missing a firewall profile' % server_id) |
87 | 87 |
|
88 | 88 |
def set_firewall_profile(self, server_id, profile): |
Also available in: Unified diff