13f5863561 
					 
					
						
						
							
							api: improve error messages for restricted endpoints  
						
						... 
						
						
						
						the old variant attempted to parse a tokenid as userid and returned the
cryptic parsing error to the client, which is rather confusing.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com > 
						
						
					 
					
						2020-12-31 08:29:09 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb022525ff 
					 
					
						
						
							
							tape: only log to stdout in CLI environment  
						
						
						
						
					 
					
						2020-12-30 19:01:39 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						284eb5daff 
					 
					
						
						
							
							tape: cleanup/simplify media_change code  
						
						
						
						
					 
					
						2020-12-30 17:16:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ff58c51919 
					 
					
						
						
							
							tape: improve media request/load  
						
						
						
						
					 
					
						2020-12-30 13:09:28 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						12299b333b 
					 
					
						
						
							
							tape: set minimal media label length to 2  
						
						
						
						
					 
					
						2020-12-30 10:15:02 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b017bbc441 
					 
					
						
						
							
							tape: add restore code, implement catalog api/command  
						
						
						
						
					 
					
						2020-12-30 09:48:18 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						250c29edd2 
					 
					
						
						
							
							tape: correctly sort media api entries  
						
						
						
						
					 
					
						2020-12-29 12:09:51 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a33389c391 
					 
					
						
						
							
							tape: implement media content list api  
						
						
						
						
					 
					
						2020-12-29 11:58:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3460565414 
					 
					
						
						
							
							tape: create the MediaCatalog when we label a tape  
						
						
						
						
					 
					
						2020-12-29 10:55:20 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						afb0220642 
					 
					
						
						
							
							tape: cleanup LinuxDriveStatus - make density optional  
						
						
						
						
					 
					
						2020-12-29 09:10:30 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0993923ed5 
					 
					
						
						
							
							tape: factor out get_drive_and_media_status  
						
						
						
						
					 
					
						2020-12-29 08:39:06 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e0362b0d0f 
					 
					
						
						
							
							tape: correctly parse mtx import/export slots  
						
						
						
						
					 
					
						2020-12-28 13:32:56 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eb8feb1281 
					 
					
						
						
							
							tape: add LTO1 to TapeDensity  
						
						
						
						
					 
					
						2020-12-26 10:48:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5ae86dfaa1 
					 
					
						
						
							
							tape: return media usage info with status command  
						
						
						
						
					 
					
						2020-12-23 11:24:34 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dbe7e556b0 
					 
					
						
						
							
							tape: implement binding for libsgutils2  
						
						... 
						
						
						
						So that we can read cartridge memory without calling "sg_raw". In future,
we may need further low level command to control the tape.. 
						
						
					 
					
						2020-12-23 09:44:53 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cb80d900b3 
					 
					
						
						
							
							tape: add drive status api  
						
						
						
						
					 
					
						2020-12-22 10:42:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ee01737e87 
					 
					
						
						
							
							tape: rename 'mam' api to 'cartridge-memory'  
						
						
						
						
					 
					
						2020-12-22 09:27:34 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b2362a1207 
					 
					
						
						
							
							adaptions for proxmox 0.9 and proxmox-api-macro 0.3  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2020-12-22 07:31:05 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1e20f819d5 
					 
					
						
						
							
							tape: add command to read cartridge memory (MAM)  
						
						... 
						
						
						
						Thsi add an additional dependency to sg3-utils (small). 
						
						
					 
					
						2020-12-21 12:12:33 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8835664653 
					 
					
						
						
							
							tape: add tape backup api  
						
						
						
						
					 
					
						2020-12-18 15:32:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2afdc7f27d 
					 
					
						
						
							
							tape: MediaPool::with_config() - remove name parameter  
						
						... 
						
						
						
						Not required, because config already contains the pool name. 
						
						
					 
					
						2020-12-18 08:14:24 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fe6c19383b 
					 
					
						
						
							
							tape: remove MediaLabelInfo, use MediaId instead  
						
						... 
						
						
						
						The additional content_uuid was quite useless... 
						
						
					 
					
						2020-12-16 13:31:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c1c2c8f635 
					 
					
						
						
							
							tape: cleanup MediaLocation type for direct use with API  
						
						
						
						
					 
					
						2020-12-16 10:49:01 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a78348acbb 
					 
					
						
						
							
							tape: rename DriveLabel to MediaLabel  
						
						
						
						
					 
					
						2020-12-14 17:37:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fb657d8ee5 
					 
					
						
						
							
							tape: implement destroy_media  
						
						
						
						
					 
					
						2020-12-14 08:58:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fba0b77469 
					 
					
						
						
							
							tape: add media api  
						
						
						
						
					 
					
						2020-12-14 07:55:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						065df12872 
					 
					
						
						
							
							tape: split api type definitions for changers into extra file  
						
						
						
						
					 
					
						2020-12-13 09:31:02 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7e1d4712b8 
					 
					
						
						
							
							tape: rename CHANGER_ID_SCHEMA to CHANGER_NAME_SCHEMA  
						
						
						
						
					 
					
						2020-12-13 09:22:08 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						49c965a497 
					 
					
						
						
							
							tape: rename DRIVE_ID_SCHEMA to DRIVE_NAME_SCHEMA  
						
						
						
						
					 
					
						2020-12-13 09:18:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						42cb9bd6a5 
					 
					
						
						
							
							tape: avoid executor blocking in changer api  
						
						
						
						
					 
					
						2020-12-12 09:45:08 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						66dbe5639e 
					 
					
						
						
							
							tape: avoid executor blocking in drive API  
						
						... 
						
						
						
						By using tokio::task::spawn_blocking(). 
						
						
					 
					
						2020-12-12 09:20:04 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						663ef85992 
					 
					
						
						
							
							tape: use WorkerTask for erase and rewind  
						
						
						
						
					 
					
						2020-12-11 11:19:33 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e92c75815b 
					 
					
						
						
							
							tape: split inventory api  
						
						... 
						
						
						
						inventory: sync, list labels with uuids,
update_inventory: WorkerTask, updates database 
						
						
					 
					
						2020-12-11 10:42:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6dbad5b4b5 
					 
					
						
						
							
							tape: run label commands as WorkerTask (threads)  
						
						
						
						
					 
					
						2020-12-11 09:10:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bff7e3f3e4 
					 
					
						
						
							
							tape: implement barcode-label-mdedia  
						
						
						
						
					 
					
						2020-12-11 07:50:19 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						83abc7497d 
					 
					
						
						
							
							tape: implement inventory command  
						
						
						
						
					 
					
						2020-12-11 07:39:28 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						be1a8c94ae 
					 
					
						
						
							
							fix build: add missing file  
						
						
						
						
					 
					
						2020-12-10 13:40:20 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4606f34353 
					 
					
						
						
							
							tape: implement read-label command  
						
						
						
						
					 
					
						2020-12-10 13:20:39 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7bb720cb4d 
					 
					
						
						
							
							tape: implement label command  
						
						
						
						
					 
					
						2020-12-10 12:30:27 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9700d5374a 
					 
					
						
						
							
							tape: add media pool cli  
						
						
						
						
					 
					
						2020-12-10 11:13:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						05e90d6463 
					 
					
						
						
							
							tape: add media pool config api  
						
						
						
						
					 
					
						2020-12-10 10:52:27 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						55118ca18e 
					 
					
						
						
							
							tape: correctly sort drive api subdir  
						
						
						
						
					 
					
						2020-12-10 10:09:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f70d8091d3 
					 
					
						
						
							
							tape: implement option changer-drive-id  
						
						
						
						
					 
					
						2020-12-10 09:09:06 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a3c709ef21 
					 
					
						
						
							
							tape: cli cleanup - avoid api redefinition  
						
						
						
						
					 
					
						2020-12-10 08:35:11 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4917f1e2d4 
					 
					
						
						
							
							tape: implement delete property for drive update command  
						
						
						
						
					 
					
						2020-12-10 08:25:46 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						93829fc680 
					 
					
						
						
							
							tape: cleanup load-slot api  
						
						
						
						
					 
					
						2020-12-10 08:04:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e49f0c03d9 
					 
					
						
						
							
							tape: implement load-media command  
						
						
						
						
					 
					
						2020-12-10 07:52:56 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0098b712a5 
					 
					
						
						
							
							tape: implement eject  
						
						
						
						
					 
					
						2020-12-09 17:50:48 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5fb694e8c0 
					 
					
						
						
							
							tape: implement rewind  
						
						
						
						
					 
					
						2020-12-09 17:43:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						583a68a446 
					 
					
						
						
							
							tape: implement erase media  
						
						
						
						
					 
					
						2020-12-09 17:35:31 +01:00