kind | string Default: "all" Enum: "all" "topology" "scenario" "experiment" "image" "user" "role" limit configs to specified kind (defaults to all) |
{- "configs": [
- {
- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "name": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": { }
}
]
}
phenix config creation parameters
apiVersion required | string |
kind required | string |
required | object |
required | object |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "name": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": { }
}
kind required | string kind of phenix config to get |
name required | string name of phenix config to get |
Accept | string Default: application/json Enum: "application/json" "application/x-yaml" content format for response |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "name": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": { }
}
Can also be used to rename a config by changing the name in the metadata portion of the config header and using the old name in the request path.
kind required | string kind of phenix config to get |
name required | string name of phenix config to get |
phenix config update parameters
apiVersion required | string |
kind required | string |
required | object |
required | object |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "name": "string",
- "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": { }
}
version required | string Enum: "v1" "v2" version of phenix config schema to get |
Accept | string Default: application/json Enum: "application/json" "application/x-yaml" content format for response |
{ }
kind required | string Enum: "topology" "scenario" "experiment" "image" "user" "role" kind of phenix config schema to get |
version required | string Enum: "v1" "v2" version of phenix config schema to get |
Accept | string Default: application/json Enum: "application/json" "application/x-yaml" content format for response |
{ }
screenshot | string whether or not to include VM screenshots (value is size to grab) |
{- "experiments": [
- {
- "id": 0,
- "name": "string",
- "topology": "string",
- "apps": [
- "string"
], - "start_time": "2019-08-24T14:15:22Z",
- "running": true,
- "vm_count": 0,
- "vlan_min": 0,
- "vlan_max": 0,
- "vlan_count": 0,
- "vlans": [
- {
- "vlan": 0,
- "alias": "string"
}
], - "vms": {
- "vms": [
- {
- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
]
}
}
]
}
phenix experiment creation parameters
name | string |
topology | string |
apps | Array of strings |
vlan_min | integer |
vlan_max | integer |
{- "name": "string",
- "topology": "string",
- "apps": [
- "string"
], - "vlan_min": 0,
- "vlan_max": 0
}
{- "id": 0,
- "name": "string",
- "topology": "string",
- "apps": [
- "string"
], - "start_time": "2019-08-24T14:15:22Z",
- "running": true,
- "vm_count": 0,
- "vlan_min": 0,
- "vlan_max": 0,
- "vlan_count": 0,
- "vlans": [
- {
- "vlan": 0,
- "alias": "string"
}
], - "vms": {
- "vms": [
- {
- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
]
}
}
name required | string name of phenix experiment to get |
screenshot | string whether or not to include VM screenshots (value is size to grab) |
{- "id": 0,
- "name": "string",
- "topology": "string",
- "apps": [
- "string"
], - "start_time": "2019-08-24T14:15:22Z",
- "running": true,
- "vm_count": 0,
- "vlan_min": 0,
- "vlan_max": 0,
- "vlan_count": 0,
- "vlans": [
- {
- "vlan": 0,
- "alias": "string"
}
], - "vms": {
- "vms": [
- {
- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
]
}
}
name required | string name of phenix experiment to start |
{- "id": 0,
- "name": "string",
- "topology": "string",
- "apps": [
- "string"
], - "start_time": "2019-08-24T14:15:22Z",
- "running": true,
- "vm_count": 0,
- "vlan_min": 0,
- "vlan_max": 0,
- "vlan_count": 0,
- "vlans": [
- {
- "vlan": 0,
- "alias": "string"
}
], - "vms": {
- "vms": [
- {
- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
]
}
}
name required | string name of phenix experiment to stop |
{- "id": 0,
- "name": "string",
- "topology": "string",
- "apps": [
- "string"
], - "start_time": "2019-08-24T14:15:22Z",
- "running": true,
- "vm_count": 0,
- "vlan_min": 0,
- "vlan_max": 0,
- "vlan_count": 0,
- "vlans": [
- {
- "vlan": 0,
- "alias": "string"
}
], - "vms": {
- "vms": [
- {
- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
]
}
}
name required | name name of phenix experiment to update schedule for |
scheduling algorithm to use
algorithm | string |
{- "algorithm": "string"
}
{- "schedule": [
- {
- "vm": "string",
- "host": "string",
- "auto_assigned": true
}
]
}
exp_name required | string name of phenix experiment to get VMs for |
screenshot | string whether or not to include VM screenshots (value is size to grab) |
{- "vms": [
- {
- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
]
}
exp_name required | string name of phenix experiment to get VM from |
vm_name required | string name of phenix experiment VM to get |
screenshot | string whether or not to include VM screenshots (value is size to grab) |
{- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
exp_name required | string name of phenix experiment to modify |
vm_name required | string name of phenix virtual machine to modify |
phenix virtual machine patch parameters
host | string |
cpus | integer |
ram | integer |
disk | string |
dnb | boolean |
object |
{- "host": "string",
- "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "interface": {
- "index": 0,
- "vlan": 0
}
}
{- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
exp_name required | string name of phenix experiment |
vm_name required | string name of phenix VM to start |
{- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
exp_name required | string name of phenix experiment |
vm_name required | string name of phenix VM to stop |
{- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
exp_name required | string name of phenix experiment |
vm_name required | string name of phenix VM to redeploy |
{- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
exp_name required | string name of phenix experiment |
vm_name required | string name of phenix virtual machine to get screenshot from |
size | string size of screenshot to grab |
base64 | boolean whether or not to base64 encode the screenshot image |
exp_name required | string name of phenix experiment |
vm_name required | string name of phenix VM to start capture on |
phenix VM packet capture parameters
interface | integer |
filename | string |
{- "interface": 0,
- "filename": "string"
}
exp_name required | string name of phenix experiment |
vm_name required | string name of phenix VM to snapshot |
phenix VM snapshot parameters
filename | string |
{- "filename": "string"
}
screenshot | string whether or not to include VM screenshots (value is size to grab) |
{- "vms": [
- {
- "id": 0,
- "name": "string",
- "experiment": "string",
- "host": "string",
- "ipv4": [
- "string"
], - "cpus": 0,
- "ram": 0,
- "disk": "string",
- "dnb": true,
- "networks": [
- "string"
], - "taps": [
- "string"
], - "captures": [
- {
- "vm": "string",
- "interface": 0,
- "filepath": "string"
}
], - "running": null,
- "uptime": 0,
- "screenshot": "string"
}
]
}
user details
username | string |
password | string |
first_name | string |
last_name | string |
role_name | string |
resource_names | Array of strings |
{- "username": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "role_name": "string",
- "resource_names": [
- "string"
]
}
{- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "role": {
- "name": "string",
- "resources": [
- "string"
], - "resource_names": [
- "string"
], - "verbs": [
- "string"
]
}
}
{- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "role": {
- "name": "string",
- "resources": [
- "string"
], - "resource_names": [
- "string"
], - "verbs": [
- "string"
]
}
}
username required | string username of user to modify |
user paramaters
first_name | string |
last_name | string |
role_name | string |
resource_names | Array of strings |
{- "first_name": "string",
- "last_name": "string",
- "role_name": "string",
- "resource_names": [
- "string"
]
}
{- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "role": {
- "name": "string",
- "resources": [
- "string"
], - "resource_names": [
- "string"
], - "verbs": [
- "string"
]
}
}
user details
username | string |
password | string |
first_name | string |
last_name | string |
{- "username": "string",
- "password": "string",
- "first_name": "string",
- "last_name": "string"
}
{- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "token": "string"
}
{- "user": "string",
- "pass": "string"
}
{- "username": "string",
- "first_name": "string",
- "last_name": "string",
- "role": "string",
- "token": "string"
}