def get_service(self, svc_lst):
        out_msg = IpvsMessage(
            'get_service', flags=netlink.MessageFlags.REQUEST,
            attr_list=IpvsCmdAttrList(service=svc_lst))
        try:
            res = self.nlsock.query(out_msg)
            svc_lst = res[0].get_attr_list().get('service')
            return Service.from_attr_list(svc_lst)
        except __HOLE__:
            # If the query failed because the service is not present
            # simply return None
            return None
dataset/ETHPy150Open facebook/gnlpy/ipvs.py/IpvsClient.get_service