HI,
I am using the OVS bond with the active-backup mode such as:
ovs-vsctl add-bond sdvs_00 bond3 eth4 eth5
and I find that the 'link status' of eth4 and eth5 were all down when used
the 'ovs-vsctl list inerface ' command, other than it was up when used
the ethtool command.
the OVS version is 1.10.0, and the eth4 and eth5 are SRIOV (82599)
thanks!
the command output information follows:
[root@tecs_2dd20351_e0e9_4803_a561_e0bb19adb992 ~]# ethtool eth4
Settings for eth4:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supports auto-negotiation: No
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 1000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: external
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
[root@tecs_2dd20351_e0e9_4803_a561_e0bb19adb992 ~]# ethtool eth5
Settings for eth5:
Supported ports: [ FIBRE ]
Supported link modes: 1000baseT/Full
10000baseT/Full
Supports auto-negotiation: No
Advertised link modes: 1000baseT/Full
10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 1000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: external
Auto-negotiation: on
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
[root@tecs_2dd20351_e0e9_4803_a561_e0bb19adb992 ~]# ovs-vsctl list
interface eth4
_uuid : e7b86578-facd-4055-b277-1cfa7e6f5c26
admin_state : up
cfm_fault : []
cfm_fault_status : []
cfm_health : []
cfm_mpid : []
cfm_remote_mpids : []
cfm_remote_opstate : []
duplex : full
external_ids : {}
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current : []
link_resets : 0
link_speed : 1000000000
link_state : down
mac : []
mac_in_use : "20:13:02:01:04:02"
mtu : 9000
name : "eth4"
ofport : 2
ofport_request : []
options : {}
other_config : {enable-vlan-splinters="true"}
statistics : {collisions=0, rx_bytes=376353, rx_crc_err=0,
rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=5594,
tx_bytes=0, tx_dropped=0, tx_errors=0, tx_packets=0}
status : {driver_name=ixgbe, driver_version="3.10.16",
firmware_version="0x80000482"}
type : ""
[root@tecs_2dd20351_e0e9_4803_a561_e0bb19adb992 ~]# ovs-vsctl list
interface eth5
_uuid : 85f32a86-8e73-4f5b-8d9f-573c51ec4b3c
admin_state : up
cfm_fault : []
cfm_fault_status : []
cfm_health : []
cfm_mpid : []
cfm_remote_mpids : []
cfm_remote_opstate : []
duplex : full
external_ids : {}
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current : []
link_resets : 0
link_speed : 1000000000
link_state : down
mac : []
mac_in_use : "20:13:02:01:04:03"
mtu : 9000
name : "eth5"
ofport : 1
ofport_request : []
options : {}
other_config : {enable-vlan-splinters="true"}
statistics : {collisions=0, rx_bytes=374261, rx_crc_err=0,
rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=5562,
tx_bytes=427890, tx_dropped=0, tx_errors=0, tx_packets=6683}
status : {driver_name=ixgbe, driver_version="3.10.16",
firmware_version="0x80000482"}
type : ""
[root@tecs_2dd20351_e0e9_4803_a561_e0bb19adb992 ~]# ovs-vsctl list port
bond3
_uuid : 67ad8f34-2e3c-41ee-8265-cc08f4097694
bond_downdelay : 0
bond_fake_iface : false
bond_mode : active-backup
bond_updelay : 0
external_ids : {}
fake_bridge : false
interfaces : [85f32a86-8e73-4f5b-8d9f-573c51ec4b3c,
e7b86578-facd-4055-b277-1cfa7e6f5c26]
lacp : []
mac : []
name : "bond3"
other_config : {}
qos : []
statistics : {}
status : {}
tag : 1
trunks : [4092, 4094]
vlan_mode : native-untagged
[root@tecs_2dd20351_e0e9_4803_a561_e0bb19adb992 ~]#
the ovs log records:
Dec 02 12:13:21|01441|bond|INFO|interface eth4: link state down
Dec 02 12:13:21|01442|bond|WARN|interface eth4: disabled
Dec 02 12:13:21|01441|bond|INFO|interface eth5: link state down
Dec 02 12:13:21|01442|bond|WARN|interface eth5: disabled
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and
any attachment transmitted herewith) is privileged and confidential and is
intended for the exclusive use of the addressee(s). If you are not an intended
recipient, any disclosure, reproduction, distribution or other dissemination or
use of the information contained is strictly prohibited. If you have received
this mail in error, please delete it and notify us immediately.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss