EGI-FCTF/rOCCI-core

View on GitHub
examples/rendering/instance.json

Summary

Maintainability
Test Coverage
{
  "actions": [
    "http://schemas.ogf.org/occi/infrastructure/compute/action#stop",
    "http://schemas.ogf.org/occi/infrastructure/compute/action#restart",
    "http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
  ],
  "attributes": {
    "occi.compute.architecture": "x64",
    "occi.compute.cores": 1,
    "occi.compute.memory": 1.0,
    "occi.compute.state": "active",
    "occi.core.id": "89878",
    "occi.core.summary": "Instantiated with rOCCI-server on Tue, 18 Apr 2017 16:55:12 +0200.",
    "occi.core.title": "my_compute"
  },
  "id": "89878",
  "kind": "http://schemas.ogf.org/occi/infrastructure#compute",
  "links": [
    {
      "attributes": {
        "occi.core.id": "compute_89878_disk_0",
        "occi.core.source": "/compute/89878",
        "occi.core.target": "/storage/5401",
        "occi.core.title": "38d42ca1-f4e9-5b5c-98de-37eb2d26301a",
        "occi.storagelink.deviceid": "/dev/vda",
        "occi.storagelink.state": "active"
      },
      "id": "compute_89878_disk_0",
      "kind": "http://schemas.ogf.org/occi/infrastructure#storagelink",
      "source": {
        "kind": "http://schemas.ogf.org/occi/infrastructure#compute",
        "location": "/compute/89878"
      },
      "target": {
        "kind": "http://schemas.ogf.org/occi/infrastructure#storage",
        "location": "/storage/5401"
      },
      "title": "38d42ca1-f4e9-5b5c-98de-37eb2d26301a"
    },
    {
      "attributes": {
        "occi.core.id": "compute_89878_nic_0",
        "occi.core.source": "/compute/89878",
        "occi.core.target": "/network/24",
        "occi.core.title": "public",
        "occi.networkinterface.address": "172.16.0.1",
        "occi.networkinterface.allocation": "static",
        "occi.networkinterface.interface": "eth0",
        "occi.networkinterface.mac": "02:00:93:e4:f2:a3",
        "occi.networkinterface.state": "active"
      },
      "id": "compute_89878_nic_0",
      "kind": "http://schemas.ogf.org/occi/infrastructure#networkinterface",
      "mixins": [
        "http://schemas.ogf.org/occi/infrastructure/networkinterface#ipnetworkinterface"
      ],
      "source": {
        "kind": "http://schemas.ogf.org/occi/infrastructure#compute",
        "location": "/compute/89878"
      },
      "target": {
        "kind": "http://schemas.ogf.org/occi/infrastructure#network",
        "location": "/network/24"
      },
      "title": "public"
    }
  ],
  "summary": "Instantiated with rOCCI-server on Tue, 18 Apr 2017 16:55:12 +0200.",
  "title": "my_compute"
}