File: SoftLayer_Network_Subnet.py

package info (click to toggle)
python-softlayer 5.8.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,888 kB
  • sloc: python: 41,631; makefile: 289; sh: 43
file content (29 lines) | stat: -rw-r--r-- 651 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
getObject = {
    'id': 1234,
    'billingItem': {
        'id': 1056
    },
    'number': 999,
    'networkIdentifier': '1.2.3.4',
    'cidr': '26',
    'subnetType': 'ADDITIONAL_PRIMARY',
    'networkVlan': {
        'networkSpace': 'PUBLIC'
    },
    'gateway': '1.2.3.254',
    'broadcastAddress': '1.2.3.255',
    'datacenter': {
        'name': 'dal10',
        'id': 1
    },
    'virtualGuests': [
        {
            'hostname': 'hostname0',
            'domain': 'sl.test',
            'primaryIpAddress': '1.2.3.10',
            'primaryBackendIpAddress': '10.0.1.2'
        }
    ],
    'hardware': [],
    'usableIpAddressCount': 22
}