conweave-project/conweave-ns3

Error: NetDevice::SwitchSend not implemented

Closed this issue · 0 comments

Hi

When I added my own load balancing scheme based on this project, I added my own code in switch-node.cc. In the leaf-spine topology, when forwarding packets to the spine switch, SwitchNode::m_devices[outDev] returns NetDevice instead of QbbNetDevice, which causes NetDevice::SwitchSend to be called. This function has not been implemented yet. This doesn't happen on leaf switches. Is it because my calculation of outDev is wrong, a switch is not all QbbNetDevice?