Re: [ovs-discuss] Remove port mirror has problem

2012-07-11 Thread Kris zhang
Thanks, Ben. please see the manual page: http://openvswitch.org/cgi-bin/ovsman.cgi?page=utilities%2Fovs-vsctl.8 it says use : * remove Bridge br0 mirrors mymirror* BTW, the command you give me is working, but a little change: ovs-vsctl -- --id=@rec get mirror mymirror \ -- remove Bri

Re: [ovs-discuss] Remove port mirror has problem

2012-07-11 Thread Ben Pfaff
On Thu, Jul 12, 2012 at 11:39:24AM +0800, Kris zhang wrote: > But when i use the following the command to remove the mirror: > > * > remove Bridge br0 mirrors mymirror* > > * > * > > I found i can not remove it. so i tried: ovs-vsctl remove Bridge br0 > mirrors mymirror. But it still doesn't wor

[ovs-discuss] Remove port mirror has problem

2012-07-11 Thread Kris zhang
Hi guys, Today I created a port mirror acorrding to the manual of ovs-vsctl: * ovs-vsctl -- set Bridge br0 mirrors=@m \* *-- --id=@eth0 get Port eth0 \* *-- --id=@eth1 get Port eth1 \* *-- --id=@eth2 get Port eth2 \* *-- --id=@m create Mirror name=mymirror select-dst-port=@eth0,@eth1 select-s

Re: [ovs-discuss] Open Vswitch can't communicate with NOX controller

2012-07-11 Thread Ben Pfaff
On Thu, Jul 12, 2012 at 12:43:35AM +0530, Neha Jatav wrote: > $./nox_core –v –i ptcp: pyswitch > > $sudo ovs-vsctl set-controller ovs-br0 ptcp: > $sudo ovs-vsctl show > Bridge "ovsbr0" > Controller "ptcp:" You configure both ends to listen for a connection from the other. You need to con

Re: [ovs-discuss] Open Vswitch can't communicate with NOX controller

2012-07-11 Thread Justin Pettit
It looks like you're telling both NOX and OVS to listen for TCP connection ("ptcp:"). You'll need to set one of them to actively connect ("tcp:"). Typically, the switch is the one configured to make the active connection. --Justin On Jul 11, 2012, at 12:13 PM, Neha Jatav wrote: > Hey, > >

[ovs-discuss] Open Vswitch can't communicate with NOX controller

2012-07-11 Thread Neha Jatav
Hey, I was trying to run the NOX controller pyswitch script and my mini net setup on a VM could communicate the same script. However, my OVS couldn't connect to it. I did the following: $./nox_core –v –i ptcp: pyswitch $sudo ovs-vsctl set-controller ovs-br0 ptcp: $sudo ovs-vsctl show Bridge "o

Re: [ovs-discuss] discuss Digest, Vol 37, Issue 14

2012-07-11 Thread Jesse Gross
On Wed, Jul 11, 2012 at 12:38 AM, ecfgijn wrote: > Hi , > > My switch is configured in downstream mode , is it necessary to configure > switch in upstream mode to solve this problem ? You're going to have to read your switch's documentation for proper configuration. __

Re: [ovs-discuss] KVM Host Bridge.

2012-07-11 Thread Ben Pfaff
On Wed, Jul 11, 2012 at 03:48:57PM +0300, Linux Zoom wrote: > One of the Virtual Machine hosted in KVM hypervisor is going to act as a > DHCP server. So we created multiple VLAN inside VM for giveing IP to the > customer VM which will be running on another hypervisor (KVM). The DHCP > pool is tag

[ovs-discuss] KVM Host Bridge.

2012-07-11 Thread Linux Zoom
Dear All , I have a KVM hypervisor with two NIC cards. One of which connected to Nexus (Cisco) as a tagged VLAN. VLAN Id is 399. And inside the hypervisor there is 4 VM running (Centos). Which is already in VLAN399. Virtual machine is able to reach internet and everything is working fine. My Requ

Re: [ovs-discuss] RFC confirmation

2012-07-11 Thread sonny sonny
Thanks Justin ! that I saw but I was confused with what algorithm it is using. like is HTB using two rate three color monitoring? There is no link for policing, please confirm its document to follow. regards, Sonny On Wed, Jul 11, 2012 at 1:41 PM, Justin Pettit wrote: > We're just using the Li

Re: [ovs-discuss] RFC confirmation

2012-07-11 Thread Justin Pettit
We're just using the Linux implementations in tc. There are some pointers in the ovs-vswitchd.conf.db man page on the shapers that contain additional information: http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf --Justin On Jul 11, 2012, at 1:02 AM, sonny sonny wrote: > Hi, > > Ca

Re: [ovs-discuss] queueing discipline

2012-07-11 Thread Justin Pettit
I'm sorry, but I don't all the ins and outs of configuring tc off the top of my head. If you really want to dig into it, I'd look at functions like htb_setup_class__() in netdev-linux.c to see what it's doing: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob;f=lib/netdev-linux.

[ovs-discuss] RFC confirmation

2012-07-11 Thread sonny sonny
Hi, Can you please confirm which RFC are being followed by following in OVS:- 1. HTB 2. HFSC 3. Policing like single rate two color monitoring, two rate three color monitoring etc.. Regards, Sonny ___ discuss mailing list discuss@openvswitch.org http:/

Re: [ovs-discuss] queueing discipline

2012-07-11 Thread selen jia
Hi , Below I am asking for HTB. Regards, Selen On Wed, Jul 4, 2012 at 4:24 PM, selen jia wrote: > Hi Justin, > > Please correct me if I am wrong,I am trying to map "vsctl" parameters with > "tc" parameters :- > > *Mode* of class is artifical value which can be computed from *R (actual > rate)*

Re: [ovs-discuss] discuss Digest, Vol 37, Issue 14

2012-07-11 Thread ecfgijn
Hi , My switch is configured in downstream mode , is it necessary to configure switch in upstream mode to solve this problem ? Kindly share the recommendation. Regards Pradeep Kumar On 07/07/2012 12:30 AM, discuss-requ...@openvswitch.org wrote: Send discuss mailing list submissions to