| 1 |
# supported devices config, add new device (eg: 'device name':'device label'). |
| 2 |
supported_devices_cfg = { |
| 3 |
"alu": "Alcatel Lucent", |
| 4 |
"ciena": "Ciena", |
| 5 |
"csr": "Cisco CSR1000v", |
| 6 |
"h3c": "H3C", |
| 7 |
"hpcomware": "HP Comware", |
| 8 |
"huawei": "Huawei", |
| 9 |
"huaweiyang": "Huawei", |
| 10 |
"iosxe": "Cisco IOS XE", |
| 11 |
"iosxr": "Cisco IOS XR", |
| 12 |
"junos": "Juniper", |
| 13 |
"nexus": "Cisco Nexus", |
| 14 |
"sros": "Nokia SR OS", |
| 15 |
"default": "Server or anything not in above", |
| 16 |
} |
| 17 |
|
| 18 |
|
| 19 |
def get_supported_devices(): |
| 20 |
return tuple(supported_devices_cfg.keys()) |
| 21 |
|
| 22 |
|
| 23 |
def get_supported_device_labels(): |
| 24 |
return supported_devices_cfg |