File: __init__.py

package info (click to toggle)
python-ncclient 0.6.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,448 kB
  • sloc: python: 9,548; xml: 476; makefile: 77; sh: 5
file content (24 lines) | stat: -rw-r--r-- 623 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# supported devices config, add new device (eg: 'device name':'device label').
supported_devices_cfg = {
    "alu": "Alcatel Lucent",
    "ciena": "Ciena",
    "csr": "Cisco CSR1000v",
    "h3c": "H3C",
    "hpcomware": "HP Comware",
    "huawei": "Huawei",
    "huaweiyang": "Huawei",
    "iosxe": "Cisco IOS XE",
    "iosxr": "Cisco IOS XR",
    "junos": "Juniper",
    "nexus": "Cisco Nexus",
    "sros": "Nokia SR OS",
    "default": "Server or anything not in above",
}


def get_supported_devices():
    return tuple(supported_devices_cfg.keys())


def get_supported_device_labels():
    return supported_devices_cfg