Revision e51c7d5b kamaki/clients/cyclades/__init__.py

b/kamaki/clients/cyclades/__init__.py
151 151

  
152 152
        :returns: (dict) network interface connections
153 153
        """
154
        r = self.servers_get(server_id, 'ips')
154
        r = self.servers_ips_get(server_id)
155 155
        return r.json['attachments']
156
        #return r.json['addresses']
157 156

  
158 157
    def get_server_stats(self, server_id):
159 158
        """
......
161 160

  
162 161
        :returns: (dict) auto-generated graphs of statistics (urls)
163 162
        """
164
        r = self.servers_get(server_id, 'stats')
163
        r = self.servers_stats_get(server_id)
165 164
        return r.json['stats']
166 165

  
167 166
    def list_networks(self, detail=False):

Also available in: Unified diff