Variables | |
ns | app = onoff.Install(terminals.Get(0)) |
ns | container = ns.NodeContainer() |
ns | controller = ns.ofi.DropController() |
ns | csma = ns.CsmaHelper() |
ns | csmaSwitch = ns.NodeContainer() |
ns | internet = ns.InternetStackHelper() |
ns | ipv4 = ns.Ipv4AddressHelper() |
ns | link = csma.Install(container) |
ns | onoff |
int | port = 9 |
ns | sink |
ns | switchDevices = ns.NetDeviceContainer() |
ns | switchNode = csmaSwitch.Get(0) |
ns | swtch = ns.OpenFlowSwitchHelper() |
ns | terminalDevices = ns.NetDeviceContainer() |
ns | terminals = ns.NodeContainer() |
try : | |
ns openflow-switch.app = onoff.Install(terminals.Get(0)) |
Definition at line 75 of file openflow-switch.py.
ns openflow-switch.container = ns.NodeContainer() |
Definition at line 46 of file openflow-switch.py.
ns openflow-switch.controller = ns.ofi.DropController() |
Definition at line 55 of file openflow-switch.py.
ns openflow-switch.csma = ns.CsmaHelper() |
Definition at line 39 of file openflow-switch.py.
ns openflow-switch.csmaSwitch = ns.NodeContainer() |
Definition at line 36 of file openflow-switch.py.
ns openflow-switch.internet = ns.InternetStackHelper() |
Definition at line 61 of file openflow-switch.py.
ns openflow-switch.ipv4 = ns.Ipv4AddressHelper() |
Definition at line 64 of file openflow-switch.py.
ns openflow-switch.link = csma.Install(container) |
Definition at line 49 of file openflow-switch.py.
ns openflow-switch.onoff |
Definition at line 70 of file openflow-switch.py.
int openflow-switch.port = 9 |
Definition at line 68 of file openflow-switch.py.
ns openflow-switch.sink |
Definition at line 80 of file openflow-switch.py.
ns openflow-switch.switchDevices = ns.NetDeviceContainer() |
Definition at line 44 of file openflow-switch.py.
ns openflow-switch.switchNode = csmaSwitch.Get(0) |
Definition at line 53 of file openflow-switch.py.
ns openflow-switch.swtch = ns.OpenFlowSwitchHelper() |
Definition at line 54 of file openflow-switch.py.
ns openflow-switch.terminalDevices = ns.NetDeviceContainer() |
Definition at line 43 of file openflow-switch.py.
ns openflow-switch.terminals = ns.NodeContainer() |
Definition at line 33 of file openflow-switch.py.
openflow-switch.try : |
Definition at line 21 of file openflow-switch.py.