mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	Added test tag
Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
		@@ -207,7 +207,8 @@ class ApAutoTest(cvtest):
 | 
				
			|||||||
                 raw_lines=None,
 | 
					                 raw_lines=None,
 | 
				
			||||||
                 raw_lines_file="",
 | 
					                 raw_lines_file="",
 | 
				
			||||||
                 sets=None,
 | 
					                 sets=None,
 | 
				
			||||||
                 graph_groups=None
 | 
					                 graph_groups=None,
 | 
				
			||||||
 | 
					                 test_tag=""
 | 
				
			||||||
                 ):
 | 
					                 ):
 | 
				
			||||||
        super().__init__(lfclient_host=lf_host, lfclient_port=lf_port)
 | 
					        super().__init__(lfclient_host=lf_host, lfclient_port=lf_port)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -249,6 +250,7 @@ class ApAutoTest(cvtest):
 | 
				
			|||||||
        self.graph_groups = graph_groups
 | 
					        self.graph_groups = graph_groups
 | 
				
			||||||
        self.lf_report_dir = lf_report_dir
 | 
					        self.lf_report_dir = lf_report_dir
 | 
				
			||||||
        self.local_lf_report_dir = local_lf_report_dir
 | 
					        self.local_lf_report_dir = local_lf_report_dir
 | 
				
			||||||
 | 
					        self.test_tag = test_tag
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def setup(self):
 | 
					    def setup(self):
 | 
				
			||||||
        # Nothing to do at this time.
 | 
					        # Nothing to do at this time.
 | 
				
			||||||
@@ -292,6 +294,8 @@ class ApAutoTest(cvtest):
 | 
				
			|||||||
            cfg_options.append("max_stations_5: " + str(self.max_stations_5))
 | 
					            cfg_options.append("max_stations_5: " + str(self.max_stations_5))
 | 
				
			||||||
        if self.max_stations_dual != -1:
 | 
					        if self.max_stations_dual != -1:
 | 
				
			||||||
            cfg_options.append("max_stations_dual: " + str(self.max_stations_dual))
 | 
					            cfg_options.append("max_stations_dual: " + str(self.max_stations_dual))
 | 
				
			||||||
 | 
					        if self.test_tag != "":
 | 
				
			||||||
 | 
					            cfg_options.append("test_tag: " + self.test_tag)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # We deleted the scenario earlier, now re-build new one line at a time.
 | 
					        # We deleted the scenario earlier, now re-build new one line at a time.
 | 
				
			||||||
        self.build_cfg(self.config_name, blob_test, cfg_options)
 | 
					        self.build_cfg(self.config_name, blob_test, cfg_options)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -137,7 +137,8 @@ class DataplaneTest(cv_test):
 | 
				
			|||||||
                 raw_lines_file="",
 | 
					                 raw_lines_file="",
 | 
				
			||||||
                 sets=None,
 | 
					                 sets=None,
 | 
				
			||||||
                 graph_groups=None,
 | 
					                 graph_groups=None,
 | 
				
			||||||
                 test_rig=""
 | 
					                 test_rig="",
 | 
				
			||||||
 | 
					                 test_tag=""
 | 
				
			||||||
                 ):
 | 
					                 ):
 | 
				
			||||||
        super().__init__(lfclient_host=lf_host, lfclient_port=lf_port)
 | 
					        super().__init__(lfclient_host=lf_host, lfclient_port=lf_port)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -173,6 +174,7 @@ class DataplaneTest(cv_test):
 | 
				
			|||||||
        self.ssh_port = ssh_port
 | 
					        self.ssh_port = ssh_port
 | 
				
			||||||
        self.local_lf_report_dir = local_lf_report_dir
 | 
					        self.local_lf_report_dir = local_lf_report_dir
 | 
				
			||||||
        self.test_rig = test_rig
 | 
					        self.test_rig = test_rig
 | 
				
			||||||
 | 
					        self.test_tag = test_tag
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def setup(self):
 | 
					    def setup(self):
 | 
				
			||||||
        # Nothing to do at this time.
 | 
					        # Nothing to do at this time.
 | 
				
			||||||
@@ -211,6 +213,8 @@ class DataplaneTest(cv_test):
 | 
				
			|||||||
            cfg_options.append("selected_dut: " + self.dut)
 | 
					            cfg_options.append("selected_dut: " + self.dut)
 | 
				
			||||||
        if self.test_rig != "":
 | 
					        if self.test_rig != "":
 | 
				
			||||||
            cfg_options.append("test_rig: " + self.test_rig)
 | 
					            cfg_options.append("test_rig: " + self.test_rig)
 | 
				
			||||||
 | 
					        if self.test_tag != "":
 | 
				
			||||||
 | 
					            cfg_options.append("test_tag: " + self.test_tag)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # We deleted the scenario earlier, now re-build new one line at a time.
 | 
					        # We deleted the scenario earlier, now re-build new one line at a time.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user