Add xauth pkg to mininet
Add file: resources/mininet/cheatsheet.txt
Rename topology inside topo.py to L3TestTopo (instead of MyTopo)
Change-Id: Ia5b7ffe59a29cc1fef00bf77faac63bf27669343
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
--- /dev/null
+# capturing packets
+export HOST=`ifconfig | awk -F"-" '/^.+-eth0/ {print $1}'`
+echo "this is host ${HOST}"
+
+# to see it in the screen
+## tcpdump -XX -n -e -i ${HOST}-eth0
+
+# capture to a file
+tcpdump -w /vagrant/resources/mininet/${HOST}.pcap -s0 -vvv -e -n -c 100 -i ${HOST}-eth0
+
+
from mininet.topo import Topo
-class MyTopo( Topo ):
+class L3TestTopo( Topo ):
- """L3 topology."""
+ """L3 test topology."""
def __init__( self ):
"""Create custom topo."""
self.addLink( s1, h3 )
self.addLink( s1, h4 )
-topos = {'l3': ( lambda: MyTopo() )}
+topos = {'l3': ( lambda: L3TestTopo() )}
'python-qt4',
'python-zopeinterface',
'python-twisted-conch',
- 'python-twisted-web'
+ 'python-twisted-web',
+ 'xauth'
]
package { $deps: