ONEx Data Models (0.0.1)

Download OpenAPI specification:Download

The data models for the entire ONEx ecosystem

Configuration

set_config

Sets the unified ONEx data model

Request Body schema: application/json
Array of objects (Host)
object (Fabric)
object (Dataflow)
object (Chaos)

Responses

Request samples

Content type
application/json
{
  • "hosts": [
    ],
  • "fabric": {
    },
  • "dataflow": {
    },
  • "chaos": {
    }
}

Response samples

Content type
application/json
{
  • "warnings": [
    ]
}

get_config

Gets the unified ONEx data model from the server, as currently configured

Request Body schema: application/json
object (Config.Request)

GetConfig request details

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "config": {
    }
}

Control

run_experiment

Runs the currently configured experiment

Request Body schema: application/json
object (Experiment.Request)

Experiment request details

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "warnings": [
    ]
}

Metrics

get_metrics

Request Body schema: application/json

Request to obtain experiment metrics

object (Metrics.Request)

Metrics request details

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "jct": 0,
  • "flow_results": [
    ]
}