Hi, all.
This mail is to introduce how to use BBSim for scalability test of VOLTHA and ONOS.
The latest version of BBSim supports the emulation of control messages in the discovery phase between OpenOLT Adapter and OLT/ONUs, i.e., EnableOLTInd to ONUInd.
This currently has not support other types of indications and operation (e.g. OMCI Ind, FlowAdd etc..) yet, but it can be used for the scalability test of the discovery phase.
At least, I confirmed these emulated OLTs/ONUs can be seen from the ONOS GUI view.
I would be very glad if I can get some comments or questions, with email or JIRA.
2. Set up Go-lang related PATH (refer to README)
3. Build (go build bbsim.go grpc_server.go)
4. Create IP addresses for gRPC communication
※The OpenOLT Adapter identifies each OLT based on IP Address, then you need to create IP addresses in accordance with the number of OLT devices that you want to emulate.
ifconfig <ifname> <IP Address1> netmask <Netmask>
ifconfig <ifname> <IP Address2> netmask <Netmask>
e.g., sudo ifconfig lo:1 182.17.0.1 netmask 255.255.0.0 up
5. Run BBSim in standalone (no container )
./bbsim -H <IP Address1:Portnum> -i <Number of PON-IF ports> -n <Number of ONUs per port>
./bbsim -H <IP Address2:Portnum> -i <Number of PON-IF ports> -n <Number of ONUs per port>
※ At present, you need to run bbsim per OLT (I will modify this later).
6. Pre-provision and Enable from VOLTHA-CLI using OpenOLT Adapter