Ubuntu Pastebin

Paste from redelmann at Sun, 14 Feb 2016 18:22:13 +0000

Download as text
 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
33
34
35
36
37
38
39
40
41
ubuntu@maas-server:/var/lib$ maas admin subnets read
Success.
Machine-readable output follows:
[
    {
        "dns_servers": [], 
        "name": "maas-eth1", 
        "space": "space-0", 
        "vlan": {
            "name": "untagged", 
            "vid": 0, 
            "mtu": 1500, 
            "fabric": "fabric-0", 
            "id": 0, 
            "resource_uri": "/MAAS/api/1.0/vlans/0/"
        }, 
        "gateway_ip": "10.10.10.10", 
        "cidr": "10.10.10.0/24", 
        "id": 1, 
        "resource_uri": "/MAAS/api/1.0/subnets/1/"
    }, 
    {
        "dns_servers": [
            "192.168.100.1"
        ], 
        "name": "maas-eth0", 
        "space": "space-0", 
        "vlan": {
            "name": "untagged", 
            "vid": 0, 
            "mtu": 1500, 
            "fabric": "fabric-0", 
            "id": 0, 
            "resource_uri": "/MAAS/api/1.0/vlans/0/"
        }, 
        "gateway_ip": "192.168.100.1", 
        "cidr": "192.168.100.0/24", 
        "id": 2, 
        "resource_uri": "/MAAS/api/1.0/subnets/2/"
    }
]
Download as text