HTTP/1.1 200 OK Date: Wed, 20 Jul 2011 20:13:42 GMT Server: occi-py/0.7 OCCI/1.1 Content-Length: 12672 Etag: "b649214c0649c83ba35143b6f9445d192875d0ae" Content-Type: application/json; charset=utf-8 { "categories": [ { "term": "entity", "scheme": "http://schemas.ogf.org/occi/core#", "class": "kind", "title": "Entity type", "attributes": { "occi.core.id": { "mutable": false, "required": false, "type": "uuid" }, "occi.core.title": { "mutable": true, "required": false, "type": "string" } } }, { "term": "resource", "scheme": "http://schemas.ogf.org/occi/core#", "class": "kind", "title": "Resource type", "related": "http://schemas.ogf.org/occi/core#entity", "attributes": { "occi.core.summary": { "mutable": true, "required": false, "type": "string" } } }, { "term": "link", "scheme": "http://schemas.ogf.org/occi/core#", "class": "kind", "title": "Link type", "related": "http://schemas.ogf.org/occi/core#entity", "attributes": { "occi.core.source": { "mutable": false, "required": true, "type": "string" }, "occi.core.target": { "mutable": true, "required": true, "type": "string" } } }, { "term": "compute", "scheme": "http://schemas.ogf.org/occi/infrastructure#", "class": "kind", "title": "Compute Resource", "related": "http://schemas.ogf.org/occi/core#resource", "attributes": { "occi.compute.architecture": { "mutable": true, "required": false, "type": "string" }, "occi.compute.cores": { "mutable": true, "required": false, "type": "integer" }, "occi.compute.hostname": { "mutable": true, "required": false, "type": "string" }, "occi.compute.speed": { "mutable": true, "required": false, "type": "float" }, "occi.compute.memory": { "mutable": true, "required": false, "type": "float" }, "occi.compute.state": { "mutable": false, "required": false, "type": "string" } }, "actions": [ "http://schemas.ogf.org/occi/infrastructure/compute/action#start", "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" ], "location": "/api/compute/" }, { "term": "start", "scheme": "http://schemas.ogf.org/occi/infrastructure/compute/action#", "class": "category", "title": "Start Compute Resource", "attributes": { "method": { "mutable": true, "required": false, "type": "string" } } }, { "term": "stop", "scheme": "http://schemas.ogf.org/occi/infrastructure/compute/action#", "class": "category", "title": "Stop Compute Resource", "attributes": { "method": { "mutable": true, "required": false, "type": "string" } } }, { "term": "restart", "scheme": "http://schemas.ogf.org/occi/infrastructure/compute/action#", "class": "category", "title": "Restart Compute Resource", "attributes": { "method": { "mutable": true, "required": false, "type": "string" } } }, { "term": "suspend", "scheme": "http://schemas.ogf.org/occi/infrastructure/compute/action#", "class": "category", "title": "Suspend Compute Resource", "attributes": { "method": { "mutable": true, "required": false, "type": "string" } } }, { "term": "network", "scheme": "http://schemas.ogf.org/occi/infrastructure#", "class": "kind", "title": "Network Resource", "related": "http://schemas.ogf.org/occi/core#resource", "attributes": { "occi.network.vlan": { "mutable": true, "required": false, "type": "integer" }, "occi.network.label": { "mutable": true, "required": false, "type": "string" }, "occi.network.state": { "mutable": false, "required": false, "type": "string" } }, "actions": [ "http://schemas.ogf.org/occi/infrastructure/network/action#up", "http://schemas.ogf.org/occi/infrastructure/network/action#down" ], "location": "/api/network/" }, { "term": "up", "scheme": "http://schemas.ogf.org/occi/infrastructure/network/action#", "class": "category", "title": "Bring up Network Resource" }, { "term": "down", "scheme": "http://schemas.ogf.org/occi/infrastructure/network/action#", "class": "category", "title": "Take down Network Resource" }, { "term": "ipnetwork", "scheme": "http://schemas.ogf.org/occi/infrastructure/network#", "class": "mixin", "title": "IPNetworking Mixin", "attributes": { "occi.network.address": { "mutable": true, "required": false, "type": "string" }, "occi.network.gateway": { "mutable": true, "required": false, "type": "string" }, "occi.network.allocation": { "mutable": true, "required": false, "type": "string" } }, "location": "/api/ipnetwork/" }, { "term": "storage", "scheme": "http://schemas.ogf.org/occi/infrastructure#", "class": "kind", "title": "Storage Resource", "related": "http://schemas.ogf.org/occi/core#resource", "attributes": { "occi.storage.size": { "mutable": true, "required": true, "type": "float" }, "occi.storage.state": { "mutable": false, "required": false, "type": "string" } }, "actions": [ "http://schemas.ogf.org/occi/infrastructure/storage/action#online", "http://schemas.ogf.org/occi/infrastructure/storage/action#offline", "http://schemas.ogf.org/occi/infrastructure/storage/action#backup", "http://schemas.ogf.org/occi/infrastructure/storage/action#snapshot", "http://schemas.ogf.org/occi/infrastructure/storage/action#resize" ], "location": "/api/storage/" }, { "term": "online", "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#", "class": "category", "title": "Bring Storage Resource online" }, { "term": "offline", "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#", "class": "category", "title": "Bring Storage Resource offline" }, { "term": "backup", "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#", "class": "category", "title": "Backup Storage Resource" }, { "term": "snapshot", "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#", "class": "category", "title": "Take snapshot of Storage Resource" }, { "term": "resize", "scheme": "http://schemas.ogf.org/occi/infrastructure/storage/action#", "class": "category", "title": "Resize Storage Resource", "attributes": { "size": { "mutable": true, "required": true, "type": "string" } } }, { "term": "networkinterface", "scheme": "http://schemas.ogf.org/occi/infrastructure#", "class": "kind", "title": "NetworkInterface Link", "related": "http://schemas.ogf.org/occi/core#link", "attributes": { "occi.networkinterface.interface": { "mutable": true, "required": false, "type": "string" }, "occi.networkinterface.mac": { "mutable": true, "required": false, "type": "string" }, "occi.networkinterface.state": { "mutable": false, "required": false, "type": "string" } }, "location": "/api/link/networkinterface/" }, { "term": "ipnetworkinterface", "scheme": "http://schemas.ogf.org/occi/infrastructure#", "class": "mixin", "title": "IPNetworkInterface Link", "attributes": { "occi.networkinterface.ip": { "mutable": true, "required": false, "type": "string" }, "occi.networkinterface.gateway": { "mutable": true, "required": false, "type": "string" }, "occi.networkinterface.allocation": { "mutable": true, "required": true, "type": "string" } }, "location": "/api/link/ipnetworkinterface/" }, { "term": "storagelink", "scheme": "http://schemas.ogf.org/occi/infrastructure#", "class": "kind", "title": "Storage Link", "related": "http://schemas.ogf.org/occi/core#link", "attributes": { "occi.storagelink.deviceid": { "mutable": true, "required": true, "type": "string" }, "occi.storagelink.mountpoint": { "mutable": true, "required": false, "type": "string" }, "occi.storagelink.state": { "mutable": false, "required": false, "type": "string" } }, "location": "/api/link/storage/" } ] }