John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f3ea8ceb2 
							
						 
					 
					
						
						
							
							Add pre-commit hook fix-byte-order-marker ( #10147 )  
						
						... 
						
						
						
						https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#fix-byte-order-marker  
					
						2025-01-03 09:40:43 +01:00 
						 
				 
			
				
					
						
							
							
								John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fd24509ba7 
							
						 
					 
					
						
						
							
							pre-commit: fix .cs files with the trailing-whitespace hook ( #9794 )  
						
						... 
						
						
						
						Co-authored-by: Vishesh <vishesh92@gmail.com> 
						
						
					 
					
						2024-12-31 13:17:10 +01:00 
						 
				 
			
				
					
						
							
							
								John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f090c77f41 
							
						 
					 
					
						
						
							
							misc: fix spelling ( #7549 )  
						
						... 
						
						
						
						Co-authored-by: Stephan Krug <stekrug@icloud.com> 
						
						
					 
					
						2023-11-02 09:23:53 +01:00 
						 
				 
			
				
					
						
							
							
								John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9834d5168f 
							
						 
					 
					
						
						
							
							pre-commit: standardize more line endings to lf ( #7804 )  
						
						... 
						
						
						
						https://github.com/pre-commit/pre-commit-hooks#mixed-line-ending  
					
						2023-10-18 11:25:00 +02:00 
						 
				 
			
				
					
						
							
							
								John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4eb110af73 
							
						 
					 
					
						
						
							
							Remove unneeded duplicate words ( #7850 )  
						
						
						
						
					 
					
						2023-09-18 13:16:33 +02:00 
						 
				 
			
				
					
						
							
							
								John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6f4503488b 
							
						 
					 
					
						
						
							
							pre-commit: apply end-of-file-fixer to all files ( #7551 )  
						
						
						
						
					 
					
						2023-08-02 13:47:21 +02:00 
						 
				 
			
				
					
						
							
							
								John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c2e17310d6 
							
						 
					 
					
						
						
							
							Add three more pre-commit checks ( #7083 )  
						
						... 
						
						
						
						Co-authored-by: dahn <daan@onecht.net> 
						
						
					 
					
						2023-03-27 13:28:55 +02:00 
						 
				 
			
				
					
						
							
							
								John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e65c22d883 
							
						 
					 
					
						
						
							
							Fix spelling ( #6860 )  
						
						
						
						
					 
					
						2022-11-13 10:56:15 +01:00 
						 
				 
			
				
					
						
							
							
								John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f9347ecf2c 
							
						 
					 
					
						
						
							
							Fix spelling ( #6597 )  
						
						
						
						
					 
					
						2022-08-03 15:43:47 +05:30 
						 
				 
			
				
					
						
							
							
								John Bampton 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							980c0bff03 
							
						 
					 
					
						
						
							
							Fix spelling ( #6041 )  
						
						... 
						
						
						
						Changed `occured` to `occurred` 
						
						
					 
					
						2022-03-03 13:10:14 -03:00 
						 
				 
			
				
					
						
							
							
								Koushik Das 
							
						 
					 
					
						
						
						
						
							
						
						
							e1db6efc74 
							
						 
					 
					
						
						
							
							Removed unused agent command AttachVolumeCommand and corresponding answer AttachVolumeAnswer  
						
						
						
						
					 
					
						2015-08-26 09:50:23 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							aa265fe88f 
							
						 
					 
					
						
						
							
							CLOUDSTACK-8431: [Hyper-V] Fixed VM deployment failing when the stale vhd already exists Now generating guid when the template copy from secondary to primary storage requested instead of using it same as secondary  
						
						... 
						
						
						
						this closes  #214  
						
						
					 
					
						2015-04-30 16:07:36 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							48067e5ecd 
							
						 
					 
					
						
						
							
							CLOUDSTACK-8420: [Hyper-V] Fixed number format exception when untagged vlan is used for Hyper-V setup Change the vlan data type to string from int and handled the untagged vlan cases  
						
						... 
						
						
						
						this closes  #201  
						
						
					 
					
						2015-04-30 14:43:22 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							7949caf156 
							
						 
					 
					
						
						
							
							CLOUDSTACK-8419: [Hyper-V] corrected the wrong error message in stop command answer  
						
						... 
						
						
						
						this closes  #200  
						
						
					 
					
						2015-04-30 14:42:46 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							f86c0a23c1 
							
						 
					 
					
						
						
							
							CLOUDSTACK-8418: [Hyper-V] use systemvm.iso from secondary storage and stop copying to local disk  
						
						... 
						
						
						
						this closes  #198  
						
						
					 
					
						2015-04-30 14:42:24 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							c355810034 
							
						 
					 
					
						
						
							
							CLOUDSTACK-8417 : [Hyper-V] Added support for smb share path in Hyper-V settings virtual disk path  
						
						... 
						
						
						
						this closes  #197  
						
						
					 
					
						2015-04-30 14:41:50 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							c275d6fff8 
							
						 
					 
					
						
						
							
							CLOUDSTACK-8414: fixed template_spool_ref is not getting updated with correct template local_path  
						
						... 
						
						
						
						this closes  #195  
						
						
					 
					
						2015-04-30 14:36:58 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							fda627d672 
							
						 
					 
					
						
						
							
							CLOUDSTACK-8414: Fixed template_spool_ref table is not getting updated with correct template_size Now returning file size instead of null.  
						
						
						
						
					 
					
						2015-04-30 14:36:39 +05:30 
						 
				 
			
				
					
						
							
							
								Devdeep Singh 
							
						 
					 
					
						
						
						
						
							
						
						
							5350e61187 
							
						 
					 
					
						
						
							
							CLOUDSTACK-7494. Migration of a vm fails on Hyper-V. In an earlier commit as part of  
						
						... 
						
						
						
						cleaning up vmsync changes, checkvirtualmachine command was updated to return the
power state of the vm. The change was missed for Hyper-V. This caused migration to
fail on cloudstack even though it used to succeed on the hypervisor. Updated the
hyper-v agent code to return the cloudstack equivalent power state for check virtual
machine answer. 
						
						
					 
					
						2014-09-20 19:06:11 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							1c688f40e1 
							
						 
					 
					
						
						
							
							CLOUDSTACK-7277: [Hyper-V] For vmsync first VMs are listed and their power state is  
						
						... 
						
						
						
						determined. To exclude hosted system we filter the result on Caption='Virtual Machine'
but this string is locale dependent so it may not not work properly for locales other
than english. To overcome this now we started using ProcessId >= 0 filter 
						
						
					 
					
						2014-08-18 11:38:29 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							d1796c5f58 
							
						 
					 
					
						
						
							
							CLOUDSTACK-7235: [Hyper-V] In case of any exception in ModifyStoragePoolCommand, now we are returning appropriate error  
						
						
						
						
					 
					
						2014-08-18 11:38:29 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							0ecc9f79af 
							
						 
					 
					
						
						
							
							CLOUDSTACK-7234: stop sending smb credentials to Hyper-v agent  
						
						
						
						
					 
					
						2014-08-18 11:38:29 +05:30 
						 
				 
			
				
					
						
							
							
								Hugo Trippaers 
							
						 
					 
					
						
						
						
						
							
						
						
							c1aed55583 
							
						 
					 
					
						
						
							
							More rat fixes  
						
						
						
						
					 
					
						2014-07-18 11:52:27 +02:00 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							b43036d10e 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6872: [hyperv] removed the redundant connectToRemote, DisconnectRemote methods which in turn fixes this bug. connectToRemote was used to connect to share, but once the share is domain joined we don't need this method as we already have required permissions  
						
						
						
						
					 
					
						2014-06-13 13:26:30 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							26fa623ffd 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6663: Fixed Hyper-V agent fails to start on some setups. During startup agent tries  
						
						... 
						
						
						
						to get nic info of 0.0.0.0. To get it, it iterates through all nics and return the last NIC in
the list if it doesn't match with any IP address. In case last NIC doesn't have unicastAddress,
Hyper-V agent will fail to start. We don't need IP address during initialization. It get
initialized with startupcommand later. 
						
						
					 
					
						2014-05-27 12:03:11 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							b82e26253c 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6620: Fixed null pointer exception in hyperv agent in getting vmstats, when all vms are deleted from outside  
						
						
						
						
					 
					
						2014-05-09 16:31:25 +05:30 
						 
				 
			
				
					
						
							
							
								Rajesh Battala 
							
						 
					 
					
						
						
						
						
							
						
						
							dacb541950 
							
						 
					 
					
						
						
							
							Fixed windows line ending issues  
						
						
						
						
					 
					
						2014-05-07 15:13:46 +05:30 
						 
				 
			
				
					
						
							
							
								Rajesh Battala 
							
						 
					 
					
						
						
						
						
							
						
						
							f9cf2c241b 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6518 [Hyper-V] Efficient way of finding the empty nic in VR/VpcVR to configure VPC entities  
						
						
						
						
					 
					
						2014-05-05 12:56:42 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							6511b96088 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6504: removed warnings coming in building hyper-v agent code  
						
						
						
						
					 
					
						2014-04-25 14:46:06 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							1dc76a2743 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6470: while stopping vm in hyper-v, now we are first trying to shutdown it gracefully before turning it off forcefully  
						
						
						
						
					 
					
						2014-04-25 14:45:37 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							455d2b3284 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6411: removing license header from nuget.config and agent settings file, with  
						
						... 
						
						
						
						the header they are not getting loaded properly. Added an exception to not to do rat
checks on these files. 
						
						
					 
					
						2014-04-21 14:10:17 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							55f53e13e8 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6401: [hyper-v] fixed correct host state, if host is up and hyper-v agent is down then the host state will be shown as up(actual host state) in cloudstack  
						
						
						
						
					 
					
						2014-04-15 14:37:05 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							3ec7497e1e 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6400: [hyper-v] [vmsync] fixed occasionally VM is not deleted from back-end when it is stopped from Hyper-V manager and then destroyed-expunged from CS and returning only power VMs for vmsync  
						
						
						
						
					 
					
						2014-04-15 14:36:55 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							0aa6cc60c7 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6398:[hyper-v] changed auto shutdown and startup actions of VMs to shutdown and nothingauto shutdown and startup actions of VMs to shutdown and nothing so that they are consistent with cloudstack auto shudown and startup behavior  
						
						
						
						
					 
					
						2014-04-15 14:36:37 +05:30 
						 
				 
			
				
					
						
							
							
								Koushik Das 
							
						 
					 
					
						
						
						
						
							
						
						
							5e90b75c98 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6402: Fix StopCommand so that VMs are not removed accidentally as part of vmsync  
						
						... 
						
						
						
						Added a new flag 'checkBeforeCleanup' to StopCommand based on which check is done to see if VM is running in HV host.
If VM is running then in this case it is not stopped and the operation bails out.
Also modified the MS code to call the StopCommand with appropriate value for the flag based on the context.
Currently it is only set to 'true' when called from the new vmsync logic based on powerstate of VM. For rest it
is set to 'false' meaning no change in behaviour. 
						
						
					 
					
						2014-04-14 16:52:37 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							ade4d44de4 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6262: Fixed network throttling in hyper-v, Now network rate parameter is honored in hyper-v. Network rate parameter now set the max bandwidth of nic on hyper-v  
						
						
						
						
					 
					
						2014-04-09 13:10:30 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							1dfe4c19b5 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6289: fixed storage migration failing in case of hyper-v if there are multiple disks attached to VM  
						
						
						
						
					 
					
						2014-04-08 14:39:13 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							e644ac1653 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when building with mono, they were not cleaning up and resulting in use of stale dlls in some cases  
						
						
						
						
					 
					
						2014-04-08 14:37:21 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							f40e8a835c 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6326: fixed password visible in plain text in some of commands in Hyper-v Agent logs  
						
						
						
						
					 
					
						2014-04-08 14:37:13 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							24820d20d3 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6288: Changing default ImageFormat to vhdx for hyper-v and allowing registration of vhdx format templates.  
						
						... 
						
						
						
						Signed-off-by: Devdeep Singh <devdeep@gmail.com> 
						
						
					 
					
						2014-04-01 14:00:24 +05:30 
						 
				 
			
				
					
						
							
							
								Rajesh Battala 
							
						 
					 
					
						
						
						
						
							
						
						
							4523f5d8de 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6106 Agent side changes for VPC on Hyper-V  
						
						
						
						
					 
					
						2014-03-14 17:36:43 +05:30 
						 
				 
			
				
					
						
							
							
								Devdeep Singh 
							
						 
					 
					
						
						
						
						
							
						
						
							2aff39f8c7 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6143: Storage motion support for hyper-v. With these changes a volume on a shared  
						
						... 
						
						
						
						storage pool (SMB) and attached to a running vm can be live migrated to another shared storage
pool. Also a vm and its volumes can be live migrated to another host and storage pool respectively. 
						
						
					 
					
						2014-03-14 16:27:58 +05:30 
						 
				 
			
				
					
						
							
							
								Rajesh Battala 
							
						 
					 
					
						
						
						
						
							
						
						
							f960ada36e 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6159 Fixed creating volumes(Root, DataDisk) with uuid in primary store  
						
						
						
						
					 
					
						2014-02-23 09:21:30 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							b86d45b003 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6054: Changes for making vmsync work for hyper-v. Made changes to PingCommand and  
						
						... 
						
						
						
						StartupCommand to return the state of all vms on the host. 
						
						
					 
					
						2014-02-11 12:19:41 +05:30 
						 
				 
			
				
					
						
							
							
								Rajesh Battala 
							
						 
					 
					
						
						
						
						
							
						
						
							7f780f26f9 
							
						 
					 
					
						
						
							
							Fixed agent code to handle untagged public vlan while parsing the vlan id  
						
						
						
						
					 
					
						2014-02-05 23:44:14 +05:30 
						 
				 
			
				
					
						
							
							
								Devdeep Singh 
							
						 
					 
					
						
						
						
						
							
						
						
							a24263fe81 
							
						 
					 
					
						
						
							
							CLOUDSTACK-6030: Encrypt the primary and secondary smb storage password when it is stored in the db.  
						
						
						
						
					 
					
						2014-02-05 15:44:09 +05:30 
						 
				 
			
				
					
						
							
							
								Rajesh Battala 
							
						 
					 
					
						
						
						
						
							
						
						
							807dc09138 
							
						 
					 
					
						
						
							
							CLOUDSTACK-5561 Support of multiple public vlans on VR running in HyperV  
						
						
						
						
					 
					
						2014-01-28 07:03:08 +05:30 
						 
				 
			
				
					
						
							
							
								Devdeep Singh 
							
						 
					 
					
						
						
						
						
							
						
						
							aab881be21 
							
						 
					 
					
						
						
							
							CLOUDSTACK-5942: The agent at places logs the password of the user. It should mask the  
						
						... 
						
						
						
						password from the message string before writing to the log. Made a change to do so. 
						
						
					 
					
						2014-01-24 15:04:00 +05:30 
						 
				 
			
				
					
						
							
							
								Devdeep Singh 
							
						 
					 
					
						
						
						
						
							
						
						
							538092b73e 
							
						 
					 
					
						
						
							
							Hyper-V agent should log to the event viewer. Changed the default  
						
						... 
						
						
						
						log appender for the agent. 
						
						
					 
					
						2014-01-23 13:45:55 +05:30 
						 
				 
			
				
					
						
							
							
								Anshul Gangwar 
							
						 
					 
					
						
						
						
						
							
						
						
							b2de225f54 
							
						 
					 
					
						
						
							
							CLOUDSTACK-5703: putting rdp server port value in host details  
						
						
						
						
					 
					
						2014-01-23 10:54:08 +05:30