func OvsManagedBridgeInterfaces(ifaceList InterfaceInfos) (InterfaceInfos, error) {
	ovsBridges, err := OvsManagedBridges()
	if err != nil {
		return nil, errors.Trace(err)
	}

	return ifaceList.Filter(func(iface InterfaceInfo) bool {
		return ovsBridges.Contains(iface.InterfaceName)
	}), nil
}
// OvsManagedBridges returns a filtered version of ifaceList that only contains
// bridge interfaces managed by openvswitch.
OvsManagedBridges returns a filtered version of ifaceList that only contains
bridge interfaces managed by openvswitch.
// OvsManagedBridges returns a filtered version of ifaceList that only contains // bridge interfaces managed by openvswitch .
func OvsManagedBridgeInterfaces(ifaceList InterfaceInfos) (InterfaceInfos, error) {
	ovsBridges, err := OvsManagedBridges()
	if err != nil {
		return nil, errors.Trace(err)
	}
	return ifaceList.Filter(func(iface InterfaceInfo) bool {
		return ovsBridges.Contains(iface.InterfaceName)
	}), nil
}
func OvsManagedBridgeInterfaces ( ifaceList InterfaceInfos ) ( InterfaceInfos , error ) { ovsBridges , err := OvsManagedBridges ( ) if err != nil { return nil , errors . Trace ( err ) } return ifaceList . Filter ( func ( iface InterfaceInfo ) bool { return ovsBridges . Contains ( iface . InterfaceName ) } ) , nil }
OvsManagedBridges returns a filtered version of ifaceList that only contains
bridge interfaces managed by openvswitch.
OvsManagedBridges returns a filtered version of ifaceList that only contains bridge interfaces managed by openvswitch .