def get_nm_group_params(nm_host):
    "\n    Return a dict of all group params in NM,\n    with their id as the dict key.\n\n    :param nm_host: NodeMeister hostname/IP\n    :type nm_host: string\n    :rtype: dict\n    :returns: NM group params, dict of the form:\n      {id<int>: {'paramkey': <string>, 'paramvalue': <string or None>, 'group': <int>, 'id': <int>}\n    "
    r = {}
    j = get_json(('http://%s/enc/parameters/groups/' % nm_host))
    for o in j:
        if (o['paramvalue'] is not None):
            o['paramvalue'] = clean_value(o['paramvalue'])
        r[o['id']] = o
    return r
Return a dict of all group params in NM,
with their id as the dict key.

:param nm_host: NodeMeister hostname/IP
:type nm_host: string
:rtype: dict
:returns: NM group params, dict of the form:
  {id<int>: {'paramkey': <string>, 'paramvalue': <string or None>, 'group': <int>, 'id': <int>}
def get_nm_group_params(nm_host):
    "\n    Return a dict of all group params in NM,\n    with their id as the dict key.\n\n    :param nm_host: NodeMeister hostname/IP\n    :type nm_host: string\n    :rtype: dict\n    :returns: NM group params, dict of the form:\n      {id<int>: {'paramkey': <string>, 'paramvalue': <string or None>, 'group': <int>, 'id': <int>}\n    "
    r = {}
    j = get_json(('http://%s/enc/parameters/groups/' % nm_host))
    for o in j:
        if (o['paramvalue'] is not None):
            o['paramvalue'] = clean_value(o['paramvalue'])
        r[o['id']] = o
    return r