Ubuntu Pastebin

Paste from dimitern at Thu, 21 Apr 2016 15:52:11 +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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[maas-19] dimitern@hitchcock:~$ maas hw-root devices create parent=4y3h7p mac_addresses=aa:bb:cc:dd:ee:f0
Success.
Machine-readable output follows:
{
    "node_type_name": "Device",
    "address_ttl": null,
    "owner": "root",
    "hostname": "deprivative-guillermina",
    "system_id": "4y3h8s",
    "ip_addresses": [],
    "tag_names": [],
    "interface_set": [
        {
            "parents": [],
            "vlan": {
                "vid": 0,
                "primary_rack": null,
                "secondary_rack": null,
                "fabric": "maas-external",
                "id": 0,
                "resource_uri": "/MAAS/api/2.0/vlans/0/",
                "mtu": 1500,
                "dhcp_on": false,
                "name": "untagged",
                "external_dhcp": null
            },
            "id": 92,
            "discovered": null,
            "params": "",
            "children": [],
            "type": "physical",
            "resource_uri": "/MAAS/api/2.0/nodes/4y3h8s/interfaces/92/",
            "tags": [],
            "enabled": true,
            "effective_mtu": 1500,
            "links": [],
            "name": "eth0",
            "mac_address": "aa:bb:cc:dd:ee:f0"
        }
    ],
    "domain": {
        "resource_record_count": 0,
        "id": 0,
        "ttl": null,
        "resource_uri": "/MAAS/api/2.0/domains/0/",
        "authoritative": true,
        "name": "maas"
    },
    "resource_uri": "/MAAS/api/2.0/devices/4y3h8s/",
    "zone": {
        "resource_uri": "/MAAS/api/2.0/zones/default/",
        "name": "default",
        "description": ""
    },
    "fqdn": "deprivative-guillermina.maas",
    "node_type": 1,
    "owner_data": {},
    "parent": "4y3h7p"
}
Download as text