File: SoftLayer_Network_Subnet_IpAddress.py

package info (click to toggle)
python-softlayer 6.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,508 kB
  • sloc: python: 57,195; makefile: 133; xml: 97; sh: 59
file content (32 lines) | stat: -rw-r--r-- 834 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
20
21
22
23
24
25
26
27
28
29
30
31
32
getByIpAddress = {
    'id': 12345,
    'ipAddress': '10.0.1.37',
    'isBroadcast': False,
    'isGateway': False,
    'isNetwork': False,
    'isReserved': False,
    'subnetId': 5678,
    "hardware": {
        "id": 12856,
        "fullyQualifiedDomainName": "unit.test.com"
    },
    "subnet": {
        "broadcastAddress": "10.0.1.91",
        "cidr": 26,
        "gateway": "10.47.16.129",
        "id": 258369,
        "isCustomerOwned": False,
        "isCustomerRoutable": False,
        "modifyDate": "2019-04-02T13:45:52-06:00",
        "netmask": "255.255.255.192",
        "networkIdentifier": "10.0.1.38",
        "networkVlanId": 1236987,
        "sortOrder": "0",
        "subnetType": "PRIMARY",
        "totalIpAddresses": "64",
        "usableIpAddressCount": "61",
        "version": 4
    }
}

editObject = True