def validate(self):
        assert _validate_ip(self.ip_)
        assert isinstance(self.weight_, int)
        assert self.weight_ >= -1
        assert self.fwd_method_ in IPVS_METHODS
dataset/ETHPy150Open facebook/gnlpy/ipvs.py/Dest.validate/original