Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions generic_config_updater/field_operation_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,6 @@ def buffer_profile_config_update_validator(scope, patch_element):
return rdma_config_update_validator_common(scope, patch_element)


def wred_profile_config_update_validator(scope, patch_element):
return rdma_config_update_validator_common(scope, patch_element)


def read_statedb_entry(scope, table, key, field):
state_db = swsscommon.DBConnector(STATE_DB_NAME, REDIS_TIMEOUT_MSECS, True, scope)
tbl = swsscommon.Table(state_db, table)
Expand Down
56 changes: 1 addition & 55 deletions generic_config_updater/gcu_field_operation_validators.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,29 +87,9 @@
"rdma_config_update_validator": {
"Shared/headroom pool size changes": {
"fields": [
"ingress_lossless_pool/xoff",
"ingress_lossless_pool/size",
"egress_lossy_pool/size"
],
"operations": ["replace"],
"operations": [],
"platforms": {
"spc1": "20191100",
"spc2": "20191100",
"spc3": "20220500",
"spc4": "20221100",
"spc5": "20241200",
"td2": "",
"th": "20221100",
"th2": "20221100",
"th3": "20240500",
"th4": "20240500",
"th5": "20240500",
"td3": "20221100",
"td4": "20241100",
"q2c+": "20241100",
"j2c+": "20220500",
"q3d": "20251100",
"cisco-8000": "20201200"
}
}
}
Expand Down Expand Up @@ -193,40 +173,6 @@
}
}
},
"WRED_PROFILE": {
"field_operation_validators": [ "generic_config_updater.field_operation_validators.wred_profile_config_update_validator" ],
"validator_data": {
"rdma_config_update_validator": {
"ECN tuning": {
"fields": [
"green_min_threshold",
"green_max_threshold",
"green_drop_probability"
],
"operations": ["replace"],
"platforms": {
"spc1": "20181100",
"spc2": "20191100",
"spc3": "20220500",
"spc4": "20221100",
"spc5": "20241200",
"td2": "20181100",
"th": "20181100",
"th2": "20181100",
"th3": "20240500",
"th4": "20240500",
"th5": "20240500",
"td3": "20201200",
"td4": "20241100",
"q2c+": "20241100",
"j2c+": "20220500",
"q3d": "20251100",
"cisco-8000": "20201200"
}
}
}
}
},
"PORT": {
"field_operation_validators": [ "generic_config_updater.field_operation_validators.port_config_update_validator" ]
}
Expand Down
Loading
Loading