Skip to content

Instantly share code, notes, and snippets.

Avatar

Ryan Shah ryankshah

View GitHub Profile
View x_dst_1_spd_25.dput
This file has been truncated, but you can view the full file.
structure(list(`_index` = c("packets-2020-06-24", "packets-2020-06-24",
"packets-2020-06-24", "packets-2020-06-24", "packets-2020-06-24",
"packets-2020-06-24", "packets-2020-06-24", "packets-2020-06-24",
"packets-2020-06-24", "packets-2020-06-24", "packets-2020-06-24",
"packets-2020-06-24", "packets-2020-06-24", "packets-2020-06-24",
"packets-2020-06-24", "packets-2020-06-24", "packets-2020-06-24",
"packets-2020-06-24", "packets-2020-06-24", "packets-2020-06-24",
"packets-2020-06-24", "packets-2020-06-24", "packets-2020-06-24",
"packets-2020-06-24", "packets-2020-06-24", "packets-2020-06-24",
View dput(pump_packets)
structure(list(PacketTime = c(0.925717, 0.925967, 0.9262, 0.926368,
0.966861, 0.966998, 0.9672, 0.967252, 0.971273, 0.97149, 0.971816,
0.972113, 0.974991, 0.975093, 0.97521, 0.975273, 2.008958, 2.009109,
2.009449, 2.009612, 2.01108, 2.011192, 2.011354, 2.011388, 2.015283,
2.01536, 2.015468, 2.015525, 2.016604, 2.016834, 2.017415, 2.017646,
2.019347, 2.019545, 2.019759, 2.019978, 2.020895, 2.021105, 2.023508,
2.023639, 2.023769, 2.023843, 2.027671, 2.027725, 2.02788, 2.027916,
2.028638, 2.02883, 2.03151, 2.031595, 2.031702, 2.031747, 2.034291,
2.034404, 2.039741, 2.039864, 2.039985, 2.040038, 2.042009, 2.042255,
2.043858, 2.043994, 2.044106, 2.044159, 2.04811, 2.048292, 2.048462,
View topology.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
from mininet.topo import Topo
from mininet.net import Mininet
from mininet.util import dumpNodeConnections, pmonitor
from mininet.log import setLogLevel
from mininet.node import RemoteController, OVSSwitch
#from mininet.node import OVSController
View verify_2_chain.csv
We can't make this file beautiful and searchable because it's too large.
policy,level,value
cwall,15,1289
cwall,15,1212
cwall,15,1277
cwall,15,1525
cwall,15,1370
cwall,15,1482
cwall,15,1479
cwall,15,664
cwall,15,694
View verify_1_chain.csv
We can't make this file beautiful and searchable because it's too large.
policy,level,value
blp,10,405
blp,10,556
blp,10,512
blp,10,642
blp,10,447
blp,10,642
blp,10,168
blp,10,164
View verify_1_chain.csv
We can't make this file beautiful and searchable because it's too large.
,policy,level,value
0,blp,10,405
0,blp,10,556
0,blp,10,512
0,blp,10,642
0,blp,10,447
0,blp,10,642
0,blp,10,168
0,blp,10,164
View verify_1_chain.csv
We can't make this file beautiful and searchable because it's too large.
policy,level,value
blp,10,405
blp,10,556
blp,10,512
blp,10,642
blp,10,447
blp,10,642
blp,10,168
blp,10,164
View verify_1_chain.csv
We can't make this file beautiful and searchable because it's too large.
policy,level,value
blp,10,405
blp,10,556
blp,10,512
blp,10,642
blp,10,447
blp,10,642
blp,10,168
blp,10,164
View gist:c610bf247d565a3d23e05feec6d55277
from mininet.topo import Topo
from mininet.net import Mininet
from mininet.util import dumpNodeConnections, pmonitor
from mininet.log import setLogLevel
from mininet.node import Controller, OVSSwitch
#from mininet.node import OVSController
from signal import SIGINT
import math
import random
View topo
#!/usr/bin/python
# -*- coding: utf-8 -*-
from mininet.topo import Topo
from mininet.net import Mininet
from mininet.util import dumpNodeConnections, pmonitor
from mininet.log import setLogLevel
from mininet.node import Controller, OVSSwitch
#from mininet.node import OVSController