def p_global_param_value(p):
    """ global_param_value : global_param_str str_value
                           | global_param_str IPADDR
                           | global_param_flag global_param_flag_value
                           | DB_TIME_FORMAT DEFAULT
                           | DB_TIME_FORMAT LOCAL
                           | DDNS_UPDATE_STYLE AD_HOC
                           | DDNS_UPDATE_STYLE INTERIM
                           | DDNS_UPDATE_STYLE NONE
                           | global_param_no_val
    """
    if len(p) > 2:
        p[0] = {p[1]: p[2]}
    else:
        p[0] = {p[1]: None}
