'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:    Bridge    domain    id    is    not    digit.')
        if ((int(self.bridge_domain_id) < 1) or (int(self.bridge_domain_id) > 16777215)):
            self.module.fail_json(msg='Error:    Bridge    domain    id    is    not    in    the    range    from    1    to    16777215.')
    if self.evn_source_ip:
        if (not is_valid_v4addr(self.evn_source_ip)):
            self.module.fail_json(msg='Error:    evn_source_ip    is    invalid.')
    if self.evn_peer_ip:
        if (not is_valid_v4addr(self.evn_peer_ip)):
            self.module.fail_json(msg='Error:    evn_peer_ip    is    invalid.')
    if self.vbdif_name:
        self.vbdif_name = self.vbdif_name.replace('    ', '').lower().capitalize()
        if (not self.is_valid_vbdif(self.vbdif_name)):
            self.module.fail_json(msg='Error:    vbdif_name    is    invalid.')
    if (self.evn_reflect_client and (not self.evn_peer_ip)):
        self.module.fail_json(msg='Error:    evn_reflect_client    and    evn_peer_ip    must    set    at    the    same    time.')
    if ((self.evn_server == 'enable') and (self.evn_reflect_client == 'enable')):
        self.module.fail_json(msg='Error:    evn_server    and    evn_reflect_client    can    not    set    at    the    same    time.')
