FiberHome.py 488 B

12345678910111213141516171819202122232425
  1. from OLTBase import OLTBase
  2. class FiberHome(OLTBase):
  3. def __init__(self, model, ssh):
  4. OLTBase.__init__(self, model, ssh)
  5. def get_expected_name(self):
  6. return "Login:"
  7. def get_expected_password(self):
  8. return "Password:"
  9. def get_write_exit(self):
  10. return "exit"
  11. def run_enable(self):
  12. return True
  13. def get_character_error(self):
  14. return "%"
  15. def get_expected_exit_with_confirmation(self):
  16. return "Bye!"