'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.')
