def get_dests(self, svc_lst):
        assert isinstance(svc_lst, IpvsServiceAttrList)
        dests = []
        out_msg = IpvsMessage(
            'get_dest', flags=netlink.MessageFlags.MATCH_ROOT_REQUEST,
            attr_list=IpvsCmdAttrList(service=svc_lst)
        )
        try:
            for dst_msg in self.nlsock.query(out_msg):
                dst_lst = dst_msg.get_attr_list().get('dest')
                dests.append(Dest.from_attr_list(dst_lst, svc_lst.get('af')))
            return dests
        except __HOLE__:
            # Typically happens if the service is not defined
            return None
dataset/ETHPy150Open facebook/gnlpy/ipvs.py/IpvsClient.get_dests