Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "kinds": [
- {
- "term": "compute",
- "scheme": "http://schemas.ogf.org/occi/infrastructure#",
- "title": "Compute Resource",
- "related": "http://schemas.ogf.org/occi/core#resource",
- "attributes": {
- "occi.compute.architecture": {
- "mutable": true,
- "required": false,
- "type": "string",
- "choices": "{x86|x64}",
- "default": "x86"
- },
- "occi.compute.cores": {
- "mutable": true,
- "required": false,
- "type": "integer",
- "bounds": [
- {
- "lower": 1,
- "upper": 4
- },
- {
- "lower": 8,
- "upper": 16
- }
- ],
- "default": 1
- },
- "occi.compute.hostname": {
- "mutable": true,
- "required": false,
- "type": "string",
- "min_length": 16,
- "max_length": 256
- },
- "occi.compute.speed": {
- "mutable": true,
- "required": false,
- "type": "float",
- "default": "2.2"
- },
- "occi.compute.memory": {
- "mutable": true,
- "required": false,
- "type": "float",
- "default": "4"
- },
- "occi.compute.state": {
- "mutable": false,
- "required": false,
- "type": "string",
- "default": "inactive"
- }
- },
- "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/"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement