@@ -2000,7 +2000,7 @@ sai_status_t Meta::meta_validate_stats(
2000
2000
{
2001
2001
if (sai_metadata_get_enum_value_name (info->statenum , counter_ids[idx]) == nullptr )
2002
2002
{
2003
- SWSS_LOG_ERROR (" vlaue %d is not in range on %s" , counter_ids[idx], info->statenum ->name );
2003
+ SWSS_LOG_ERROR (" value %d is not in range on %s" , counter_ids[idx], info->statenum ->name );
2004
2004
2005
2005
return SAI_STATUS_INVALID_PARAMETER;
2006
2006
}
@@ -2010,7 +2010,7 @@ sai_status_t Meta::meta_validate_stats(
2010
2010
2011
2011
if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2012
2012
{
2013
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2013
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2014
2014
2015
2015
return SAI_STATUS_INVALID_PARAMETER;
2016
2016
}
@@ -2105,9 +2105,9 @@ sai_status_t Meta::bulkRemove(
2105
2105
PARAMETER_CHECK_POSITIVE (object_count);
2106
2106
PARAMETER_CHECK_IF_NOT_NULL (object_id);
2107
2107
2108
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2108
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2109
2109
{
2110
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2110
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2111
2111
2112
2112
return SAI_STATUS_INVALID_PARAMETER;
2113
2113
}
@@ -2164,9 +2164,9 @@ sai_status_t Meta::bulkRemove(
2164
2164
PARAMETER_CHECK_POSITIVE (object_count);
2165
2165
PARAMETER_CHECK_IF_NOT_NULL (route_entry);
2166
2166
2167
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2167
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2168
2168
{
2169
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2169
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2170
2170
2171
2171
return SAI_STATUS_INVALID_PARAMETER;
2172
2172
}
@@ -2223,9 +2223,9 @@ sai_status_t Meta::bulkRemove(
2223
2223
PARAMETER_CHECK_POSITIVE (object_count);
2224
2224
PARAMETER_CHECK_IF_NOT_NULL (nat_entry);
2225
2225
2226
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2226
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2227
2227
{
2228
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2228
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2229
2229
2230
2230
return SAI_STATUS_INVALID_PARAMETER;
2231
2231
}
@@ -2282,9 +2282,9 @@ sai_status_t Meta::bulkRemove(
2282
2282
PARAMETER_CHECK_POSITIVE (object_count);
2283
2283
PARAMETER_CHECK_IF_NOT_NULL (fdb_entry);
2284
2284
2285
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2285
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2286
2286
{
2287
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2287
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2288
2288
2289
2289
return SAI_STATUS_INVALID_PARAMETER;
2290
2290
}
@@ -2344,9 +2344,9 @@ sai_status_t Meta::bulkSet(
2344
2344
PARAMETER_CHECK_IF_NOT_NULL (object_id);
2345
2345
PARAMETER_CHECK_IF_NOT_NULL (attr_list);
2346
2346
2347
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2347
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2348
2348
{
2349
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2349
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2350
2350
2351
2351
return SAI_STATUS_INVALID_PARAMETER;
2352
2352
}
@@ -2402,9 +2402,9 @@ sai_status_t Meta::bulkSet(
2402
2402
PARAMETER_CHECK_IF_NOT_NULL (route_entry);
2403
2403
PARAMETER_CHECK_IF_NOT_NULL (attr_list);
2404
2404
2405
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2405
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2406
2406
{
2407
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2407
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2408
2408
2409
2409
return SAI_STATUS_INVALID_PARAMETER;
2410
2410
}
@@ -2460,9 +2460,9 @@ sai_status_t Meta::bulkSet(
2460
2460
PARAMETER_CHECK_IF_NOT_NULL (nat_entry);
2461
2461
PARAMETER_CHECK_IF_NOT_NULL (attr_list);
2462
2462
2463
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2463
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2464
2464
{
2465
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2465
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2466
2466
2467
2467
return SAI_STATUS_INVALID_PARAMETER;
2468
2468
}
@@ -2518,9 +2518,9 @@ sai_status_t Meta::bulkSet(
2518
2518
PARAMETER_CHECK_IF_NOT_NULL (fdb_entry);
2519
2519
PARAMETER_CHECK_IF_NOT_NULL (attr_list);
2520
2520
2521
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2521
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2522
2522
{
2523
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2523
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2524
2524
2525
2525
return SAI_STATUS_INVALID_PARAMETER;
2526
2526
}
@@ -2595,9 +2595,9 @@ sai_status_t Meta::bulkCreate(
2595
2595
2596
2596
PARAMETER_CHECK_IF_NOT_NULL (object_id);
2597
2597
2598
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2598
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2599
2599
{
2600
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2600
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2601
2601
2602
2602
return SAI_STATUS_INVALID_PARAMETER;
2603
2603
}
@@ -2664,9 +2664,9 @@ sai_status_t Meta::bulkCreate(
2664
2664
PARAMETER_CHECK_IF_NOT_NULL (attr_count);
2665
2665
PARAMETER_CHECK_IF_NOT_NULL (attr_list);
2666
2666
2667
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2667
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2668
2668
{
2669
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2669
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2670
2670
2671
2671
return SAI_STATUS_INVALID_PARAMETER;
2672
2672
}
@@ -2724,9 +2724,9 @@ sai_status_t Meta::bulkCreate(
2724
2724
PARAMETER_CHECK_IF_NOT_NULL (attr_count);
2725
2725
PARAMETER_CHECK_IF_NOT_NULL (attr_list);
2726
2726
2727
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2727
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2728
2728
{
2729
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2729
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2730
2730
2731
2731
return SAI_STATUS_INVALID_PARAMETER;
2732
2732
}
@@ -2783,9 +2783,9 @@ sai_status_t Meta::bulkCreate(
2783
2783
PARAMETER_CHECK_IF_NOT_NULL (attr_count);
2784
2784
PARAMETER_CHECK_IF_NOT_NULL (attr_list);
2785
2785
2786
- if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
2786
+ if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_bulk_op_error_mode_t , mode) == nullptr )
2787
2787
{
2788
- SWSS_LOG_ERROR (" mode vlaue %d is not in range on %s" , mode, sai_metadata_enum_sai_stats_mode_t .name );
2788
+ SWSS_LOG_ERROR (" mode value %d is not in range on %s" , mode, sai_metadata_enum_sai_bulk_op_error_mode_t .name );
2789
2789
2790
2790
return SAI_STATUS_INVALID_PARAMETER;
2791
2791
}
0 commit comments