func (rf *resourceFactory) GetResourcePool(rc *types.ResourceConfig) types.ResourcePool {
	glog.Infof("Resource pool type: %s", rc.DeviceType)
	switch rc.DeviceType {
	case "vfio":
		return newVfioResourcePool(rc)
	case "uio":
		return newUioResourcePool(rc)
	case "netdevice":
		return newNetDevicePool(rc)
	default:
		return newGenericResourcePool(rc)
	}
}
// GetResourcePool returns and instance of ResourcePool for a ResourceConfig
GetResourcePool returns and instance of ResourcePool for a ResourceConfig
// GetResourcePool returns and instance of ResourcePool for a ResourceConfig
func (rf *resourceFactory) GetResourcePool(rc *types.ResourceConfig) types.ResourcePool {
	glog.Infof("Resource pool type: %s", rc.DeviceType)
	switch rc.DeviceType {
	case "vfio":
		return newVfioResourcePool(rc)
	case "uio":
		return newUioResourcePool(rc)
	case "netdevice":
		return newNetDevicePool(rc)
	default:
		return newGenericResourcePool(rc)
	}
}
func ( rf * resourceFactory ) GetResourcePool ( rc * types . ResourceConfig ) types . ResourcePool { glog . Infof ( " " , rc . DeviceType ) switch rc . DeviceType { case " " : return newVfioResourcePool ( rc ) case " " : return newUioResourcePool ( rc ) case " " : return newNetDevicePool ( rc ) default : return newGenericResourcePool ( rc ) } }
GetResourcePool returns and instance of ResourcePool for a ResourceConfig
GetResourcePool returns and instance of ResourcePool for a ResourceConfig