ZTE.py 430 B

123456789101112131415161718192021
  1. from OLTBase import OLTBase
  2. class ZTE(OLTBase):
  3. def __init__(self, model, ssh):
  4. OLTBase.__init__(self, model, ssh)
  5. def get_expected_password(self):
  6. return "assword:"
  7. def run_enable_password(self):
  8. return False
  9. def get_expected_initial(self):
  10. return "#"
  11. def get_write_exit_confirmation(self):
  12. return "y"
  13. def get_expected_exit(self):
  14. return "[yes/no]:"