Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] mininet-discuss Digest, Vol 62, Issue 25

Phiho Hoang hohoangphi at gmail.com
Tue May 12 16:19:19 PDT 2015


Hi Bob,

> Yes, you should use Raspbian Wheezy.
> Good luck! I really like running Mininet on the Pi - it’s a fun “network
in a box!!”

I am thinking of getting a dozens of 'Raspberry Pi killer' CHIP:

http://www.engadget.com/2015/05/10/chip-is-a-9-raspberry-pi-killer/

to develop IoTIaB (Internet of Things In a Box ;-)

What's the biggest Tower topo could you run in a Mininet on a 'Raspberry
Pi'?

I am wondering how many dozens would be needed to generate a few hundred
thousands datapaths to emulate IoTIaB (TM;-)

Cheers,

PhiHo



On Mon, May 11, 2015 at 10:08 PM, Bob Lantz <rlantz at cs.stanford.edu> wrote:

> Yes, you should use Raspbian Wheezy.
> Good luck! I really like running Mininet on the Pi - it’s a fun “network
> in a box!!”
>
> On May 10, 2015, at 11:26 PM, Abhilash G <abhignavami at yahoo.com> wrote:
>
> Thank you, Bob!
>
> I hadn't noticed the wheezy version in used and I am using
> Rasp Pi Model B (older one).
> I will perform reinstall as per these inputs and get back.
>
> Thanks
> Regards
> Abhilash
>
>
>
>   On Monday, May 11, 2015 5:42 AM, Bob Lantz <rlantz at cs.stanford.edu>
> wrote:
>
>
> Make sure that:
>
> 1) You’re running a latest and greatest Raspberry Pi OS (I’m using the
> latest Raspbian/Debian 7 on a Pi 2 model B)
> 2) You’re up to date using apt-get update/upgrade
> 3) You’ve installed OVS correctly and can run “sudo service
> openvswitch-switch start”
>
> I should add a note to the release notes, but cgroups seem to be missing
> from Raspbian, so you won’t be able to use —host cfs.
>
> Here’s a picture:
>
> http://mininet.org/blog/2015/04/15/mininet-on-raspberry-pi/
>
> On Apr 23, 2015, at 10:00 PM, Abhilash G <abhignavami at yahoo.com> wrote:
>
> Hi,
>
> I had deployed Mininet on Raspberry Pi as per the instructions at the
> site, but coming across a problem
> When I am testing mininet with mn ---test ping all, the controller
> creation happens whereas switch creation fails
> -Openvswitch modules failed - db.sock file not found. Sounds familiar. I
> was trying to set cgroup, but cgroup memory
> setting failed.. Is there any correlation or have you come across similar
> issue?
>
> Thanks
> Regards
> Abhilash
>
>
>
>   On Wednesday, April 22, 2015 9:27 PM, "
> mininet-discuss-request at lists.stanford.edu" <
> mininet-discuss-request at lists.stanford.edu> wrote:
>
>
> ----- Forwarded Message -----
>
> Send mininet-discuss mailing list submissions to
>     mininet-discuss at lists.stanford.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>     https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
> or, via email, send a message with subject or body 'help' to
>     mininet-discuss-request at lists.stanford.edu
>
> You can reach the person managing the list at
>     mininet-discuss-owner at lists.stanford.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of mininet-discuss digest..."
>
> Today's Topics:
>
>   1. Can or could MiniNet be used as a hybrid    virtual/real device
>       environment. (brian mullan)
>   2. MPLS Lable in pox (hadi razzaghie)
> I've been wondering about this for quite a while.
>
> I know Mininet has the ability to allow connection to real external
> devices.
>
> Using Mininet, could someone actually utilize this to create a hybrid
> environment with
> virtual and real switches & servers so that the openflow switching
> internal to mininet could be used to connect/control those external devices?
>
> Today's 8-16 core servers have enough power/ram/nic's that it would seem
> part of the SDN
> *could be* internalized within Mininet and perhaps connect & control the
> external devices.
>
> But... I've never found or read anything where anyone was using it in such
> a way.
>
> Just thought I'd ask the question.
>
> brian
>
> helppppp plzzzzzzzzzz
> I have used the code blew to set the MPLS lable in pox:
> #!/usr/bin/python
> from pox.core import core
> import pox.openflow.libopenflow_01 as of
> from pox.lib.addresses import IPAddr
> import pox.openflow.nicira as nx
> import pox.lib.packet as pkt
> log = core.getLogger()
> #————————————————————————
> class SourceRouting (object):
> def __init__ (self, connection):
> self.connection = connection
> connection.addListeners(self)
> def route_creator (self, packet_in, out_port):
> msg = nx.nx_packet_in_format()
> self.connection.send(msg)
> msg = nx.nx_flow_mod_table_id()
> self.connection.send(msg)
> msg = nx.nx_flow_mod()
> msg.priority = 20
> msg.table_id = 0
> msg.actions.append(nx.nx_action_push_mpls())
> msg.actions.append(nx.nx_reg_load(dst=nx.OXM_OF_MPLS_LABEL,value = 100))
> msg.actions.append(of.ofp_action_output(port = 3))
> self.connection.send(msg)
> def packet_sender (self, packet_in, out_port):
> msg = of.ofp_packet_out()
> #msg.data = packet_in
> #msg.priority = 10
> action = of.ofp_action_output(port = out_port)
> msg.actions.append(action)
> self.connection.send(msg)
> def out_port(self,vlan_id,switch_id):
> split = map(int,str(vlan_id))
> for i in xrange(0,len(split),2):
> if split[i] == switch_id:
> return split[i+1]
> def routing(self, packet, packet_in,switch_id,in_port):
> match = of.ofp_match.from_packet(packet)
> vlan_id = match.dl_vlan
> if switch_id == 3 and vlan_id != None:
> self.packet_sender(packet_in, 3)
> if vlan_id != None:
> out = self.out_port(vlan_id,switch_id)
> if switch_id == 3 and match.nw_dst == IPAddr(“10.0.0.1″):
> self.route_creator(packet_in, 3)
> if switch_id == 1 and match.nw_dst == IPAddr(“10.0.0.1″):
> self.packet_sender(packet_in, out)
> if switch_id == 2 and match.nw_dst == IPAddr(“10.0.0.1″):
> self.packet_sender(packet_in, out)
> def _handle_PacketIn (self, event):
> packet = event.parsed
> packet_in = event.ofp
> switch_id = event.dpid
> in_port = event.port
> self.routing(packet, packet_in,switch_id,in_port)
> #——————- main ———————————————-
> def launch ():
> def start_switch (event):
> SourceRouting(event.connection)
> core.openflow.addListenerByName(“ConnectionUp”, start_switch)
> I can see in dump-flows that the flow is installed in the switch’s flow
> table but when I try to send a packet, switch drops it…. any Idea what is
> the problem?????
>
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>
>
>  _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>
>
>
>
>
>
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/mininet-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/mininet-discuss/attachments/20150512/2ee7522d/attachment-0001.html>


More information about the mininet-discuss mailing list