'Create domain of accounting'

def create_accounting_domain(self, **kwargs):

    domain_name = kwargs['domain_name']
    acct_scheme_name = kwargs['acct_scheme_name']
    module = kwargs['module']
    conf_str = (CE_CREATE_ACCOUNTING_DOMAIN % (domain_name, acct_scheme_name))
    xml = self.netconf_set_config(module=module, conf_str=conf_str)
    if ('<ok/>' not in xml):
        module.fail_json(msg='Error:    Create    accounting    domain    failed.')
    cmds = []
    cmd = ('domain    %s' % domain_name)
    cmds.append(cmd)
    cmd = ('accounting-scheme    %s' % acct_scheme_name)
    cmds.append(cmd)
    return cmds
