'Retrieve ports by subnet id.'

def get_ports_by_subnet(self, context, subnet_id):

    cctxt = self.client.prepare(version='1.2')
    return cctxt.call(context, 'get_ports_by_subnet', host=self.host, subnet_id=subnet_id)
