Ubuntu Pastebin

Paste from babbageclunk at Thu, 21 Apr 2016 15:53:26 +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
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
user@maas2-controller:~$ maas maas2 devices read                                                                                                              
**********************************************************************
*** WARNING! The API on the server differs from the description that
*** is cached locally. This may result in failed API calls. Refresh
*** the local API description with `maas refresh`.
**********************************************************************
Success.
Machine-readable output follows:
[
    {
        "node_type": 1,
        "node_type_name": "Device",
        "zone": {
            "resource_uri": "/MAAS/api/2.0/zones/default/",
            "name": "default",
            "description": ""
        },
        "fqdn": "goofy-heath.maas",
        "hostname": "goofy-heath",
        "ip_addresses": [],
        "macaddress_set": [
            {
                "mac_address": "00:16:3e:02:df:2e"
            }
        ],
        "tag_names": [],
        "domain": {
            "resource_record_count": 2,
            "ttl": null,
            "id": 0,
            "authoritative": true,
            "resource_uri": "/MAAS/api/2.0/domains/0/",
            "name": "maas"
        },
        "owner": "admin",
        "resource_uri": "/MAAS/api/2.0/devices/4y3h7r/",
        "system_id": "4y3h7r",
        "parent": "4y3h7p"
    },
    {
        "node_type": 1,
        "node_type_name": "Device",
        "zone": {
            "resource_uri": "/MAAS/api/2.0/zones/default/",
            "name": "default",
            "description": ""
        },
        "fqdn": "crummier-milly.maas",
        "hostname": "crummier-milly",
        "ip_addresses": [],
        "macaddress_set": [
            {
                "mac_address": "00:16:3e:18:c1:51"
            }
        ],
        "tag_names": [],
        "domain": {
            "resource_record_count": 2,
            "ttl": null,
            "id": 0,
            "authoritative": true,
            "resource_uri": "/MAAS/api/2.0/domains/0/",
            "name": "maas"                                                                                                                             [1/401]
        },
        "owner": "admin",
        "resource_uri": "/MAAS/api/2.0/devices/4y3h7s/",
        "system_id": "4y3h7s",
        "parent": "4y3h7p"
    },
    {
        "node_type": 1,
        "node_type_name": "Device",
        "zone": {
            "resource_uri": "/MAAS/api/2.0/zones/default/",
            "name": "default",
            "description": ""
        },
        "fqdn": "pericarpic-leslee.maas",
        "hostname": "pericarpic-leslee",
        "ip_addresses": [],
        "macaddress_set": [
            {
                "mac_address": "00:16:3e:ab:0f:54"
            }
        ],
        "tag_names": [],
        "domain": {
            "resource_record_count": 2,
            "ttl": null,
            "id": 0,
            "authoritative": true,
            "resource_uri": "/MAAS/api/2.0/domains/0/",
            "name": "maas"
        },
        "owner": "admin",
        "resource_uri": "/MAAS/api/2.0/devices/4y3h7t/",
        "system_id": "4y3h7t",
        "parent": "4y3h7p"
    }
]
Download as text