'Prepare the session after the connection has been established.'

def session_preparation(self):

    delay_factor = self.select_delay_factor(delay_factor=0)
    self._test_channel_read()
    self.set_base_prompt()
    self.disable_paging(command=u'\nset    length    0\n')
    time.sleep((1 * delay_factor))
    self.tmsh_mode()
    self.set_base_prompt()
