Variables | |
app = onoff.Install(terminals.Get(0)) | |
container = ns.NodeContainer() | |
controller = ns.ofi.DropController() | |
csma = ns.CsmaHelper() | |
csmaSwitch = ns.NodeContainer() | |
internet = ns.InternetStackHelper() | |
ipv4 = ns.Ipv4AddressHelper() | |
link = csma.Install(container) | |
onoff | |
int | port = 9 |
sink | |
switchDevices = ns.NetDeviceContainer() | |
switchNode = csmaSwitch.Get(0) | |
swtch = ns.OpenFlowSwitchHelper() | |
terminalDevices = ns.NetDeviceContainer() | |
terminals = ns.NodeContainer() | |
openflow-switch.app = onoff.Install(terminals.Get(0)) |
Definition at line 64 of file openflow-switch.py.
openflow-switch.container = ns.NodeContainer() |
Definition at line 35 of file openflow-switch.py.
openflow-switch.controller = ns.ofi.DropController() |
Definition at line 44 of file openflow-switch.py.
openflow-switch.csma = ns.CsmaHelper() |
Definition at line 28 of file openflow-switch.py.
openflow-switch.csmaSwitch = ns.NodeContainer() |
Definition at line 25 of file openflow-switch.py.
openflow-switch.internet = ns.InternetStackHelper() |
Definition at line 50 of file openflow-switch.py.
openflow-switch.ipv4 = ns.Ipv4AddressHelper() |
Definition at line 53 of file openflow-switch.py.
openflow-switch.link = csma.Install(container) |
Definition at line 38 of file openflow-switch.py.
openflow-switch.onoff |
Definition at line 59 of file openflow-switch.py.
int openflow-switch.port = 9 |
Definition at line 57 of file openflow-switch.py.
openflow-switch.sink |
Definition at line 69 of file openflow-switch.py.
openflow-switch.switchDevices = ns.NetDeviceContainer() |
Definition at line 33 of file openflow-switch.py.
openflow-switch.switchNode = csmaSwitch.Get(0) |
Definition at line 42 of file openflow-switch.py.
openflow-switch.swtch = ns.OpenFlowSwitchHelper() |
Definition at line 43 of file openflow-switch.py.
openflow-switch.terminalDevices = ns.NetDeviceContainer() |
Definition at line 32 of file openflow-switch.py.
openflow-switch.terminals = ns.NodeContainer() |
Definition at line 22 of file openflow-switch.py.