def METHOD_NAME(self):
    """This is run at the beginning, needs to be called explicitly. It verifies that the router is connected
    properly"""
    print('')
    CTRexScenario.emu_init_error = 'Unknown error'
    if not self.is_loopback:
        # Try to configure the DUT device.
        try:
            self.config_dut()
        except Exception as e:
            CTRexScenario.emu_init_error = 'Could not configure the DUT device, err: %s' % e
            self.fail(CTRexScenario.emu_init_error)
            return
        print('Configured DUT')
    # The DUT device is configured, let's attempt to start TRex.
    try:
        self.start_trex()
    except Exception as e:
        CTRexScenario.emu_init_error = 'Could not start TRex, err: %s' % e
        self.fail(CTRexScenario.emu_init_error)
        return
    print('Started TRex')
    # Let's attempt to connect to the TRex server we just started.
    if not self.connect():
        CTRexScenario.emu_init_error = 'Client could not connect to the server.'
        self.fail(CTRexScenario.emu_init_error)
        return
    print('Connected')
    #update elk const object 
    if self.elk:
        self.update_elk_obj()
    CTRexScenario.emu_init_error = None