You should bond the port on host instead by the ovs. 



------------------ ???????? ------------------
??????: lifuqiong <lifuqi...@cncloudsec.com>
????????: 2016??8??25?? 17:33
??????: discuss <discuss@openvswitch.org>
????: [ovs-discuss] OVS bond ports problem, maybe is a bug




Hi,

         I create an ovs bridge br0 and bond bond0 with physical NIC p4p1 and 
p4p2. The reason I created a bond port is doing link Aggregate, when sending 
flow to physical NIC or receiving flow from physical NIC through Openflow , 

 

I just need set outport number to bond0??s ofport num;  But,  but there??s no 
ofport num in port bond0,  and having two physical NICs ofport number instead, 
why ?  How should I write flow entry with two ofport numbers?

 

It??s a bug? 

 

 

vsctl show as follows:      

 

Bridge "br0"

        Port "br0"

            Interface "br0"

                type: internal

        Port "bond0"

            Interface "p4p1"

            Interface "p4p2"

ovs_version: "2.5.0"

 

ovs-ofctl show br0 as follows:

 

OFPT_FEATURES_REPLY (xid=0x2): dpid:00006cb31131a534

n_tables:254, n_buffers:256

capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP

actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src 
mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst

 15(p4p1): addr:6c:b3:11:31:a5:34

     config:     0

     state:      0

     current:    100MB-FD COPPER AUTO_NEG

     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG 
AUTO_PAUSE

     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG 
AUTO_PAUSE

     speed: 100 Mbps now, 1000 Mbps max

 16(p4p2): addr:6c:b3:11:31:a5:35

     config:     PORT_DOWN

     state:      LINK_DOWN

     current:    COPPER AUTO_NEG

     advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG 
AUTO_PAUSE

     supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG 
AUTO_PAUSE

     speed: 0 Mbps now, 1000 Mbps max

 LOCAL(br0): addr:6c:b3:11:31:a5:34

     config:     0

     state:      0

     speed: 0 Mbps now, 0 Mbps max

OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

 

 

Thank you
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to