On Fri, Jul 04, 2014 at 08:49:53AM +0200, Daniel Spiekermann wrote:
> In my ovs-VM I ran ovs-ovctl set-controller mybridge tcp:172.23.56.42:6663
> 
> Now the ovs should connect to the controller, which produce this logfiles
> 
>  sudo ovs-controller ptcp:6663  -v
> Jul 03 05:19:42|00001|poll_loop|DBG|wakeup due to [POLLIN] on fd 3
> (0.0.0.0:6663<->) at ../lib/stream-fd.c:259
> Jul 03 05:19:42|00002|rconn|DBG|tcp:172.23.56.56:40811: entering ACTIVE
> Jul 03 05:19:42|00003|vconn|DBG|tcp:172.23.56.56:40811: sent
> (Success): OFPT_HELLO (xid=0x2):
> Jul 03 05:19:42|00004|vconn|DBG|tcp:172.23.56.56:40811: received:
> OFPT_HELLO (xid=0x12):
> Jul 03 05:19:42|00005|vconn|DBG|tcp:172.23.56.56:40811: negotiated
> OpenFlow version 0x01 (we support versions 0x01 to 0x01 inc
> lusive, peer no later than version 0x01)
> Jul 03 05:19:42|00006|vconn|DBG|tcp:172.23.56.56:40811: sent
> (Success): OFPT_FEATURES_REQUEST (xid=0x1):
> Jul 03 05:19:42|00007|vconn|DBG|tcp:172.23.56.56:40811: sent
> (Success): OFPT_SET_CONFIG (xid=0x3): frags=normal miss_send_len=
> 128
> Jul 03 05:19:42|00008|poll_loop|DBG|wakeup due to [POLLIN] on fd 8
> (172.23.56.42:6663<->172.23.56.56:40811) at ../lib/stream-f
> d.c:149
> Jul 03 05:19:42|00009|vconn|DBG|tcp:172.23.56.56:40811: received:
> OFPT_FEATURES_REPLY (xid=0x1): ver:0x1, dpid:0000080027dd406
> a
> n_tables:254, n_buffers:256
> features: capabilities:0xc7, actions:0xfff
>  1(eth0): addr:08:00:27:dd:40:6a
>      config:     0
>      state:      0
>      current:    1GB-FD COPPER AUTO_NEG
>      advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
>      supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
>  LOCAL(mybridge): addr:08:00:27:dd:40:6a
>      config:     0
>      state:      0
> Jul 03 05:19:43|00010|poll_loop|DBG|wakeup due to [POLLIN] on fd 8
> (172.23.56.42:6663<->172.23.56.56:40811) at ../lib/stream-f
> d.c:149
> Jul 03 05:19:43|00011|vconn|DBG|tcp:172.23.56.56:40811: received:
> OFPT_PACKET_IN (xid=0x0): total_len=144 in_port=1 data_len=1
> 28 buffer=0xffffff00
> 
> It seems to me like the connection is established between switch and
> controller.
> 
> But now I can't manipulate the flows. What command to I really need
> to add a flow via the controller to the ovs-switch?

You cannot.  ovs-controller doesn't work that way.

ovs-controller should basically never be used.  It is not useful.  This
is why later versions of OVS renamed it and stopped installing it.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to