Documentation
¶
Index ¶
- type DeleteGroupReq
- type DeleteGroupReqContent
- type DeleteGroupReqContentMaskingGroup
- type DeleteGroupResp
- type DeleteMaskingViewReq
- type DeleteMaskingViewReqContent
- type DeleteMaskingViewReqContentPC
- type DeleteMaskingViewResp
- type DeleteVolReq
- type DeleteVolReqContent
- type DeleteVolReqContentElement
- type DeleteVolResp
- type GetHostGroupsResp
- type GetJobStatusResp
- type GetMaskingViewsResp
- type GetPortGroupsResp
- type GetStorageArraysResp
- type GetStorageGroupsResp
- type GetStoragePoolSettingsResp
- type GetStoragePoolsResp
- type GetVolumesResp
- type HostAdapter
- type PortValues
- type PostCreateMaskingViewReq
- type PostCreateMaskingViewReqContent
- type PostCreateMaskingViewResp
- type PostDeviceMaskingGroupReq
- type PostGroupReq
- type PostGroupReqContent
- type PostGroupResp
- type PostInitiatorMaskingGroupReq
- type PostInitiatorToHGReq
- type PostInitiatorToHGReqContent
- type PostInitiatorToHGReqContentMG
- type PostInitiatorToHGReqContentMember
- type PostInitiatorToHGResp
- type PostPortLoggedInReq
- type PostPortLoggedInReqContent
- type PostPortLoggedInReqHardwareID
- type PostPortLoginResp
- type PostPortToPGReq
- type PostPortToPGReqContent
- type PostPortToPGReqContentMG
- type PostPortToPGReqContentMember
- type PostPortToPGResp
- type PostStorageHardwareIDReq
- type PostStorageHardwareIDReqContent
- type PostStorageHardwareIDResp
- type PostTargetMaskingGroupReq
- type PostVolumesReq
- type PostVolumesReqContent
- type PostVolumesResp
- type PostVolumesToSGReq
- type PostVolumesToSGReqContent
- type PostVolumesToSGReqContentMG
- type PostVolumesToSGReqContentMember
- type PostVolumesToSGResp
- type SLO_Struct
- type SMIS
- func (smis *SMIS) GetHostGroups(sid string) (resp *GetHostGroupsResp, err error)
- func (smis *SMIS) GetJobStatus(instanceID string) (resp *GetJobStatusResp, JobStatus string, err error)
- func (smis *SMIS) GetMaskingViews(sid string) (resp *GetMaskingViewsResp, err error)
- func (smis *SMIS) GetPortGroups(sid string) (resp *GetPortGroupsResp, err error)
- func (smis *SMIS) GetSLOs(sid string) (SLOs []SLO_Struct, err error)
- func (smis *SMIS) GetStorageArrays() (resp *GetStorageArraysResp, err error)
- func (smis *SMIS) GetStorageGroups(sid string) (resp *GetStorageGroupsResp, err error)
- func (smis *SMIS) GetStoragePoolSettings(srp_name, sid string) (resp *GetStoragePoolSettingsResp, err error)
- func (smis *SMIS) GetStoragePools(sid string) (resp *GetStoragePoolsResp, err error)
- func (smis *SMIS) GetVolumeByID(sid string, volumeID string) (resp *GetVolumesResp, err error)
- func (smis *SMIS) GetVolumeByName(sid string, volumeName string) (resp *GetVolumesResp, err error)
- func (smis *SMIS) GetVolumes(sid string) (resp *GetVolumesResp, err error)
- func (smis *SMIS) PostCreateGroup(req *PostGroupReq, sid string) (resp *PostGroupResp, err error)
- func (smis *SMIS) PostCreateMaskingView(req *PostCreateMaskingViewReq, sid string) (resp *PostCreateMaskingViewResp, err error)
- func (smis *SMIS) PostDeleteGroup(req *DeleteGroupReq, sid string) (resp *DeleteGroupResp, err error)
- func (smis *SMIS) PostDeleteMaskingView(req *DeleteMaskingViewReq, sid string) (resp *DeleteMaskingViewResp, err error)
- func (smis *SMIS) PostDeleteVol(req *DeleteVolReq, sid string) (resp *DeleteVolResp, err error)
- func (smis *SMIS) PostInitiatorToHG(req *PostInitiatorToHGReq, sid string) (resp *PostInitiatorToHGResp, err error)
- func (smis *SMIS) PostPortLogins(req *PostPortLoggedInReq, sid string) (portvalues1 []PortValues, err error)
- func (smis *SMIS) PostPortToPG(req *PostPortToPGReq, sid string) (resp *PostPortToPGResp, err error)
- func (smis *SMIS) PostStorageHardwareID(req *PostStorageHardwareIDReq, sid string) (resp *PostStorageHardwareIDResp, err error)
- func (smis *SMIS) PostVolumes(req *PostVolumesReq, sid string) (resp1 *PostVolumesResp, resp2 *GetJobStatusResp, err error)
- func (smis *SMIS) PostVolumesToSG(req *PostVolumesToSGReq, sid string) (resp *PostVolumesToSGResp, err error)
- func (smis *SMIS) RemoveInitiatorFromHG(req *PostInitiatorToHGReq, sid string) (resp *PostInitiatorToHGResp, err error)
- func (smis *SMIS) RemovePortFromPG(req *PostPortToPGReq, sid string) (resp *PostPortToPGResp, err error)
- func (smis *SMIS) RemoveVolumeFromSG(req *PostVolumesToSGReq, sid string) (resp *PostVolumesToSGResp, err error)
- type VMHost
- func (vmh *VMHost) AttachRDM(vm *object.VirtualMachine, deviceNAA string) (err error)
- func (vmh *VMHost) DetachRDM(vm *object.VirtualMachine, deviceNAA string) error
- func (vmh *VMHost) FindHosts(targetVM *object.VirtualMachine) (hosts []*object.HostSystem, err error)
- func (vmh *VMHost) GetSCSILuns() ([]*types.ScsiLun, error)
- func (vmh *VMHost) RescanAllHba(hostSystem *object.HostSystem) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteGroupReq ¶
type DeleteGroupReq struct {
DeleteGroupRequestContent *DeleteGroupReqContent `json:"content"`
}
type DeleteGroupReqContent ¶
type DeleteGroupReqContent struct {
AtType string `json:"@type"`
DeleteGroupRequestContentMaskingGroup *DeleteGroupReqContentMaskingGroup `json:"MaskingGroup"`
}
type DeleteGroupResp ¶
type DeleteGroupResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_parameters struct {
I_Job struct {
AtType string `json:"@type"`
E0_InstanceID string `json:"e0$InstanceID"`
Xmlns_e0 string `json:"xmlns$e0"`
} `json:"i$Job"`
} `json:"i$parameters"`
I_returnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type DeleteMaskingViewReq ¶
type DeleteMaskingViewReq struct {
DeleteMaskingViewRequestContent *DeleteMaskingViewReqContent `json:"content"`
}
type DeleteMaskingViewReqContent ¶
type DeleteMaskingViewReqContent struct {
AtType string `json:"@type"`
DeleteMaskingViewRequestContentPC *DeleteMaskingViewReqContentPC `json:"ProtocolController"`
}
type DeleteMaskingViewResp ¶
type DeleteMaskingViewResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_parameters struct {
I_Job struct {
AtType string `json:"@type"`
E0_InstanceID string `json:"e0$InstanceID"`
Xmlns_e0 string `json:"xmlns$e0"`
} `json:"i$Job"`
} `json:"i$parameters"`
I_returnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type DeleteVolReq ¶
type DeleteVolReq struct {
DeleteVolRequestContent *DeleteVolReqContent `json:"content"`
}
type DeleteVolReqContent ¶
type DeleteVolReqContent struct {
AtType string `json:"@type"`
DeleteVolRequestContentElement *DeleteVolReqContentElement `json:"TheElement"`
}
type DeleteVolResp ¶
type DeleteVolResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Parameters struct {
I_Job struct {
AtType string `json:"@type"`
E0_InstanceID string `json:"e0$InstanceID"`
Xmlns_e0 string `json:"xmlns$e0"`
} `json:"i$Job"`
} `json:"i$parameters"`
I_ReturnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type GetHostGroupsResp ¶
type GetHostGroupsResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Caption string `json:"i$Caption"`
I_ConsistentLogicalUnitNumber bool `json:"i$ConsistentLogicalUnitNumber"`
I_DeleteOnEmpty bool `json:"i$DeleteOnEmpty"`
I_DeleteWhenBecomesUnassociated bool `json:"i$DeleteWhenBecomesUnassociated"`
I_ElementName string `json:"i$ElementName"`
I_Generation int `json:"i$Generation"`
I_InstanceID string `json:"i$InstanceID"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Gd_etag string `json:"gd$etag"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type GetJobStatusResp ¶
type GetJobStatusResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_DeleteOnCompletion bool `json:"i$DeleteOnCompletion"`
I_Description string `json:"i$Description"`
I_ElapsedTime string `json:"i$ElapsedTime"`
I_ErrorCode int `json:"i$ErrorCode"`
I_ErrorDescription string `json:"i$ErrorDescription"`
I_HealthState int `json:"i$HealthState"`
I_JobRunTimes int `json:"i$JobRunTimes"`
I_JobState int `json:"i$JobState"`
I_JobStatus string `json:"i$JobStatus"`
I_LocalOrUtcTime int `json:"i$LocalOrUtcTime"`
I_Name string `json:"i$Name"`
I_OperationalStatus []int `json:"i$OperationalStatus"`
I_Owner string `json:"i$Owner"`
I_PercentComplete int `json:"i$PercentComplete"`
I_StartTime string `json:"i$StartTime"`
I_Status string `json:"i$Status"`
I_StatusDescriptions []string `json:"i$StatusDescriptions"`
I_TimeBeforeRemoval string `json:"i$TimeBeforeRemoval"`
I_TimeOfLastStateChange string `json:"i$TimeOfLastStateChange"`
I_TimeSubmitted string `json:"i$TimeSubmitted"`
I_UntilTime string `json:"i$UntilTime"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Gd_etag string `json:"gd$etag"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type GetMaskingViewsResp ¶
type GetMaskingViewsResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Caption string `json:"i$Caption"`
I_CreationClassName string `json:"i$CreationClassName"`
I_Description string `json:"i$Description"`
I_DeviceID string `json:"i$DeviceID"`
I_EMCAdapterRole string `json:"i$EMCAdapterRole"`
I_ElementName string `json:"i$ElementName"`
I_EnabledDefault int `json:"i$EnabledDefault"`
I_EnabledState int `json:"i$EnabledState"`
I_Generation int `json:"i$Generation"`
I_HealthState int `json:"i$HealthState"`
I_MaxUnitsControlled int `json:"i$MaxUnitsControlled"`
I_Name string `json:"i$Name"`
I_NameFormat int `json:"i$NameFormat"`
I_OperationalStatus []int `json:"i$OperationalStatus"`
I_OtherNameFormat string `json:"i$OtherNameFormat"`
I_RequestedState int `json:"i$RequestedState"`
I_StatusDescriptions []string `json:"i$StatusDescriptions"`
I_SystemCreationClassName string `json:"i$SystemCreationClassName"`
I_SystemName string `json:"i$SystemName"`
I_TransitioningToState int `json:"i$TransitioningToState"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Gd_etag string `json:"gd$etag"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type GetPortGroupsResp ¶
type GetPortGroupsResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Caption string `json:"i$Caption"`
I_DeleteOnEmpty bool `json:"i$DeleteOnEmpty"`
I_DeleteWhenBecomesUnassociated bool `json:"i$DeleteWhenBecomesUnassociated"`
I_ElementName string `json:"i$ElementName"`
I_Generation int `json:"i$Generation"`
I_InstanceID string `json:"i$InstanceID"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Gd_etag string `json:"gd$etag"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type GetStorageArraysResp ¶
type GetStorageArraysResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Caption string `json:"i$Caption"`
I_CreationClassName string `json:"i$CreationClassName"`
I_Dedicated []int `json:"i$Dedicated"`
I_Description string `json:"i$Description"`
I_EMCAutoMetaConfiguration []int `json:"i$EMCAutoMetaConfiguration"`
I_EMCAutoMetaEnabled bool `json:"i$EMCAutoMetaEnabled"`
I_EMCAutoMetaMemberSize int `json:"i$EMCAutoMetaMemberSize"`
I_EMCAutoMetaMinSize int `json:"i$EMCAutoMetaMinSize"`
I_EMCBSPElementType int `json:"i$EMCBSPElementType"`
I_EMCBSPInstanceID string `json:"i$EMCBSPInstanceID"`
I_EMCCacheHiWatermark int `json:"i$EMCCacheHiWatermark"`
I_EMCCacheLoWatermark int `json:"i$EMCCacheLoWatermark"`
I_EMCEnclosureCount int `json:"i$EMCEnclosureCount"`
I_EMCLastSyncTime string `json:"i$EMCLastSyncTime"`
I_EMCLastSyncType []int `json:"i$EMCLastSyncType"`
I_EMCLastSyncTypeDesc []string `json:"i$EMCLastSyncTypeDesc"`
I_EMCLicenseActivationType []int `json:"i$EMCLicenseActivationType"`
I_EMCLicenseCapacityType []int `json:"i$EMCLicenseCapacityType"`
I_EMCLicenseConversionFactor []int `json:"i$EMCLicenseConversionFactor"`
I_EMCLicenseExpirationDate []string `json:"i$EMCLicenseExpirationDate"`
I_EMCLicenseFeatureName []string `json:"i$EMCLicenseFeatureName"`
I_EMCLicenseStatus []int `json:"i$EMCLicenseStatus"`
I_EMCLocality int `json:"i$EMCLocality"`
I_EMCMaskingEnabled bool `json:"i$EMCMaskingEnabled"`
I_EMCMemorySize int `json:"i$EMCMemorySize"`
I_EMCNonSataActualCapacity []int `json:"i$EMCNonSataActualCapacity"`
I_EMCNonSataLicenseCapacity []int `json:"i$EMCNonSataLicenseCapacity"`
I_EMCNumberOfDisks int `json:"i$EMCNumberOfDisks"`
I_EMCNumberOfUnconfiguredDisks int `json:"i$EMCNumberOfUnconfiguredDisks"`
I_EMCNumberofFrontEndPorts int `json:"i$EMCNumberofFrontEndPorts"`
I_EMCNumberofSymDevs int `json:"i$EMCNumberofSymDevs"`
I_EMCReadCacheSize int `json:"i$EMCReadCacheSize"`
I_EMCSataActualCapacity []int `json:"i$EMCSataActualCapacity"`
I_EMCSataLicenseCapacity []int `json:"i$EMCSataLicenseCapacity"`
I_EMCUpTime string `json:"i$EMCUpTime"`
I_EMCWriteCacheSize int `json:"i$EMCWriteCacheSize"`
I_EMCisDARE bool `json:"i$EMCisDARE"`
I_ElementName string `json:"i$ElementName"`
I_EnabledDefault int `json:"i$EnabledDefault"`
I_EnabledState int `json:"i$EnabledState"`
I_HealthState int `json:"i$HealthState"`
I_IdentifyingDescriptions []string `json:"i$IdentifyingDescriptions"`
I_Name string `json:"i$Name"`
I_NameFormat string `json:"i$NameFormat"`
I_OperationalStatus []int `json:"i$OperationalStatus"`
I_OtherIdentifyingInfo []string `json:"i$OtherIdentifyingInfo"`
I_PowerManagementCapabilities []int `json:"i$PowerManagementCapabilities"`
I_PrimaryOwnerContact interface{} `json:"i$PrimaryOwnerContact"`
I_PrimaryOwnerName interface{} `json:"i$PrimaryOwnerName"`
I_RequestedState int `json:"i$RequestedState"`
I_ResetCapability int `json:"i$ResetCapability"`
I_StatusDescriptions []string `json:"i$StatusDescriptions"`
I_TransitioningToState int `json:"i$TransitioningToState"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Gd_etag string `json:"gd$etag"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type GetStorageGroupsResp ¶
type GetStorageGroupsResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Caption string `json:"i$Caption"`
I_DeleteOnEmpty bool `json:"i$DeleteOnEmpty"`
I_DeleteWhenBecomesUnassociated bool `json:"i$DeleteWhenBecomesUnassociated"`
I_EMCAssociatedToView bool `json:"i$EMCAssociatedToView"`
I_EMCFastSetting string `json:"i$EMCFastSetting"`
I_EMCMaxIOBandwidthInherited bool `json:"i$EMCMaxIOBandwidthInherited"`
I_EMCMaxIODynamicDistributionType int `json:"i$EMCMaxIODynamicDistributionType"`
I_EMCMaximumBandwidth int `json:"i$EMCMaximumBandwidth"`
I_EMCMaximumIO int `json:"i$EMCMaximumIO"`
I_EMCRecoverPointEnabled bool `json:"i$EMCRecoverPointEnabled"`
I_EMCSLO string `json:"i$EMCSLO"`
I_EMCSLOBaseName string `json:"i$EMCSLOBaseName"`
I_EMCSRP string `json:"i$EMCSRP"`
I_EMCWorkload interface{} `json:"i$EMCWorkload"`
I_ElementName string `json:"i$ElementName"`
I_Generation int `json:"i$Generation"`
I_InstanceID string `json:"i$InstanceID"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Gd_etag string `json:"gd$etag"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type GetStoragePoolSettingsResp ¶
type GetStoragePoolSettingsResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Changeable bool `json:"i$Changeable"`
I_ChangeableType int `json:"i$ChangeableType"`
I_CompressedElement bool `json:"i$CompressedElement"`
I_CompressionRate int `json:"i$CompressionRate"`
I_DataRedundancyGoal int `json:"i$DataRedundancyGoal"`
I_DataRedundancyMax int `json:"i$DataRedundancyMax"`
I_DataRedundancyMin int `json:"i$DataRedundancyMin"`
I_DeltaReservationGoal int `json:"i$DeltaReservationGoal"`
I_DeltaReservationMax int `json:"i$DeltaReservationMax"`
I_DeltaReservationMin int `json:"i$DeltaReservationMin"`
I_ElementName string `json:"i$ElementName"`
I_EMCApproxAverageResponseTime float64 `json:"i$EMCApproxAverageResponseTime"`
I_EMCDeduplicationRate int `json:"i$EMCDeduplicationRate"`
I_EMCEnableDIF int `json:"i$EMCEnableDIF"`
I_EMCEnableEFDCache int `json:"i$EMCEnableEFDCache"`
I_EMCFastSetting string `json:"i$EMCFastSetting"`
I_EMCParticipateInPowerSavings int `json:"i$EMCParticipateInPowerSavings"`
I_EMCPoolCompressionState int `json:"i$EMCPoolCompressionState"`
I_EMCPottedSetting bool `json:"i$EMCPottedSetting"`
I_EMCRaidGroupLUN bool `json:"i$EMCRaidGroupLUN"`
I_EMCRaidLevel string `json:"i$EMCRaidLevel"`
I_EMCSLO string `json:"i$EMCSLO"`
I_EMCSLOBaseName string `json:"i$EMCSLOBaseName"`
I_EMCSLOdescription string `json:"i$EMCSLOdescription"`
I_EMCSRP string `json:"i$EMCSRP"`
I_EMCStorageSettingType int `json:"i$EMCStorageSettingType"`
I_EMCUniqueID string `json:"i$EMCUniqueID"`
I_EMCWorkload string `json:"i$EMCWorkload"`
I_ExtentStripeLength int `json:"i$ExtentStripeLength"`
I_ExtentStripeLengthMax int `json:"i$ExtentStripeLengthMax"`
I_ExtentStripeLengthMin int `json:"i$ExtentStripeLengthMin"`
I_InitialStorageTierMethodology int `json:"i$InitialStorageTierMethodology"`
I_InitialStorageTieringSelection int `json:"i$InitialStorageTieringSelection"`
I_InitialSynchronization int `json:"i$InitialSynchronization"`
I_InstanceID string `json:"i$InstanceID"`
I_NoSinglePointOfFailure bool `json:"i$NoSinglePointOfFailure"`
I_PackageRedundancyGoal int `json:"i$PackageRedundancyGoal"`
I_PackageRedundancyMax int `json:"i$PackageRedundancyMax"`
I_PackageRedundancyMin int `json:"i$PackageRedundancyMin"`
I_SpaceLimit int `json:"i$SpaceLimit"`
I_StorageExtentInitialUsage int `json:"i$StorageExtentInitialUsage"`
I_StoragePoolInitialUsage int `json:"i$StoragePoolInitialUsage"`
I_ThinProvisionedPoolType int `json:"i$ThinProvisionedPoolType"`
I_UseReplicationBuffer int `json:"i$UseReplicationBuffer"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Gd_etag string `json:"gd$etag"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type GetStoragePoolsResp ¶
type GetStoragePoolsResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_ClientSettableUsage []interface{} `json:"i$ClientSettableUsage"`
I_ConsumedResourceUnits string `json:"i$ConsumedResourceUnits"`
I_Description interface{} `json:"i$Description"`
I_EMCCanBeUsedForRemoteMirror bool `json:"i$EMCCanBeUsedForRemoteMirror"`
I_EMCDataFormat string `json:"i$EMCDataFormat"`
I_EMCDefaultSRPforFBAvolumes bool `json:"i$EMCDefaultSRPforFBAvolumes"`
I_EMCDiskDriveType string `json:"i$EMCDiskDriveType"`
I_EMCIsBound bool `json:"i$EMCIsBound"`
I_EMCLocality []int `json:"i$EMCLocality"`
I_EMCOversubscribedCapacity int `json:"i$EMCOversubscribedCapacity"`
I_EMCPercentReservedCapacity int `json:"i$EMCPercentReservedCapacity"`
I_EMCPercentSubscribed int `json:"i$EMCPercentSubscribed"`
I_EMCPercentageUsed int `json:"i$EMCPercentageUsed"`
I_EMCRemoteMirrorSpace int `json:"i$EMCRemoteMirrorSpace"`
I_EMCSnapshotSpace int `json:"i$EMCSnapshotSpace"`
I_EMCSubscribedCapacity int `json:"i$EMCSubscribedCapacity"`
I_ElementName string `json:"i$ElementName"`
I_ElementsShareSpace bool `json:"i$ElementsShareSpace"`
I_HealthState int `json:"i$HealthState"`
I_InstanceID string `json:"i$InstanceID"`
I_LowSpaceWarningThreshold int `json:"i$LowSpaceWarningThreshold"`
I_OperationalStatus []int `json:"i$OperationalStatus"`
I_PoolID string `json:"i$PoolID"`
I_Primordial bool `json:"i$Primordial"`
I_RemainingManagedSpace int `json:"i$RemainingManagedSpace"`
I_SpaceLimit int `json:"i$SpaceLimit"`
I_SpaceLimitDetermination int `json:"i$SpaceLimitDetermination"`
I_StatusDescriptions []string `json:"i$StatusDescriptions"`
I_ThinProvisionMetaDataSpace int `json:"i$ThinProvisionMetaDataSpace"`
I_TotalManagedSpace int `json:"i$TotalManagedSpace"`
I_Usage int `json:"i$Usage"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Gd_etag string `json:"gd$etag"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type GetVolumesResp ¶
type GetVolumesResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Access int `json:"i$Access"`
I_BlockSize int `json:"i$BlockSize"`
I_Caption string `json:"i$Caption"`
I_ClientSettableUsage []interface{} `json:"i$ClientSettableUsage"`
I_CompressionRate int `json:"i$CompressionRate"`
I_CompressionState int `json:"i$CompressionState"`
I_ConsumableBlocks int `json:"i$ConsumableBlocks"`
I_CreationClassName string `json:"i$CreationClassName"`
I_DataRedundancy int `json:"i$DataRedundancy"`
I_DeltaReservation int `json:"i$DeltaReservation"`
I_DeviceID string `json:"i$DeviceID"`
I_ElementName string `json:"i$ElementName"`
I_EMCBSPElementType int `json:"i$EMCBSPElementType"`
I_EMCBSPInstanceID string `json:"i$EMCBSPInstanceID"`
I_EMCConsumableBlocksWritten int `json:"i$EMCConsumableBlocksWritten"`
I_EMCDataFormat string `json:"i$EMCDataFormat"`
I_EMCDIFEnabled bool `json:"i$EMCDIFEnabled"`
I_EMCFullyAllocated bool `json:"i$EMCFullyAllocated"`
I_EMCIsBound bool `json:"i$EMCIsBound"`
I_EMCIsComposite bool `json:"i$EMCIsComposite"`
I_EMCIsDeDuplicated bool `json:"i$EMCIsDeDuplicated"`
I_EMCIsMapped bool `json:"i$EMCIsMapped"`
I_EMCRaidLevel string `json:"i$EMCRaidLevel"`
I_EMCRecoverPointEnabled bool `json:"i$EMCRecoverPointEnabled"`
I_EMCSpaceConsumed int `json:"i$EMCSpaceConsumed"`
I_EMCVolumeAttributes []int `json:"i$EMCVolumeAttributes"`
I_EMCVolumeAttributes2 []int `json:"i$EMCVolumeAttributes2"`
I_EMCVolumeAttributesDescription []string `json:"i$EMCVolumeAttributesDescription"`
I_EMCVolumeAttributesDescription2 []string `json:"i$EMCVolumeAttributesDescription2"`
I_EMCVolumeLabel string `json:"i$EMCVolumeLabel"`
I_EMCWWN string `json:"i$EMCWWN"`
I_EnabledState int `json:"i$EnabledState"`
I_ExtentDiscriminator []string `json:"i$ExtentDiscriminator"`
I_ExtentStatus []int `json:"i$ExtentStatus"`
I_HealthState int `json:"i$HealthState"`
I_IdentifyingDescriptions []string `json:"i$IdentifyingDescriptions"`
I_IsBasedOnUnderlyingRedundancy bool `json:"i$IsBasedOnUnderlyingRedundancy"`
I_IsComposite bool `json:"i$IsComposite"`
I_IsCompressed bool `json:"i$IsCompressed"`
I_Name string `json:"i$Name"`
I_NameFormat int `json:"i$NameFormat"`
I_NameNamespace int `json:"i$NameNamespace"`
I_NoSinglePointOfFailure bool `json:"i$NoSinglePointOfFailure"`
I_NumberOfBlocks int `json:"i$NumberOfBlocks"`
I_OperationalStatus []int `json:"i$OperationalStatus"`
I_OtherIdentifyingInfo []string `json:"i$OtherIdentifyingInfo"`
I_OtherNameFormat string `json:"i$OtherNameFormat"`
I_PackageRedundancy int `json:"i$PackageRedundancy"`
I_Primordial bool `json:"i$Primordial"`
I_Purpose string `json:"i$Purpose"`
I_RequestedState int `json:"i$RequestedState"`
I_SequentialAccess bool `json:"i$SequentialAccess"`
I_SystemCreationClassName string `json:"i$SystemCreationClassName"`
I_SystemName string `json:"i$SystemName"`
I_StatusDescriptions []string `json:"i$StatusDescriptions"`
I_StatusInfo int `json:"i$StatusInfo"`
I_StorageTieringSelection int `json:"i$StorageTieringSelection"`
I_ThinlyProvisioned bool `json:"i$ThinlyProvisioned"`
I_TransitioningToState int `json:"i$TransitioningToState"`
I_Usage int `json:"i$Usage"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Gd_etag string `json:"gd$etag"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type HostAdapter ¶
func GetBaremetalHBA ¶
func GetBaremetalHBA() (myHosts []HostAdapter, err error)
type PortValues ¶
type PostCreateMaskingViewReq ¶
type PostCreateMaskingViewReq struct {
PostCreateMaskingViewRequestContent *PostCreateMaskingViewReqContent `json:"content"`
}
type PostCreateMaskingViewReqContent ¶
type PostCreateMaskingViewReqContent struct {
AtType string `json:"@type"`
ElementName string `json:"ElementName"`
PostInitiatorMaskingGroupRequest *PostInitiatorMaskingGroupReq `json:"InitiatorMaskingGroup"`
PostTargetMaskingGroupRequest *PostTargetMaskingGroupReq `json:"TargetMaskingGroup"`
PostDeviceMaskingGroupRequest *PostDeviceMaskingGroupReq `json:"DeviceMaskingGroup"`
}
type PostCreateMaskingViewResp ¶
type PostCreateMaskingViewResp struct {
Xmlns_gd string `json:"xmlns$gd"`
Updated string `json:"updated"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Entries []struct {
Updated string `json:"updated"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Content_type string `json:"content-type"`
Content struct {
AtType string `json:"@type"`
Xmlns_i string `json:"xmlns$i"`
I_Parameters struct {
I_Job struct {
AtType string `json:"@type"`
Xmlns_e0 string `json:"xmlns$e0"`
E0_InstanceID string `json:"e0$InstanceID"`
} `json:"i$Job"`
} `json:"i$parameters"`
I_ReturnValue int `json:"i$returnValue"`
} `json:"content"`
} `json:"entries"`
}
type PostGroupReq ¶
type PostGroupReq struct {
PostGroupRequestContent *PostGroupReqContent `json:"content"`
}
type PostGroupReqContent ¶
type PostGroupResp ¶
type PostGroupResp struct {
Entries []struct {
Content struct {
I_parameters struct {
I_MaskingGroup struct {
E0_InstanceID string `json:"e0$InstanceID"`
Xmlns_e0 string `json:"xmlns$e0"`
// contains filtered or unexported fields
} `json:"i$MaskingGroup"`
} `json:"i$parameters"`
I_returnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
// contains filtered or unexported fields
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type PostInitiatorToHGReq ¶
type PostInitiatorToHGReq struct {
PostInitiatorToHGRequestContent *PostInitiatorToHGReqContent `json:"content"`
}
type PostInitiatorToHGReqContent ¶
type PostInitiatorToHGReqContent struct {
AtType string `json:"@type"`
PostInitiatorToHGRequestContentMG *PostInitiatorToHGReqContentMG `json:"MaskingGroup"`
PostInitiatorToHGRequestContentMember []*PostInitiatorToHGReqContentMember `json:"Members"`
}
type PostInitiatorToHGResp ¶
type PostInitiatorToHGResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Parameters struct {
I_Job struct {
AtType string `json:"@type"`
E0_InstanceID string `json:"e0$InstanceID"`
Xmlns_e0 string `json:"xmlns$e0"`
} `json:"i$Job"`
} `json:"i$parameters"`
I_ReturnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type PostPortLoggedInReq ¶
type PostPortLoggedInReq struct {
PostPortLoggedInRequestContent *PostPortLoggedInReqContent `json:"content"`
}
type PostPortLoggedInReqContent ¶
type PostPortLoggedInReqContent struct {
PostPortLoggedInRequestHardwareID *PostPortLoggedInReqHardwareID `json:"HardwareID"`
AtType string `json:"@type"`
}
type PostPortLoginResp ¶
type PostPortLoginResp struct {
Entries []struct {
Content struct {
I_parameters struct {
I_TargetEndpoints []map[string]string `json:"i$TargetEndpoints"`
} `json:"i$parameters"`
I_returnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
// contains filtered or unexported fields
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type PostPortToPGReq ¶
type PostPortToPGReq struct {
PostPortToPGRequestContent *PostPortToPGReqContent `json:"content"`
}
type PostPortToPGReqContent ¶
type PostPortToPGReqContent struct {
AtType string `json:"@type"`
PostPortToPGRequestContentMG *PostPortToPGReqContentMG `json:"MaskingGroup"`
PostPortToPGRequestContentMember []*PostPortToPGReqContentMember `json:"Members"`
}
type PostPortToPGResp ¶
type PostPortToPGResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Parameters struct {
I_Job struct {
AtType string `json:"@type"`
E0_InstanceID string `json:"e0$InstanceID"`
Xmlns_e0 string `json:"xmlns$e0"`
} `json:"i$Job"`
} `json:"i$parameters"`
I_ReturnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type PostStorageHardwareIDReq ¶
type PostStorageHardwareIDReq struct {
PostStorageHardwareIDRequestContent *PostStorageHardwareIDReqContent `json:"content"`
}
type PostStorageHardwareIDResp ¶
type PostStorageHardwareIDResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Parameters struct {
I_HardwareID struct {
AtType string `json:"@type"`
E0_InstanceID string `json:"e0$InstanceID"`
Xmlns_e0 string `json:"xmlns$e0"`
} `json:"i$HardwareID"`
} `json:"i$parameters"`
I_ReturnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type PostVolumesReq ¶
type PostVolumesReq struct {
PostVolumesRequestContent *PostVolumesReqContent `json:"content"`
}
type PostVolumesReqContent ¶
type PostVolumesResp ¶
type PostVolumesResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Parameters struct {
I_Job struct {
AtType string `json:"@type"`
E0_InstanceID string `json:"e0$InstanceID"`
Xmlns_e0 string `json:"xmlns$e0"`
} `json:"i$Job"`
I_Size int `json:"i$Size"`
} `json:"i$parameters"`
I_ReturnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type PostVolumesToSGReq ¶
type PostVolumesToSGReq struct {
PostVolumesToSGRequestContent *PostVolumesToSGReqContent `json:"content"`
}
type PostVolumesToSGReqContent ¶
type PostVolumesToSGReqContent struct {
AtType string `json:"@type"`
PostVolumesToSGRequestContentMG *PostVolumesToSGReqContentMG `json:"MaskingGroup"`
PostVolumesToSGRequestContentMember []*PostVolumesToSGReqContentMember `json:"Members"`
}
type PostVolumesToSGResp ¶
type PostVolumesToSGResp struct {
Entries []struct {
Content struct {
AtType string `json:"@type"`
I_Parameters struct {
I_Job struct {
AtType string `json:"@type"`
E0_InstanceID string `json:"e0$InstanceID"`
Xmlns_e0 string `json:"xmlns$e0"`
} `json:"i$Job"`
} `json:"i$parameters"`
I_ReturnValue int `json:"i$returnValue"`
Xmlns_i string `json:"xmlns$i"`
} `json:"content"`
Content_type string `json:"content-type"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
} `json:"entries"`
ID string `json:"id"`
Links []struct {
Href string `json:"href"`
Rel string `json:"rel"`
} `json:"links"`
Updated string `json:"updated"`
Xmlns_gd string `json:"xmlns$gd"`
}
type SLO_Struct ¶
type SMIS ¶
type SMIS struct {
// contains filtered or unexported fields
}
func (*SMIS) GetHostGroups ¶
func (smis *SMIS) GetHostGroups(sid string) (resp *GetHostGroupsResp, err error)
func (*SMIS) GetJobStatus ¶
func (smis *SMIS) GetJobStatus(instanceID string) (resp *GetJobStatusResp, JobStatus string, err error)
func (*SMIS) GetMaskingViews ¶
func (smis *SMIS) GetMaskingViews(sid string) (resp *GetMaskingViewsResp, err error)
func (*SMIS) GetPortGroups ¶
func (smis *SMIS) GetPortGroups(sid string) (resp *GetPortGroupsResp, err error)
func (*SMIS) GetStorageArrays ¶
func (smis *SMIS) GetStorageArrays() (resp *GetStorageArraysResp, err error)
func (*SMIS) GetStorageGroups ¶
func (smis *SMIS) GetStorageGroups(sid string) (resp *GetStorageGroupsResp, err error)
func (*SMIS) GetStoragePoolSettings ¶
func (smis *SMIS) GetStoragePoolSettings(srp_name, sid string) (resp *GetStoragePoolSettingsResp, err error)
func (*SMIS) GetStoragePools ¶
func (smis *SMIS) GetStoragePools(sid string) (resp *GetStoragePoolsResp, err error)
func (*SMIS) GetVolumeByID ¶
func (smis *SMIS) GetVolumeByID(sid string, volumeID string) (resp *GetVolumesResp, err error)
func (*SMIS) GetVolumeByName ¶
func (smis *SMIS) GetVolumeByName(sid string, volumeName string) (resp *GetVolumesResp, err error)
func (*SMIS) GetVolumes ¶
func (smis *SMIS) GetVolumes(sid string) (resp *GetVolumesResp, err error)
func (*SMIS) PostCreateGroup ¶
func (smis *SMIS) PostCreateGroup(req *PostGroupReq, sid string) (resp *PostGroupResp, err error)
func (*SMIS) PostCreateMaskingView ¶
func (smis *SMIS) PostCreateMaskingView(req *PostCreateMaskingViewReq, sid string) (resp *PostCreateMaskingViewResp, err error)
func (*SMIS) PostDeleteGroup ¶
func (smis *SMIS) PostDeleteGroup(req *DeleteGroupReq, sid string) (resp *DeleteGroupResp, err error)
func (*SMIS) PostDeleteMaskingView ¶
func (smis *SMIS) PostDeleteMaskingView(req *DeleteMaskingViewReq, sid string) (resp *DeleteMaskingViewResp, err error)
func (*SMIS) PostDeleteVol ¶
func (smis *SMIS) PostDeleteVol(req *DeleteVolReq, sid string) (resp *DeleteVolResp, err error)
func (*SMIS) PostInitiatorToHG ¶
func (smis *SMIS) PostInitiatorToHG(req *PostInitiatorToHGReq, sid string) (resp *PostInitiatorToHGResp, err error)
func (*SMIS) PostPortLogins ¶
func (smis *SMIS) PostPortLogins(req *PostPortLoggedInReq, sid string) (portvalues1 []PortValues, err error)
func (*SMIS) PostPortToPG ¶
func (smis *SMIS) PostPortToPG(req *PostPortToPGReq, sid string) (resp *PostPortToPGResp, err error)
func (*SMIS) PostStorageHardwareID ¶
func (smis *SMIS) PostStorageHardwareID(req *PostStorageHardwareIDReq, sid string) (resp *PostStorageHardwareIDResp, err error)
func (*SMIS) PostVolumes ¶
func (smis *SMIS) PostVolumes(req *PostVolumesReq, sid string) (resp1 *PostVolumesResp, resp2 *GetJobStatusResp, err error)
func (*SMIS) PostVolumesToSG ¶
func (smis *SMIS) PostVolumesToSG(req *PostVolumesToSGReq, sid string) (resp *PostVolumesToSGResp, err error)
func (*SMIS) RemoveInitiatorFromHG ¶
func (smis *SMIS) RemoveInitiatorFromHG(req *PostInitiatorToHGReq, sid string) (resp *PostInitiatorToHGResp, err error)
func (*SMIS) RemovePortFromPG ¶
func (smis *SMIS) RemovePortFromPG(req *PostPortToPGReq, sid string) (resp *PostPortToPGResp, err error)
func (*SMIS) RemoveVolumeFromSG ¶
func (smis *SMIS) RemoveVolumeFromSG(req *PostVolumesToSGReq, sid string) (resp *PostVolumesToSGResp, err error)
type VMHost ¶
type VMHost struct {
Ctx context.Context
Vm *object.VirtualMachine
// contains filtered or unexported fields
}
func (*VMHost) AttachRDM ¶
func (vmh *VMHost) AttachRDM(vm *object.VirtualMachine, deviceNAA string) (err error)
func (*VMHost) DetachRDM ¶
func (vmh *VMHost) DetachRDM(vm *object.VirtualMachine, deviceNAA string) error
func (*VMHost) FindHosts ¶
func (vmh *VMHost) FindHosts(targetVM *object.VirtualMachine) (hosts []*object.HostSystem, err error)
func (*VMHost) RescanAllHba ¶
func (vmh *VMHost) RescanAllHba(hostSystem *object.HostSystem) error
Click to show internal directories.
Click to hide internal directories.