A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
openflow-switch.py File Reference

Go to the source code of this file.

Namespaces

namespace  openflow-switch

Variables

 openflow-switch.app = onoff.Install(terminals.Get(0))
 openflow-switch.container = ns.NodeContainer()
 openflow-switch.controller = ns.ofi.DropController()
 openflow-switch.csma = ns.CsmaHelper()
 openflow-switch.csmaSwitch = ns.NodeContainer()
 openflow-switch.internet = ns.InternetStackHelper()
 openflow-switch.ipv4 = ns.Ipv4AddressHelper()
 openflow-switch.link = csma.Install(container)
 openflow-switch.onoff
int openflow-switch.port = 9
 openflow-switch.sink
 openflow-switch.switchDevices = ns.NetDeviceContainer()
 openflow-switch.switchNode = csmaSwitch.Get(0)
 openflow-switch.swtch = ns.OpenFlowSwitchHelper()
 openflow-switch.terminalDevices = ns.NetDeviceContainer()
 openflow-switch.terminals = ns.NodeContainer()