mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-12-10 11:51:33 +01:00
Currently, there is no way to invoking using REST API.
I've added REST API.
json data example:
{
"op": "workflow.invoke",
"params": {
"workplace": "Nova-000",
"id": "of-overlay.workflow-nova",
"data": {
"mgmtIp": "192.168.10.8",
"ovsdbPort": 6641,
"sshAccessInfo": {
"remoteIp": "192.168.10.8",
"port": 22,
"user": "root",
"password": "iloveyou",
"keyfile": "~/.ssh/id_rsa"
},
"ovsDatapathType": "system",
"physicalPorts": [
"nova0_1"
],
"vtepIp": "120.0.0.200/24",
"annotations": {
"rackId": 1,
"rackPosition": 3
}
}
}
}
Change-Id: I2ce3bc5a59ce1cbe91c8c6f83bd1f25e81933ce3