C# Class XenAdmin.Actions.UploadSupplementalPackAction

Inheritance: XenAdmin.Actions.AsyncAction
Show file Open project: xenserver/xenadmin Class Usage Examples

Public Properties

Property Type Description
VdiRefsToCleanUp XenRef>.Dictionary

Public Methods

Method Description
RecomputeCanCancel ( ) : void
UploadSupplementalPackAction ( IXenConnection connection, List selectedServers, string path, bool suppressHistory ) : System

This constructor is used to upload a single supplemental pack file

Protected Methods

Method Description
Run ( ) : void

Private Methods

Method Description
CanCreateVdi ( SR sr ) : bool
FileSize ( string path ) : long
NewVDI ( SR sr ) : XenAPI.VDI
RemoveVDI ( XenAPI.Session session, XenRef vdi ) : void
SelectLocalSrs ( ) : void
SelectTargetSr ( ) : void
SrHasEnoughFreeSpace ( SR sr ) : bool
UploadSupplementalPack ( SR sr ) : string

Method Details

RecomputeCanCancel() public method

public RecomputeCanCancel ( ) : void
return void

Run() protected method

protected Run ( ) : void
return void

UploadSupplementalPackAction() public method

This constructor is used to upload a single supplemental pack file
public UploadSupplementalPackAction ( IXenConnection connection, List selectedServers, string path, bool suppressHistory ) : System
connection IXenConnection
selectedServers List
path string
suppressHistory bool
return System

Property Details

VdiRefsToCleanUp public property

public Dictionary> VdiRefsToCleanUp
return XenRef>.Dictionary