[pox-dev] OpenFlow: SwitchFeatures and PortStatus messages.

2014-05-25 Thread Karthik Sharma
have a controller application listening to the following messages. SwitchFeatures PortStatus PacketIn My mininet topology consists of exactly 6 switches and 6 hosts.Each switch has two ports. 1) How many SwitchFeatures can I expect my application to see? 2) How many PortStatus can I expect my

[pox-dev] destructor of MyController class is not being called.

2013-05-12 Thread Karthik Sharma
I have a class called MyController where I use the destructor to print some statistics. class MyController (object): def __init__ (self, connection): self.connection = connection connection.addListeners(self) # Use this table to keep track of which ethernet address is on # which

[pox-dev] query from sqlalchemy returns AttributeError: 'NoneType' object

2013-05-02 Thread Karthik Sharma
Hi I have a funciton act_like_switch defined below. def act_like_switch (self, packet, packet_in): Implement switch-like behavior. # Learn the port for the source MAC #print RECIEVED FROM PORT ,packet_in.in_port , SOURCE ,packet.src # create a Session #Session =

Re: [pox-dev] h1 ping h3 from mininet via POX controller not working as expected.

2013-05-02 Thread Karthik Sharma
on the commandline. Since you're installing flows, you'd actually expect them to start hitting the flow table and stop hitting the switch, but the fewest you could probably expect to see at the controller in that case is still three. -- Murphy On May 2, 2013, at 9:48 PM, Karthik Sharma wrote: I have

[pox-dev] Specifying multiple POX controllers for mininet.

2013-04-16 Thread Karthik Sharma
I am using a mininet topology with a remote controller. However I want to specify another redundant controller as a fallback option. Can I do as follows mn --custom topo-1sw-2host.py --topo mytopo --controller=remote --ip=192.168.129.56 --ip=192.168.129.57. Mininet seems to accept the above

[pox-dev] some problem with python controller code

2013-04-14 Thread Karthik Sharma
I am quite new to python and to sqlalchemy.I have written the following netowrk program. class SourcetoPort(Base): __tablename__ = 'source_to_port' id = Column(Integer, primary_key=True) port_no= Column(Integer) src_address= Column(String)

Re: [pox-dev] some problem with python controller code

2013-04-14 Thread Karthik Sharma
Regards, Karthik. On 15 April 2013 10:35, Murphy McCauley murphy.mccau...@gmail.com wrote: On Apr 14, 2013, at 3:19 PM, Karthik Sharma wrote: entry = SourcetoPort(src_address=packet.src , port_no=packet_in.in_port) I am not looking too closely, but you seem to be adding the literal string

Re: [pox-dev] Installing flows on POX controller.

2013-04-10 Thread Karthik Sharma
, Karthik Sharma wrote: I have 4 virtual Machine (Ubuntu 12.04) running on a host that is also running Ubuntu 12.04 The Virtual Machines are named as vm-1 vm-2 vm-3 vm-switch Below are the network settings on switch-vm Adapter 1: Intel PRO/1000 MT Desktop (Bridged

[pox-dev] ./pox.py log.level --DEBUG forwarding.l2_learning now working as expected.

2013-04-09 Thread Karthik Sharma
I am new to POX controller.The setup I have on my PC is explained below. I have installed openvswitch on my PC with runs Ubuntu 12.04.I also have virtual box running on my PC with 3 virtual machines (Ubuntu 12.04) running on them.They are named vm-1 vm-2 vm-3 I have configured the

[pox-dev] forwarding.l2_learning module giving warning for DHCP packets.

2013-04-09 Thread Karthik Sharma
I have 4 virtual Machine (Ubuntu 12.04) running on a host that is also running Ubuntu 12.04 The Virtual Machines are named as vm-1 vm-2 vm-3 switch-vm Below are the network settings on switch-vm Adapter 1: Intel PRO/1000 MT Desktop (Bridged adapter, eth0) Adapter

Re: [pox-dev] forwarding.l2_learning module giving warning for DHCP packets.

2013-04-09 Thread Karthik Sharma
and not through the second (internal network mode) interface. So... disable the bridged mode interfaces on vm_1/vm_2/vm_3 or do something else to force traffic to go through the intnet interface. -- Murphy On Apr 9, 2013, at 8:42 PM, Karthik Sharma wrote: Hi, But my problem is that I don't seem