File: const_5_dsm_network.py

package info (click to toggle)
python-synologydsm-api 2.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,380 kB
  • sloc: python: 27,239; sh: 25; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""DSM 5 SYNO.DSM.Network data."""

DSM_5_DSM_NETWORK = {
    "data": {
        "dns": ["192.168.1.1"],
        "gateway": "192.168.1.1",
        "hostname": "HOME-NAS",
        "interfaces": [
            {
                "id": "eth0",
                "ip": [{"address": "192.168.1.10", "netmask": "255.255.255.0"}],
                "mac": "XX-XX-XX-XX-XX-XX",
                "type": "lan",
            }
        ],
        "workgroup": "WORKGROUP",
    },
    "success": True,
}