@@ -212,8 +212,8 @@ def test_qos_arista7050_render_template(self):
212
212
sample_output_file = os .path .join (self .test_dir , 'sample_output' , utils .PYvX_DIR , 'qos-arista7050.json' )
213
213
assert utils .cmp (sample_output_file , self .output_file ), self .run_diff (sample_output_file , self .output_file )
214
214
215
- def test_qos_and_buffer_arista7800r3_48cq2_lc_render_template (self ):
216
- arista_dir_path = os .path .join (self .test_dir , '..' , '..' , '..' , 'device' , 'arista' , 'x86_64-arista_7800r3_48cq2_lc' , 'Arista-7800R3-48CQ2-C48' )
215
+ def do_test_qos_and_buffer_arista7800r3_48cq2_lc_render_template (self , platform , hwsku ):
216
+ arista_dir_path = os .path .join (self .test_dir , '..' , '..' , '..' , 'device' , 'arista' , platform , hwsku )
217
217
qos_file = os .path .join (arista_dir_path , 'qos.json.j2' )
218
218
buffer_file = os .path .join (arista_dir_path , 'buffers.json.j2' )
219
219
port_config_ini_file = os .path .join (arista_dir_path , 'port_config.ini' )
@@ -236,6 +236,12 @@ def test_qos_and_buffer_arista7800r3_48cq2_lc_render_template(self):
236
236
sample_output_file = os .path .join (self .test_dir , 'sample_output' , utils .PYvX_DIR , sample_output_file )
237
237
assert utils .cmp (sample_output_file , self .output_file ), self .run_diff (sample_output_file , self .output_file )
238
238
239
+ def test_qos_and_buffer_arista7800r3_48cq2_lc_render_template (self ):
240
+ self .do_test_qos_and_buffer_arista7800r3_48cq2_lc_render_template ('x86_64-arista_7800r3_48cq2_lc' , 'Arista-7800R3-48CQ2-C48' )
241
+
242
+ def test_qos_and_buffer_arista7800r3_48cqm2_lc_render_template (self ):
243
+ self .do_test_qos_and_buffer_arista7800r3_48cq2_lc_render_template ('x86_64-arista_7800r3_48cqm2_lc' , 'Arista-7800R3-48CQM2-C48' )
244
+
239
245
def test_qos_dell9332_render_template (self ):
240
246
dell_dir_path = os .path .join (self .test_dir , '..' , '..' , '..' , 'device' , 'dell' , 'x86_64-dellemc_z9332f_d1508-r0' , 'DellEMC-Z9332f-O32' )
241
247
qos_file = os .path .join (dell_dir_path , 'qos.json.j2' )
0 commit comments