Skip to content

Commit d993283

Browse files
committed
[gcu]: Add marvell-teralynx platform to gcu field validator
Enable BUFFER_PROFILE replace operation on dynamic_th field and PFC_WD field operations on marvell-teralynx platform starting 20241100 Sonic version Signed-off-by: Ravi Minnikanti <[email protected]>
1 parent ab4c548 commit d993283

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

generic_config_updater/field_operation_validators.py

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def get_asic_name():
2929

3030
if asic_type == 'cisco-8000':
3131
asic = "cisco-8000"
32+
if asic_type == 'marvell-teralynx':
33+
asic = "marvell-teralynx"
3234
elif asic_type == 'mellanox' or asic_type == 'vs' or asic_type == 'broadcom':
3335
proc = subprocess.Popen(GET_HWSKU_CMD, shell=True, universal_newlines=True, stdout=subprocess.PIPE)
3436
output, err = proc.communicate()

generic_config_updater/gcu_field_operation_validators.conf.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@
6969
"td4": "20241100",
7070
"q2c+": "20241100",
7171
"j2c+": "20220500",
72-
"cisco-8000": "20201200"
72+
"cisco-8000": "20201200",
73+
"marvell-teralynx": "20241100"
7374
}
7475
}
7576
}
@@ -133,7 +134,8 @@
133134
"td4": "20241100",
134135
"q2c+": "20241100",
135136
"j2c+": "20220500",
136-
"cisco-8000": "20201200"
137+
"cisco-8000": "20201200",
138+
"marvell-teralynx": "20241100"
137139
}
138140
},
139141
"PG headroom modification": {

0 commit comments

Comments
 (0)