Revision 1d565254

b/kamaki/cli/commands/network.py
372 372
    @errors.cyclades.connection
373 373
    def _run(self):
374 374
        net = self.client.list_ports()
375
        self._print(net, self.print_dict)
375
        self._print(net)
376 376

  
377 377
    def main(self):
378 378
        super(self.__class__, self)._run()
b/kamaki/clients/network/__init__.py
285 285

  
286 286
    def get_port_details(self, port_id):
287 287
        r = self.ports_get(port_id, success=201)
288
        return r.json['ports']
288
        return r.json['port']
289 289

  
290 290
    def delete_port(self, port_id):
291 291
        r = self.ports_delete(port_id, success=204)

Also available in: Unified diff