func New(input string) (Device, error) {
	switch {
	case IsPciID.Match([]byte(input)):
		return NewDeviceByPciID(input)
	case IsUUID.Match([]byte(input)):
		return NewDeviceByVmbusID(input)
	default:
		return NewDeviceByNicName(input)
	}
}
New returns a corresponding device by given input
package devices
type Device interface {
	Bind(driver string) error
	Unbind() error
	CurrentDriver() (string, error)
	Probe() error
	ID() string
}