mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-06-28 12:30:03 +02:00
Add OpenWRT support
This commit is contained in:
parent
f7d31f6ba3
commit
a74d43cf3f
3 changed files with 64 additions and 14 deletions
|
@ -14,6 +14,8 @@ def get_router_features(router_type):
|
|||
def get_router_backup_file_extension(router_type):
|
||||
if router_type == 'routeros':
|
||||
return {'text': 'rsc', 'binary': 'backup'}
|
||||
elif router_type == 'openwrt':
|
||||
return {'text': 'txt', 'binary': 'tar.gz'}
|
||||
else:
|
||||
return {'text': 'txt', 'binary': 'bin'}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue