Re: [nox-dev] python flow fetcher request with network address fields specified

2011-09-19 Thread Partti, Tapio (NSN - FI/Espoo)
Thanks, this solves the issue.

 

-Tapio

 

From: ext Murphy McCauley [mailto:jam...@nau.edu] 
Sent: Saturday, September 17, 2011 11:55 AM
To: Partti, Tapio (NSN - FI/Espoo)
Cc: nox-dev@noxrepo.org
Subject: Re: [nox-dev] python flow fetcher request with network address
fields specified

 

No idea how this has existed in NOX for so long.

 

In coreapps/pyrt/pyglue.cc lines 187 and 204 call htons().  They should
be htonl().

 

-- Murphy

 

On Sep 16, 2011, at 5:36 AM, Partti, Tapio (NSN - FI/Espoo) wrote:





It's destiny and I tested with the latest updates. I'm on 64 bit
machine.

 

-Tapio

 

From: ext Murphy McCauley [mailto:jam...@nau.edu] 
Sent: Friday, September 16, 2011 11:21 AM
To: Partti, Tapio (NSN - FI/Espoo)
Cc: nox-dev@noxrepo.org
Subject: Re: [nox-dev] python flow fetcher request with network address
fields specified

 

Which NOX branch are you using?  If the answer isn't destiny, please try
again with destiny.

 

If you ARE using destiny, are you on a 32 or a 64 bit machine?

 

-- Murphy

 

On Sep 16, 2011, at 1:11 AM, Partti, Tapio (NSN - FI/Espoo) wrote:






Hi,

I have trouble using the python flow fetcher. I can successfully fetch
flows as long as the request doesn't contain uint32_t types on fields,
i.e. nw_src or nw_dst. No matter what values I use, only the first two
bytes will be non-zero. For example, if I construct the request like
this:

 

Flow_stats_request = {dpid:  dpid_int, match: {in_port: inport,
nw_dst: ipstr_to_int(192.168.1.2), dl_type: 0x800}}

with wireshark I can see flow fetcher sending Stats Request with nw_dst
1.2.0.0. It would seem that some bit shifting is going on, although I'm
not sure if I'm using the flow fetcher correctly.

Can someone please tell me how to get it working properly or suggest how
I can fix it if it's a bug? Thanks.

-Tapio

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

 

 

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] Running NOX on VmWare

2011-09-19 Thread Murphy McCauley
I don't think we have enough information to answer your question.

Which ARP messages are you talking about?  What machine are they coming from 
and what are they asking for?

And what's your purpose here?  Are you going to add more VMs and connect them 
to virtual ports on VM2?  (As you've described it, you seem to have a switch 
that isn't switching anything.)

-- Murphy

On Sep 14, 2011, at 11:01 AM, Candy Floss wrote:

 I have created two virtual machines in VmWare server. I have configured one 
 machine as NOX controller and one as open switch. I added the routes and I'm 
 able to ping each other. But when I start the NOX and the open switch the ARP 
 messages are getting flooded on the machine. I have configured unique MAC 
 address for each of the machines. My configuration is like this
 
 on VmWare server 
 Virtual Machine 1 : Nox Controller
 
 eth0 192.170.35.1 netmask 255.255.0.0
 
 Virtual Machine 2: Open Switch 1
 
 eth0 192.170.40.1 netmask 255.255.0.0
 
 Why the ARP messages flooding? Is my configuration right?
 
 
 Thanks,
 Candy
 
 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev

___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] Running NOX on VmWare

2011-09-19 Thread Candy Floss
The messages are coming from the virtual machine. The network is getting
flooded and the machine goes down so I'm not able to capture what messages
are getting generated.

My purpose is to configure NOX and test it. For that I have configured one
Virtual machine as NOX and the other as open switch in the VmWare server. I
do not have a physical switch, I have configured one virtual machine as a
Switch. I will be adding more VMs but first I want to establish a connection
between switch and NOX.

Thanks,
Candy

On Mon, Sep 19, 2011 at 1:05 PM, Murphy McCauley jam...@nau.edu wrote:

 I don't think we have enough information to answer your question.

 Which ARP messages are you talking about?  What machine are they coming
 from and what are they asking for?

 And what's your purpose here?  Are you going to add more VMs and connect
 them to virtual ports on VM2?  (As you've described it, you seem to have a
 switch that isn't switching anything.)

 -- Murphy

 On Sep 14, 2011, at 11:01 AM, Candy Floss wrote:

  I have created two virtual machines in VmWare server. I have configured
 one machine as NOX controller and one as open switch. I added the routes and
 I'm able to ping each other. But when I start the NOX and the open switch
 the ARP messages are getting flooded on the machine. I have configured
 unique MAC address for each of the machines. My configuration is like this
 
  on VmWare server
  Virtual Machine 1 : Nox Controller
 
  eth0 192.170.35.1 netmask 255.255.0.0
 
  Virtual Machine 2: Open Switch 1
 
  eth0 192.170.40.1 netmask 255.255.0.0
 
  Why the ARP messages flooding? Is my configuration right?
 
 
  Thanks,
  Candy
 
  ___
  nox-dev mailing list
  nox-dev@noxrepo.org
  http://noxrepo.org/mailman/listinfo/nox-dev


___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev