Revision 9e04242a
b/kamaki/clients/network/__init__.py | ||
---|---|---|
221 | 221 |
|
222 | 222 |
def list_ports(self): |
223 | 223 |
r = self.ports_get(success=200) |
224 |
return r.json['ports']
|
|
224 |
return r.json['port'] |
|
225 | 225 |
|
226 | 226 |
def create_port( |
227 | 227 |
self, network_id, |
Also available in: Unified diff