I've been searching for quite a while and experimenting but there must be an extra step I am missing to get a simple inband controller example to work. Here is the simple example topology.

s2---s1---controller

s1 = 11.0.0.1/32
s2 = 11.0.0.2/32
controller = 11.0.0.100/8

 An example ovs-vsctl show.

    Bridge "s1"
        Controller "tcp:11.0.0.100:6633"
        fail_mode: secure
        Port "s1-eth1"
            Interface "s1-eth1"
        Port "s1-eth2"
            Interface "s1-eth2"
        Port "s1-eth12"
            Interface "s1-eth12"
        Port "s1"
            Interface "s1"
                type: internal
    ovs_version: "1.10.0"

# ovs-ofctl show s1
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000000000000001
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(s1-eth1): addr:0a:a7:af:32:d9:7c
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 2(s1-eth2): addr:06:57:97:21:9f:d5
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 3(s1-eth12): addr:26:96:80:3e:77:12
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 LOCAL(s1): addr:36:21:10:be:02:43
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

# ifconfig s1
s1        Link encap:Ethernet  HWaddr 36:21:10:be:02:43
          inet addr:11.0.0.1  Bcast:255.255.255.255 Mask:0.0.0.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

The part I am having a hard time figuring out is getting either switch to talk to the controller. Even the one connected to the controller. What is the correct OF entry that I can manually add to each switch to start talking? For s1, I thought just adding a flow entry for ip=11.0.0.100 action=output:1. But that didn't seem to work.

I've seem many many threads on the topic, but none of them seem to have shared the final conclusion on how they did it.

Thanks,
Greg

_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to