'Check all input params'

def check_params(self):

    if self.bridge_domain_id:
        if (not self.bridge_domain_id.isdigit()):
            self.module.fail_json(msg='Error:    The    parameter    of    bridge    domain    id    is    invalid.')
        if ((int(self.bridge_domain_id) > 16777215) or (int(self.bridge_domain_id) < 1)):
            self.module.fail_json(msg='Error:    The    bridge    domain    id    must    be    an    integer    between    1    and    16777215.')
    if self.vni_id:
        if (not self.vni_id.isdigit()):
            self.module.fail_json(msg='Error:    The    parameter    of    vni    id    is    invalid.')
        if ((int(self.vni_id) > 16000000) or (int(self.vni_id) < 1)):
            self.module.fail_json(msg='Error:    The    vni    id    must    be    an    integer    between    1    and    16000000.')
    if self.nve_name:
        if (not self.check_nve_name()):
            self.module.fail_json(msg=('Error:    Error:    NVE    interface    %s    is    invalid.' % self.nve_name))
    if self.peer_list_ip:
        for peer_ip in self.peer_list_ip:
            if (not is_valid_address(peer_ip)):
                self.module.fail_json(msg=('Error:    The    ip    address    %s    is    invalid.' % self.peer_list_ip))
    if self.source_ip:
        if (not is_valid_address(self.source_ip)):
            self.module.fail_json(msg=('Error:    The    ip    address    %s    is    invalid.' % self.source_ip))
