123456789101112131415161718192021 |
- from OLTBase import OLTBase
- class Huawei(OLTBase):
- def __init__(self, model, ssh):
- OLTBase.__init__(self, model, ssh)
- def run_enable(self):
- return True
- def get_write_exit(self):
- return "quit"
- def get_expected_exit(self):
- return "[n]:"
- def get_write_exit_confirmation(self):
- return "y"
- def run_enable_password(self):
- return False
|