@@ -2000,7 +2000,7 @@ sai_status_t Meta::meta_validate_stats(
20002000 {
20012001 if (sai_metadata_get_enum_value_name (info->statenum , counter_ids[idx]) == nullptr )
20022002 {
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 );
20042004
20052005 return SAI_STATUS_INVALID_PARAMETER ;
20062006 }
@@ -2010,7 +2010,7 @@ sai_status_t Meta::meta_validate_stats(
20102010
20112011 if (sai_metadata_get_enum_value_name (&sai_metadata_enum_sai_stats_mode_t , mode) == nullptr )
20122012 {
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 );
20142014
20152015 return SAI_STATUS_INVALID_PARAMETER ;
20162016 }
@@ -2105,9 +2105,9 @@ sai_status_t Meta::bulkRemove(
21052105 PARAMETER_CHECK_POSITIVE (object_count);
21062106 PARAMETER_CHECK_IF_NOT_NULL (object_id);
21072107
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 )
21092109 {
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 );
21112111
21122112 return SAI_STATUS_INVALID_PARAMETER ;
21132113 }
@@ -2164,9 +2164,9 @@ sai_status_t Meta::bulkRemove(
21642164 PARAMETER_CHECK_POSITIVE (object_count);
21652165 PARAMETER_CHECK_IF_NOT_NULL (route_entry);
21662166
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 )
21682168 {
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 );
21702170
21712171 return SAI_STATUS_INVALID_PARAMETER ;
21722172 }
@@ -2223,9 +2223,9 @@ sai_status_t Meta::bulkRemove(
22232223 PARAMETER_CHECK_POSITIVE (object_count);
22242224 PARAMETER_CHECK_IF_NOT_NULL (nat_entry);
22252225
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 )
22272227 {
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 );
22292229
22302230 return SAI_STATUS_INVALID_PARAMETER ;
22312231 }
@@ -2282,9 +2282,9 @@ sai_status_t Meta::bulkRemove(
22822282 PARAMETER_CHECK_POSITIVE (object_count);
22832283 PARAMETER_CHECK_IF_NOT_NULL (fdb_entry);
22842284
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 )
22862286 {
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 );
22882288
22892289 return SAI_STATUS_INVALID_PARAMETER ;
22902290 }
@@ -2344,9 +2344,9 @@ sai_status_t Meta::bulkSet(
23442344 PARAMETER_CHECK_IF_NOT_NULL (object_id);
23452345 PARAMETER_CHECK_IF_NOT_NULL (attr_list);
23462346
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 )
23482348 {
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 );
23502350
23512351 return SAI_STATUS_INVALID_PARAMETER ;
23522352 }
@@ -2402,9 +2402,9 @@ sai_status_t Meta::bulkSet(
24022402 PARAMETER_CHECK_IF_NOT_NULL (route_entry);
24032403 PARAMETER_CHECK_IF_NOT_NULL (attr_list);
24042404
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 )
24062406 {
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 );
24082408
24092409 return SAI_STATUS_INVALID_PARAMETER ;
24102410 }
@@ -2460,9 +2460,9 @@ sai_status_t Meta::bulkSet(
24602460 PARAMETER_CHECK_IF_NOT_NULL (nat_entry);
24612461 PARAMETER_CHECK_IF_NOT_NULL (attr_list);
24622462
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 )
24642464 {
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 );
24662466
24672467 return SAI_STATUS_INVALID_PARAMETER ;
24682468 }
@@ -2518,9 +2518,9 @@ sai_status_t Meta::bulkSet(
25182518 PARAMETER_CHECK_IF_NOT_NULL (fdb_entry);
25192519 PARAMETER_CHECK_IF_NOT_NULL (attr_list);
25202520
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 )
25222522 {
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 );
25242524
25252525 return SAI_STATUS_INVALID_PARAMETER ;
25262526 }
@@ -2595,9 +2595,9 @@ sai_status_t Meta::bulkCreate(
25952595
25962596 PARAMETER_CHECK_IF_NOT_NULL (object_id);
25972597
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 )
25992599 {
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 );
26012601
26022602 return SAI_STATUS_INVALID_PARAMETER ;
26032603 }
@@ -2664,9 +2664,9 @@ sai_status_t Meta::bulkCreate(
26642664 PARAMETER_CHECK_IF_NOT_NULL (attr_count);
26652665 PARAMETER_CHECK_IF_NOT_NULL (attr_list);
26662666
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 )
26682668 {
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 );
26702670
26712671 return SAI_STATUS_INVALID_PARAMETER ;
26722672 }
@@ -2724,9 +2724,9 @@ sai_status_t Meta::bulkCreate(
27242724 PARAMETER_CHECK_IF_NOT_NULL (attr_count);
27252725 PARAMETER_CHECK_IF_NOT_NULL (attr_list);
27262726
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 )
27282728 {
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 );
27302730
27312731 return SAI_STATUS_INVALID_PARAMETER ;
27322732 }
@@ -2783,9 +2783,9 @@ sai_status_t Meta::bulkCreate(
27832783 PARAMETER_CHECK_IF_NOT_NULL (attr_count);
27842784 PARAMETER_CHECK_IF_NOT_NULL (attr_list);
27852785
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 )
27872787 {
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 );
27892789
27902790 return SAI_STATUS_INVALID_PARAMETER ;
27912791 }
0 commit comments