Skip to content

Instantly share code, notes, and snippets.

View lordlabakdas's full-sized avatar

Siddharth Gangadhar lordlabakdas

View GitHub Profile
### Keybase proof
I hereby claim:
* I am lordlabakdas on github.
* I am siddugan (https://keybase.io/siddugan) on keybase.
* I have a public key ASB9gkICgpYSWZfemgx3MFKt_ENbv3QVlXmiKzXal4kUYwo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am lordlabakdas on github.
  • I am lordlabakdas (https://keybase.io/lordlabakdas) on keybase.
  • I have a public key ASC9aGQ0WQ84ZkCM6_t7Nr-_KzOpDexwPjNyfBveCT6mlQo

To claim this, I am signing this object:

@lordlabakdas
lordlabakdas / socket.py
Created April 25, 2017 19:48
socket connection in controller
import random
from socket import *
import json
from pox.core import core
def udp_server():
serverSocket = socket(AF_INET, SOCK_DGRAM)
serverSocket.bind(('', 12345))
while True:
@lordlabakdas
lordlabakdas / error.log
Created April 23, 2017 22:26
./pox.py log --format="[%(asctime)s %(name)s %(levelname)s] %(message)s" --datefmt="%H:%M:%S" log.level --DEBUG openflow.discovery
POX 0.5.0 (eel) / Copyright 2011-2014 James McCauley, et al.
[17:23:15 core DEBUG] POX 0.5.0 (eel) going up...
[17:23:15 core DEBUG] Running on CPython (2.7.6/Oct 26 2016 20:30:19)
[17:23:15 core DEBUG] Platform is Linux-4.4.0-67-generic-x86_64-with-Ubuntu-14.04-trusty
[17:23:15 core INFO] POX 0.5.0 (eel) is up.
[17:23:15 openflow.of_01 DEBUG] Listening on 0.0.0.0:6633
[17:23:19 openflow.of_01 INFO] [00-00-00-00-00-01 2] connected
[17:23:19 openflow.discovery DEBUG] Installing flow for 00-00-00-00-00-01
[17:23:19 openflow.of_01 INFO] [00-00-00-00-00-03 4] connected
[17:23:19 openflow.discovery DEBUG] Installing flow for 00-00-00-00-00-03
POX 0.5.0 (eel) / Copyright 2011-2014 James McCauley, et al.
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
[15:50:23 core DEBUG] POX 0.5.0 (eel) going up...
[15:50:23 core DEBUG] Running on CPython (2.7.6/Oct 26 2016 20:30:19)
[15:50:23 core DEBUG] Platform is Linux-4.4.0-67-generic-x86_64-with-Ubuntu-14.04-trusty
[15:50:23 core INFO] POX 0.5.0 (eel) is up.
[15:50:23 openflow.of_01 DEBUG] Listening on 0.0.0.0:6633
[15:50:26 openflow.of_01 INFO] [00-00-00-00-00-01 2] connected
[15:50:26 openflow.discovery DEBUG] Installing flow for 00-00-00-00-00-01
@lordlabakdas
lordlabakdas / ns3.log
Last active April 17, 2017 19:57
ns-3 error log
[ 941/1809] Compiling src/internet/model/tcp-socket-base.cc
[ 942/1809] Compiling src/wifi/model/erp-information.cc
[ 943/1809] Compiling src/mesh/model/flame/flame-protocol.cc
[ 944/1809] Compiling src/internet/model/ipv6.cc
[ 945/1809] Compiling src/lte/model/eps-bearer.cc
[ 946/1809] Compiling src/flow-monitor/model/flow-probe.cc
[ 947/1809] Compiling src/wimax/model/cs-parameters.cc
[ 948/1809] Compiling src/config-store/model/attribute-iterator.cc
[ 949/1809] Compiling src/network/utils/queue.cc
[ 950/1809] Compiling src/uan/model/uan-mac-rc-gw.cc
This file has been truncated, but you can view the full file.
POX 0.5.0 (eel) / Copyright 2011-2014 James McCauley, et al.
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
INFO:Coronet:Init Coronet
Resilience Engine Launched
[08:21:49 core DEBUG] POX 0.5.0 (eel) going up...
[08:21:49 core DEBUG] Running on CPython (2.7.6/Oct 26 2016 20:30:19)
[08:21:49 core DEBUG] Platform is Linux-4.4.0-67-generic-x86_64-with-Ubuntu-14.04-trusty
[08:21:49 core INFO] POX 0.5.0 (eel) is up.
[08:21:49 openflow.of_01 DEBUG] Listening on 0.0.0.0:6633
This file has been truncated, but you can view the full file.
POX 0.5.0 (eel) / Copyright 2011-2014 James McCauley, et al.
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/Grammar.txt
INFO:root:Generating grammar tables from /usr/lib/python2.7/lib2to3/PatternGrammar.txt
INFO:Coronet:Init Coronet
Resilience Engine Launched
[08:21:49 core DEBUG] POX 0.5.0 (eel) going up...
[08:21:49 core DEBUG] Running on CPython (2.7.6/Oct 26 2016 20:30:19)
[08:21:49 core DEBUG] Platform is Linux-4.4.0-67-generic-x86_64-with-Ubuntu-14.04-trusty
[08:21:49 core INFO] POX 0.5.0 (eel) is up.
[08:21:49 openflow.of_01 DEBUG] Listening on 0.0.0.0:6633
@lordlabakdas
lordlabakdas / pox_159_164_spanning_tree.log
Created April 11, 2017 10:37
log with spanning_tree.py lines 159 - 164 commented out
This file has been truncated, but you can view the full file.
POX 0.5.0 (eel) / Copyright 2011-2014 James McCauley, et al.
INFO:Coronet:Init Coronet
Resilience Engine Launched
[05:28:00 core DEBUG] POX 0.5.0 (eel) going up...
[05:28:00 core DEBUG] Running on CPython (2.7.6/Oct 26 2016 20:30:19)
[05:28:00 core DEBUG] Platform is Linux-4.4.0-67-generic-x86_64-with-Ubuntu-14.04-trusty
[05:28:00 core INFO] POX 0.5.0 (eel) is up.
[05:28:00 openflow.of_01 DEBUG] Listening on 0.0.0.0:6633
[05:28:18 openflow.of_01 INFO] [00-00-00-00-00-01 2] connected
[05:28:18 openflow.discovery DEBUG] Installing flow for 00-00-00-00-00-01
@lordlabakdas
lordlabakdas / pox_log_with_unidirectional_links
Last active April 11, 2017 02:10
Pox log with unidirectional links