Hello,ereryone
Now, I am working on the connection of ONOS+Stratum+P4。Firstly,I import the ONOS source code into IntelliJ IDEA,In the apps directory, I created my own app, then used bazel to compile and run it, and generated a package with the suffix .oar。Secondly,I installed this app in ONOS and activated it,At the same time, I started running Stratum on the P4 switch(Wedge 100BF-barefoot tofino),Thirdly,I wrote the netcfg.json file and sent it to ONOS,In the ONOS CLI, it is found that the device is false.The following is the code of netcfg.json and the picture of the device situation:
1.
{
“devices”: {
“device:OpenMesh-switch”: {
“basic”: {
“managementAddress”: “grpc://192.168.17.124:28000?device_id=1”,
“driver”: “stratum”,
“pipeconf”: “org.onosproject.fabric.tofino”
}
}
}
}
2.
I don’t know what went wrong, thank you all for your answers!