Documentation ¶
Overview ¶
Package ov -
Package ov for working with HP OneView ¶
Package ov -
Package ov -
Package ov -
Package ov -
Package ov -
Package ov ¶
Package ov -
Package ov ¶
Package ov -
Package ov -
Package ov -
Package ov -
Package ov -
Package ov -
Index ¶
- func IsZeroOfUnderlyingType(x interface{}) bool
- type APIVersion
- type ActiveQosConfig
- type Adapter
- type AddressingMode
- type AdministratorAccount
- type AlertEmailFilters
- type AllLabels
- type AllocatedCapacity
- type ApplianceBay
- type ApplianceSshAccess
- type ApplianceTimeandLocal
- type Args
- type AssignedLabel
- type AssociatedResSubnets
- type AssociatedResource
- type AssociatedResources
- type Auth
- type AuthHeader
- type AvailableTarget
- type Bandwidth
- type BandwidthType
- type BiosOption
- type BiosSetting
- type BiosSettings
- type BootIscsi
- type BootManagement
- type BootModeOption
- type BootOption
- type BootOptionV3
- type BootTarget
- type BulkDelete
- type BulkEthernetNetwork
- type BulkInconsistencyValidation
- type CertificateDetail
- type CertificateStat
- type Chap
- type ClusterComplianceDetails
- type Component
- type Configuration
- type Connection
- type ConnectionList
- type ConnectionSettings
- type ConnectionTemplate
- type Connectionv200
- type CreateIpv4Range
- type Credentials
- type CrossBar
- type CustomServicePack
- type DcbxConfigurations
- type DcbxEtsPort
- type DcbxInfo
- type DcbxOverride
- type DepClusterAffected
- type Dependency
- type DeploymentManagerSettings
- type DeploymentModeSetting
- type DeploymentModeSettings
- type DeviceBayMap
- type DeviceSlotsv200
- type DeviceSpecificAttributes
- type DeviceSpecificAttributesStoragePool
- type Directory
- type DirectoryGroups
- type DownlinkPortCapability
- type EmailFilterList
- type EmailNotificationList
- type Enclosure
- type EnclosureCreateMap
- type EnclosureGroup
- type EnclosureGroupList
- type EnclosureList
- type EnclosurePatchMap
- type Enclosures
- type EthernetNetwork
- type EthernetNetworkList
- type EthernetSettings
- type ExpectedNeighbor
- type ExtentedProperty
- type ExtraAttributes
- type FCNetwork
- type FCNetworkBulkDelete
- type FCNetworkList
- type FCoENetwork
- type FCoENetworkBulkDelete
- type FCoENetworkList
- type FWComponents
- type FanBay
- type FcPortProperties
- type Firmware
- type FirmwareAndDriversInstallStatev200
- type FirmwareDrivers
- type FirmwareDriversList
- type FirmwareInterconnect
- type FirmwareOption
- type FirmwareOptionv200
- type Folders
- type ForceFlag
- type FragmentsList
- type HardwareState
- type HideShowList
- type Host
- type HostConfigPolicy
- type HotFixes
- type HpSmartUpdateToolStatusv200
- type HypervisorClusterProfile
- type HypervisorClusterProfileCompliancePreview
- type HypervisorClusterProfileList
- type HypervisorClusterSettings
- type HypervisorClusterVolume
- type HypervisorHostProfileComplianceDetails
- type HypervisorHostProfileTemplate
- type HypervisorManager
- type HypervisorManagerConfig
- type HypervisorManagerList
- type HypervisorProfileComplianceDetails
- type IcmLicenses
- type IdPool
- type IdPoolsIpv4Subnet
- type IdPoolsIpv4SubnetRange
- type IgmpSettings
- type IgmpSettingsUpdate
- type IloHostName
- type InactiveFCoEQosConfig
- type InactiveNonFCoEQosConfig
- type InactiveRoceQosConfig
- type Initiator
- type IntManagementProcessor
- type Interconnect
- type InterconnectBay
- type InterconnectBayMap
- type InterconnectBays
- type InterconnectCapability
- type InterconnectFibData
- type InterconnectFibDataEntry
- type InterconnectList
- type InterconnectLocation
- type InterconnectLocationEntry
- type InterconnectMap
- type InterconnectMapEntries
- type InterconnectMapEntryTemplate
- type InterconnectMapTemplate
- type InterconnectType
- type InterconnectTypeList
- type InternalVlanAssociation
- type InternalVlanAssociationCollection
- type IpAddressList
- type Ipv4Option
- type Ipv4Range
- type Ipv4Ranges
- type Ipv4Setting
- type Ipv4Subnet
- type Ipv6Addresses
- type KeyManager
- type LSDomainPerSwitch
- type Label
- type LeOsDeploymentSettings
- type License
- type LicenseIntents
- type LinkedEnclosure
- type LocalAccounts
- type LocalStorageEmbeddedController
- type LocalStorageEmbeddedControllerV4
- type LocalStorageOptions
- type LocalStorageSettingsV3
- type LocalStorageSettingsV4
- type Locales
- type LocalesList
- type Location
- type LocationEntries
- type LocationEntry
- type LogicalDrive
- type LogicalDriveV3
- type LogicalDriveV4
- type LogicalEnclosure
- type LogicalEnclosureFirmware
- type LogicalEnclosureList
- type LogicalInterconnect
- type LogicalInterconnectCompliance
- type LogicalInterconnectGroup
- type LogicalInterconnectGroupDefaultSettings
- type LogicalInterconnectGroupList
- type LogicalInterconnectList
- type LogicalInterconnectReport
- type LogicalJbod
- type LogicalLocation
- type LogicalPortConfigInfo
- type LogicalSwitch
- type LogicalSwitchDomainInfo
- type LogicalSwitchGroup
- type LogicalSwitchGroupList
- type ManagedPools
- type ManagementProcessors
- type ManagerBay
- type Member
- type Meta
- type MgmtPortNeighbor
- type MonitorPortInfo
- type MpHostInfov200
- type MpIPAddressv200
- type MpIPTypev200
- type MpSetting
- type MpSettings
- type MutualChap
- type Neighbor
- type NetworkLite
- type NetworkSet
- type NetworkSetList
- type NtpConfiguration
- type OAMap
- type OVClient
- func (c *OVClient) AddMultipleRackServers(rackServer ServerHardware) error
- func (c *OVClient) AddRackManager(rm RackManager) (resourceId string, err error)
- func (c *OVClient) AddRackServer(rackServer ServerHardware) (utils.Nstring, error)
- func (c *OVClient) AllocateId(allocator UpdateAllocatorList, id string) (UpdateAllocatorList, error)
- func (c *OVClient) AllocateIpv4Subnet(id string, subnet SubnetAllocatorList) (SubnetAllocatorList, error)
- func (c *OVClient) Allocator(allocateIds UpdateAllocatorList, poolType string) (UpdateAllocatorList, error)
- func (c *OVClient) BulkInconsistencyValidations(ligUris map[string][]utils.Nstring) (BulkInconsistencyValidation, error)
- func (c *OVClient) Cleanup(template *ServerProfile)
- func (c *OVClient) CollectId(collector UpdateCollectorList, id string) (UpdateCollectorList, error)
- func (c *OVClient) CollectIpv4Subnet(id string, subnet SubnetCollectorList) (SubnetCollectorList, error)
- func (c *OVClient) Collector(idList UpdateCollectorList, poolType string) (UpdateCollectorList, error)
- func (c *OVClient) ConfigureAppliance(configuration EmailNotificationList) error
- func (c *OVClient) CreateApplianceTimeandLocal(timelocale ApplianceTimeandLocal) error
- func (c *OVClient) CreateBulkEthernetNetwork(eNet BulkEthernetNetwork) error
- func (c *OVClient) CreateCustomServicePack(sp CustomServicePack, force string) error
- func (c *OVClient) CreateEnclosure(enclosure_create_map EnclosureCreateMap) error
- func (c *OVClient) CreateEnclosureGroup(eGroup EnclosureGroup) error
- func (c *OVClient) CreateEthernetNetwork(eNet EthernetNetwork) error
- func (c *OVClient) CreateFCNetwork(fcNet FCNetwork) error
- func (c *OVClient) CreateFCoENetwork(fcoeNet FCoENetwork) error
- func (c *OVClient) CreateHypervisorClusterProfile(hyClustProf HypervisorClusterProfile) error
- func (c *OVClient) CreateHypervisorManager(hypM HypervisorManager) error
- func (c *OVClient) CreateIPv4Range(ipv4 CreateIpv4Range) (Ipv4Range, error)
- func (c *OVClient) CreateIPv4Subnet(subnet Ipv4Subnet) error
- func (c *OVClient) CreateLabel(label AssignedLabel) (AssignedLabel, error)
- func (c *OVClient) CreateLogicalEnclosure(logEn LogicalEnclosure) error
- func (c *OVClient) CreateLogicalInterconnectGroup(logicalInterconnectGroup LogicalInterconnectGroup) error
- func (c *OVClient) CreateLogicalSwitchGroup(logicalSwitchGroup LogicalSwitchGroup) error
- func (c *OVClient) CreateMachine(host_name string, server_template string) (err error)
- func (c *OVClient) CreateNetworkSet(netSet NetworkSet) error
- func (c *OVClient) CreateProfileFromTemplate(name string, template ServerProfile, blade ServerHardware, ...) error
- func (c *OVClient) CreateProfileTemplate(serverProfileTemplate ServerProfile) error
- func (c *OVClient) CreateSNMPv1TrapDestinations(trapOption SNMPv1Trap, id string) error
- func (c *OVClient) CreateSNMPv3TrapDestinations(trapOption SNMPv3Trap) (SNMPv3Trap, error)
- func (c *OVClient) CreateSNMPv3Users(snmpv3User SNMPv3User) (SNMPv3User, error)
- func (c *OVClient) CreateScope(scp Scope) error
- func (c *OVClient) CreateServerCertificate(serverC ServerCertificate) error
- func (c *OVClient) CreateStorageSystem(sSystem StorageSystem) error
- func (c *OVClient) CreateStorageVolume(sVol StorageVolume) error
- func (c *OVClient) CreateStorageVolumeTemplate(sVolTemplate StorageVolumeTemplate) error
- func (c *OVClient) CreateSupportDump(supportdump SupportDumps, id string) (map[string]string, error)
- func (c *OVClient) CreateUplinkSet(upSet UplinkSet) error
- func (c *OVClient) CreateVirtualSwitchLayout(virtualswitchlayout VirtualSwitchLayout) error
- func (c *OVClient) DeleteAssignedLabel(resourceUri string) error
- func (c *OVClient) DeleteBulkEthernetNetwork(eNet BulkDelete) error
- func (c *OVClient) DeleteBulkFCoENetwork(fcoeNet FCoENetworkBulkDelete) error
- func (c *OVClient) DeleteBulkFcNetwork(fcNet FCNetworkBulkDelete) error
- func (c *OVClient) DeleteEnclosure(name string) error
- func (c *OVClient) DeleteEnclosureGroup(name string) error
- func (c *OVClient) DeleteEthernetNetwork(name string) error
- func (c *OVClient) DeleteFCNetwork(name string) error
- func (c *OVClient) DeleteFCoENetwork(name string) error
- func (c *OVClient) DeleteFirmwareBaseline(id string, force string) error
- func (c *OVClient) DeleteHypervisorClusterProfile(name string) error
- func (c *OVClient) DeleteHypervisorClusterProfileSoftDelete(name string, soft_delete bool) error
- func (c *OVClient) DeleteHypervisorClusterProfileSoftDeleteForce(name string, soft_delete bool, force bool) error
- func (c *OVClient) DeleteHypervisorManager(name string) error
- func (c *OVClient) DeleteIpv4Range(id string) error
- func (c *OVClient) DeleteIpv4Subnet(id string) error
- func (c *OVClient) DeleteLogicalEnclosure(name string) error
- func (c *OVClient) DeleteLogicalInterconnectGroup(name string) error
- func (c *OVClient) DeleteLogicalSwitchGroup(name string) error
- func (c *OVClient) DeleteNetworkSet(name string) error
- func (c *OVClient) DeleteProfile(name string) error
- func (c *OVClient) DeleteProfileTemplate(name string) error
- func (c *OVClient) DeleteRackManager(name string) error
- func (c *OVClient) DeleteSNMPv1TrapDestinations(id string) error
- func (c *OVClient) DeleteSNMPv3TrapDestinations(id string) error
- func (c *OVClient) DeleteSNMPv3UserById(id string) error
- func (c *OVClient) DeleteSNMPv3UserByName(username string) error
- func (c *OVClient) DeleteScope(name string) error
- func (c *OVClient) DeleteServerCertificate(name string) error
- func (c *OVClient) DeleteServerHardware(uri utils.Nstring) error
- func (c *OVClient) DeleteStorageSystem(name string) error
- func (c *OVClient) DeleteStorageVolume(name string) error
- func (c *OVClient) DeleteStorageVolumeTemplate(name string) error
- func (c *OVClient) DeleteUplinkSet(name string) error
- func (c *OVClient) GeVolumeTemplatesForStorageSystem(uri utils.Nstring, filter string, sort string, start string, count string) (StorageVolumeTemplateList, error)
- func (c *OVClient) Generate(poolType string) (StartStopFragments, error)
- func (c *OVClient) GetAPIVersion() (APIVersion, error)
- func (c *OVClient) GetAllLabels(sort string, start string, count string, fields string, namePrefix string) (AllLabels, error)
- func (c *OVClient) GetAllocatedFragments(start string, count string, id string) (FragmentsList, error)
- func (c *OVClient) GetApplianceTimeandLocals(filter string, sort string, start string, count string) (ApplianceTimeandLocal, error)
- func (c *OVClient) GetAssignedLabels(ResourceUri utils.Nstring) (AssignedLabel, error)
- func (c *OVClient) GetAssociatedProfile(id string) ([]string, error)
- func (c *OVClient) GetAssociatedUplinkGroup(id string) ([]string, error)
- func (c *OVClient) GetAuthHeaderMap() map[string]string
- func (c *OVClient) GetAuthHeaderMapNoVer() map[string]string
- func (c *OVClient) GetAvailableHardware(hardwareTypeUri utils.Nstring, enclosureGroupUri utils.Nstring) (hw ServerHardware, err error)
- func (c *OVClient) GetAvailableServers(ServerHardwareUri string) (bool, error)
- func (c *OVClient) GetConfigurationScript(uri utils.Nstring) (string, error)
- func (c *OVClient) GetConnectionTemplate(filter string, sort string, start string, count string) (ConnectionList, error)
- func (c *OVClient) GetConnectionTemplateByName(name string) (ConnectionTemplate, error)
- func (c *OVClient) GetConnectionTemplateByURI(uri utils.Nstring) (ConnectionTemplate, error)
- func (c *OVClient) GetDefaultConnectionTemplate() (ConnectionTemplate, error)
- func (c *OVClient) GetEmailNotifications(filter string, sort string, start string, count string) (EmailNotificationList, error)
- func (c *OVClient) GetEmailNotificationsByFilter(filter string, sort string, start string, count string) (EmailFilterList, error)
- func (c *OVClient) GetEmailNotificationsConfiguration(filter string, sort string, start string, count string) (TestEmailResponse, error)
- func (c *OVClient) GetEnclosureByName(name string) (Enclosure, error)
- func (c *OVClient) GetEnclosureGroupByName(name string) (EnclosureGroup, error)
- func (c *OVClient) GetEnclosureGroupByUri(uri utils.Nstring) (EnclosureGroup, error)
- func (c *OVClient) GetEnclosureGroups(start string, count string, filter string, sort string, scopeUris string) (EnclosureGroupList, error)
- func (c *OVClient) GetEnclosurebyUri(uri utils.Nstring) (Enclosure, error)
- func (c *OVClient) GetEnclosures(start string, count string, filter string, sort string, scopeUris string) (EnclosureList, error)
- func (c *OVClient) GetEthernetNetworkByName(name string) (EthernetNetwork, error)
- func (c *OVClient) GetEthernetNetworks(start string, count string, filter string, sort string) (EthernetNetworkList, error)
- func (c *OVClient) GetFCNetworkByName(name string) (FCNetwork, error)
- func (c *OVClient) GetFCNetworks(filter string, sort string, start string, count string) (FCNetworkList, error)
- func (c *OVClient) GetFCoENetworkByName(name string) (FCoENetwork, error)
- func (c *OVClient) GetFCoENetworks(filter string, sort string, start string, count string) (FCoENetworkList, error)
- func (c *OVClient) GetFirmwareBaselineById(id string) (FirmwareDrivers, error)
- func (c *OVClient) GetFirmwareBaselineByNameandVersion(name, version string) (FirmwareDrivers, error)
- func (c *OVClient) GetFirmwareBaselineList(sort string, start string, count string) (FirmwareDriversList, error)
- func (c *OVClient) GetFreeFragments(start string, count string, id string) (FragmentsList, error)
- func (c *OVClient) GetHypervisorClusterProfileById(id string) (HypervisorClusterProfile, error)
- func (c *OVClient) GetHypervisorClusterProfileByName(name string) (HypervisorClusterProfile, error)
- func (c *OVClient) GetHypervisorClusterProfileByUri(uri string) (HypervisorClusterProfile, error)
- func (c *OVClient) GetHypervisorClusterProfileCompliancePreview(id string) (HypervisorClusterProfileCompliancePreview, error)
- func (c *OVClient) GetHypervisorClusterProfiles(start string, count string, filter string, sort string) (HypervisorClusterProfileList, error)
- func (c *OVClient) GetHypervisorManagerByName(name string) (HypervisorManager, error)
- func (c *OVClient) GetHypervisorManagers(start string, count string, filter string, sort string) (HypervisorManagerList, error)
- func (c *OVClient) GetIPv4RangebyId(view string, id string) (Ipv4Range, error)
- func (c *OVClient) GetIPv4SubnetbyId(id string) (Ipv4Subnet, error)
- func (c *OVClient) GetIPv4Subnets(start string, count string, filter string, sort string) (SubnetList, error)
- func (c *OVClient) GetIdleTimeout() (int64, error)
- func (c *OVClient) GetInterconnectByName(name string) (Interconnect, error)
- func (c *OVClient) GetInterconnectByUri(uri utils.Nstring) (Interconnect, error)
- func (c *OVClient) GetInterconnectTypeByName(name string) (InterconnectType, error)
- func (c *OVClient) GetInterconnectTypeByUri(uri utils.Nstring) (InterconnectType, error)
- func (c *OVClient) GetInterconnectTypes(start string, count string, filter string, sort string) (InterconnectTypeList, error)
- func (c *OVClient) GetInterconnects(start string, count string, filter string, sort string) (InterconnectList, error)
- func (c *OVClient) GetLabelByURI(uri utils.Nstring) (Member, error)
- func (c *OVClient) GetLocales() (LocalesList, error)
- func (c *OVClient) GetLogicalEnclosureByName(name string) (LogicalEnclosure, error)
- func (c *OVClient) GetLogicalEnclosures(start string, count string, filter string, scopeUris []string, sort string) (LogicalEnclosureList, error)
- func (c *OVClient) GetLogicalInterconnectById(Id string) (LogicalInterconnect, error)
- func (c *OVClient) GetLogicalInterconnectByUri(uri string) (LogicalInterconnect, error)
- func (c *OVClient) GetLogicalInterconnectEthernetSettings(Id string) (EthernetSettings, error)
- func (c *OVClient) GetLogicalInterconnectFirmware(Id string) (Firmware, error)
- func (c *OVClient) GetLogicalInterconnectForwardingInformation(filter []string, Id string) (InterconnectFibData, error)
- func (c *OVClient) GetLogicalInterconnectForwardingInformationByInterconnectAndExternalVlan(InterconnectURI string, ExternalVlan string, Id string) (InterconnectFibDataEntry, error)
- func (c *OVClient) GetLogicalInterconnectForwardingInformationByInternalVlan(InternalVlan string, Id string) (InterconnectFibDataEntry, error)
- func (c *OVClient) GetLogicalInterconnectForwardingInformationByMacAddress(MacAddress string, Id string) (InterconnectFibDataEntry, error)
- func (c *OVClient) GetLogicalInterconnectGroupByName(name string) (LogicalInterconnectGroup, error)
- func (c *OVClient) GetLogicalInterconnectGroupByUri(uri utils.Nstring) (LogicalInterconnectGroup, error)
- func (c *OVClient) GetLogicalInterconnectGroupDefaultSettings() (LogicalInterconnectGroupDefaultSettings, error)
- func (c *OVClient) GetLogicalInterconnectGroupSettings(uri string) (LogicalInterconnectGroupDefaultSettings, error)
- func (c *OVClient) GetLogicalInterconnectGroups(count int, filter string, scopeUris string, sort string, start int) (LogicalInterconnectGroupList, error)
- func (c *OVClient) GetLogicalInterconnectIgmpSettings(Id string) (IgmpSettings, error)
- func (c *OVClient) GetLogicalInterconnectPortMonitor(Id string) (PortMonitor, error)
- func (c *OVClient) GetLogicalInterconnectSNMPConfiguration(Id string) (SnmpConfiguration, error)
- func (c *OVClient) GetLogicalInterconnects(sort string, start string, count string) (LogicalInterconnectList, error)
- func (c *OVClient) GetLogicalInternalVlans(Id string) (InternalVlanAssociationCollection, error)
- func (c *OVClient) GetLogicalQosAggregatedConfiguration(Id string, fields string, view string) (QosConfiguration, error)
- func (c *OVClient) GetLogicalSwitchGroupByName(name string) (LogicalSwitchGroup, error)
- func (c *OVClient) GetLogicalSwitchGroups(filter string, sort string) (LogicalSwitchGroupList, error)
- func (c *OVClient) GetNetworkSetByName(name string) (NetworkSet, error)
- func (c *OVClient) GetNetworkSets(filter string, sort string) (NetworkSetList, error)
- func (c *OVClient) GetPoolType(poolType string) (IdPool, error)
- func (c *OVClient) GetProfileByName(name string) (ServerProfile, error)
- func (c *OVClient) GetProfileBySN(serialnum string) (ServerProfile, error)
- func (c *OVClient) GetProfileByURI(uri utils.Nstring) (ServerProfile, error)
- func (c *OVClient) GetProfileTemplateByName(name string) (ServerProfile, error)
- func (c *OVClient) GetProfileTemplates(start string, count string, filter string, sort string, scopeUris string) (ServerProfileList, error)
- func (c *OVClient) GetProfiles(start string, count string, filter string, sort string, scopeUris string) (ServerProfileList, error)
- func (c *OVClient) GetRackManagerById(Id string) (RackManager, error)
- func (c *OVClient) GetRackManagerByName(name string) (RackManager, error)
- func (c *OVClient) GetRackManagerList(start string, count string, filter string, sort string, scopeUris string) (RackManagerList, error)
- func (c *OVClient) GetRangeAvailibility(poolType string, ids []string) (UpdateAllocatorList, error)
- func (c *OVClient) GetReachablePorts(uri utils.Nstring) (ReachablePortsList, error)
- func (c *OVClient) GetRelativeValue(portname string, interconnectTypeUri utils.Nstring) (int, error)
- func (c *OVClient) GetRootStorageVolumeTemplate(storage_pool_uri string) (StorageVolumeTemplate, error)
- func (c *OVClient) GetSNMPv1TrapDestinations(filter string, sort string, start string, count string) (SNMPv1TrapList, error)
- func (c *OVClient) GetSNMPv1TrapDestinationsById(id string) (SNMPv1Trap, error)
- func (c *OVClient) GetSNMPv3TrapDestinations(filter string, sort string, start string, count string) (SNMPv3TrapList, error)
- func (c *OVClient) GetSNMPv3TrapDestinationsById(id string) (SNMPv3Trap, error)
- func (c *OVClient) GetSNMPv3UserById(id string) (SNMPv3User, error)
- func (c *OVClient) GetSNMPv3UserByUserName(username string) (SNMPv3User, error)
- func (c *OVClient) GetSNMPv3Users(start string, count string, filter string, sort string) (SNMPv3UserList, error)
- func (c *OVClient) GetScopeByName(name string) (Scope, error)
- func (c *OVClient) GetScopeByUri(uri string) (Scope, error)
- func (c *OVClient) GetScopeFromResource(uri string) (Scope, error)
- func (c *OVClient) GetScopes(count string, query string, start string, view string, sort string) (ScopeList, error)
- func (c *OVClient) GetServerCertificateByIp(ip string) (ServerCertificate, error)
- func (c *OVClient) GetServerCertificateByName(name string) (ServerCertificate, error)
- func (c *OVClient) GetServerFirmwareByUri(uri utils.Nstring) (ServerFirmware, error)
- func (c *OVClient) GetServerFirmwareList(filters []string, sort string, start string, count string) (ServerFirmwareList, error)
- func (c *OVClient) GetServerHardwareByName(name string) (ServerHardware, error)
- func (c *OVClient) GetServerHardwareByUri(uri utils.Nstring) (ServerHardware, error)
- func (c *OVClient) GetServerHardwareList(filters []string, sort string, start string, count string, expand string) (ServerHardwareList, error)
- func (c *OVClient) GetServerHardwareTypeByName(name string) (ServerHardwareType, error)
- func (c *OVClient) GetServerHardwareTypeByUri(uri utils.Nstring) (ServerHardwareType, error)
- func (c *OVClient) GetServerHardwareTypes(start int, count int, filter string, sort string) (ServerHardwareTypeList, error)
- func (c *OVClient) GetSshAccess() (ApplianceSshAccess, error)
- func (c *OVClient) GetStorageAttachmentById(id string) (StorageAttachment, error)
- func (c *OVClient) GetStorageAttachmentByName(name string) (StorageAttachment, error)
- func (c *OVClient) GetStorageAttachments(filter string, sort string, start string, count string) (StorageAttachmentsList, error)
- func (c *OVClient) GetStoragePoolByName(name string) (StoragePool, error)
- func (c *OVClient) GetStoragePoolByUri(uri string) (StoragePool, error)
- func (c *OVClient) GetStoragePools(filter string, sort string, start string, count string) (StoragePoolsList, error)
- func (c *OVClient) GetStorageSystemByName(name string) (StorageSystem, error)
- func (c *OVClient) GetStorageSystemByUri(uri string) (StorageSystem, error)
- func (c *OVClient) GetStorageSystems(filter string, sort string) (StorageSystemsList, error)
- func (c *OVClient) GetStorageVolumeByName(name string) (StorageVolume, error)
- func (c *OVClient) GetStorageVolumeTemplateByName(name string) (StorageVolumeTemplate, error)
- func (c *OVClient) GetStorageVolumeTemplates(filter string, sort string, start string, count string) (StorageVolumeTemplateList, error)
- func (c *OVClient) GetStorageVolumes(filter string, sort string) (StorageVolumesList, error)
- func (c *OVClient) GetSubnetByNetworkId(nwId string) (Ipv4Subnet, error)
- func (c *OVClient) GetSwitchTypeByName(name string) (SwitchType, error)
- func (c *OVClient) GetSwitchTypes(filter string, sort string) (SwitchTypeList, error)
- func (c *OVClient) GetTasks(filter string, sort string, count string, view string, topCount string, ...) (TasksList, error)
- func (c *OVClient) GetTasksById(filter string, sort string, count string, view string, id string) (Task, error)
- func (c *OVClient) GetTelemetryConfigurations(Id string, TCId string) (TelemetryConfiguration, error)
- func (c *OVClient) GetUnassignedPortsForPortMonitor(Id string) PortMonitorPortCollection
- func (c *OVClient) GetUnassignedUplinkPortsForPortMonitor(Id string) (PortMonitorPortCollection, error)
- func (c *OVClient) GetUplinkSetById(id string) ([]string, error)
- func (c *OVClient) GetUplinkSetByName(name string) (UplinkSet, error)
- func (c *OVClient) GetUplinkSets(start string, count string, filter string, sort string) (UplinkSetList, error)
- func (c *OVClient) GetValidateIds(poolType string, ids []string) (UpdateAllocatorList, error)
- func (c *OVClient) GetVolumeSets(uri utils.Nstring) (VolumeSetList, error)
- func (c *OVClient) IsHardwareSchemaV2() bool
- func (c *OVClient) IsProfileTemplates() bool
- func (c *OVClient) NewOVClient(user string, password string, domain string, endpoint string, sslverify bool, ...) *OVClient
- func (c *OVClient) Patch(id string, operation []PatchData) error
- func (c *OVClient) PatchPowerState(id string, operation []PatchPowerData) error
- func (c *OVClient) PatchServerProfile(p ServerProfile, request []Options) error
- func (c *OVClient) PatchServerProfileTemplate(p ServerProfile, request []Options) error
- func (c *OVClient) PatchTask(uri string) error
- func (c *OVClient) ProfileTemplatesNotSupported() bool
- func (c *OVClient) RefreshLogin() error
- func (c *OVClient) RefreshServerHardware(id string, hardware ServerHardware) error
- func (c *OVClient) RefreshVersion() error
- func (c *OVClient) SendEmail(email TestEmailRequest) error
- func (c *OVClient) SendTestEmail(email TestEmailRequest) error
- func (c *OVClient) SessionLogin() (Session, error)
- func (c *OVClient) SessionLogout() error
- func (c *OVClient) SetIdleTimeout(thetime int64) error
- func (c *OVClient) SetMaintenanceMode(serverHardwareId string, value string) error
- func (c *OVClient) SetOneTimeBoot(serverHardwareId string, value string) error
- func (c *OVClient) SetPowerState(serverHardwareId string, powerState map[string]interface{}) error
- func (c *OVClient) SetQueryParams(filters []string, sort string, start string, count string, expand string) map[string]interface{}
- func (c *OVClient) SetSshAccess(sshaccess ApplianceSshAccess) error
- func (c *OVClient) SetUidState(serverHardwareId string, value string) error
- func (c *OVClient) SubmitDeleteProfile(p ServerProfile) (t *Task, err error)
- func (c *OVClient) SubmitNewProfile(p ServerProfile, ignoreFlags ...ForceFlag) (err error)
- func (c *OVClient) Trapv1ValidateDestinationAddress(validate Trapv1ValidationAddress) error
- func (c *OVClient) UpdateAssignedLabels(assignedLabel AssignedLabel) (AssignedLabel, error)
- func (c *OVClient) UpdateConfigurationScript(uri utils.Nstring, body string) (string, error)
- func (c *OVClient) UpdateConnectionTemplate(id string, conntemplate ConnectionTemplate) (ConnectionTemplate, error)
- func (c *OVClient) UpdateEnclosure(op string, path string, value string, enclosure Enclosure) error
- func (c *OVClient) UpdateEnclosureGroup(enclosureGroup EnclosureGroup) error
- func (c *OVClient) UpdateEthernetNetwork(eNet EthernetNetwork) error
- func (c *OVClient) UpdateFCoENetwork(fcoeNet FCoENetwork) error
- func (c *OVClient) UpdateFcNetwork(fcNet FCNetwork) error
- func (c *OVClient) UpdateFromGroupLogicalEnclosure(logEn LogicalEnclosure) error
- func (c *OVClient) UpdateHypervisorClusterProfile(hyClustProf HypervisorClusterProfile) error
- func (c *OVClient) UpdateHypervisorManager(hypM HypervisorManager, force string) error
- func (c *OVClient) UpdateIpv4Range(id string, ipv4 Ipv4Range) (Ipv4Range, error)
- func (c *OVClient) UpdateIpv4Subnet(id string, subnet Ipv4Subnet) error
- func (c *OVClient) UpdateLogicalEnclosure(logEn LogicalEnclosure) error
- func (c *OVClient) UpdateLogicalEnclosureFirmware(uri string, patchData LogicalEnclosureFirmware) error
- func (c *OVClient) UpdateLogicalInterconnectConfigurations(Id string) error
- func (c *OVClient) UpdateLogicalInterconnectConsistentState(liCompliance LogicalInterconnectCompliance) error
- func (c *OVClient) UpdateLogicalInterconnectConsistentStateById(Id string) error
- func (c *OVClient) UpdateLogicalInterconnectEthernetSettings(ethernetSetting EthernetSettings, Id string) error
- func (c *OVClient) UpdateLogicalInterconnectEthernetSettingsForce(ethernetSetting EthernetSettings, Id string, force bool) error
- func (c *OVClient) UpdateLogicalInterconnectFirmware(firmware Firmware, Id string) error
- func (c *OVClient) UpdateLogicalInterconnectFirmwareForce(firmware Firmware, Id string, force bool) error
- func (c *OVClient) UpdateLogicalInterconnectGroup(logicalInterconnectGroup LogicalInterconnectGroup) error
- func (c *OVClient) UpdateLogicalInterconnectIgmpSettings(IgmpConfig IgmpSettingsUpdate, Id string) error
- func (c *OVClient) UpdateLogicalInterconnectInternalNetworks(internalNetworks []utils.Nstring, Id string) error
- func (c *OVClient) UpdateLogicalInterconnectInternalNetworksForce(internalNetworks []utils.Nstring, Id string, force bool) error
- func (c *OVClient) UpdateLogicalInterconnectPortFlapSettings(PortFlapSetting PortFlapProtection, Id string) error
- func (c *OVClient) UpdateLogicalInterconnectPortMonitor(PMConfig PortMonitor, Id string) error
- func (c *OVClient) UpdateLogicalInterconnectQosConfigurations(qosConfig QosConfiguration, Id string) error
- func (c *OVClient) UpdateLogicalInterconnectSNMPConfigurations(snmpConfig SnmpConfiguration, Id string) error
- func (c *OVClient) UpdateLogicalInterconnectTelemetryConfigurations(TConfig TelemetryConfiguration, Id string, TcId string) error
- func (c *OVClient) UpdateLogicalSwitchGroup(logicalSwitchGroup LogicalSwitchGroup) error
- func (c *OVClient) UpdateNetworkSet(netSet NetworkSet) error
- func (c *OVClient) UpdatePoolType(idPool IdPool, poolType string) (IdPool, error)
- func (c *OVClient) UpdateProfileTemplate(serverProfileTemplate ServerProfile) error
- func (c *OVClient) UpdateSNMPv1TrapDestinations(updateOption SNMPv1Trap, id string) (SNMPv1Trap, error)
- func (c *OVClient) UpdateSNMPv3TrapDestinations(updateOption SNMPv3Trap) (SNMPv3Trap, error)
- func (c *OVClient) UpdateSNMPv3User(updateOption SNMPv3User, id string) (SNMPv3User, error)
- func (c *OVClient) UpdateScope(scp Scope) error
- func (c *OVClient) UpdateScopeForResource(scp Scope) error
- func (c *OVClient) UpdateServerCertificate(serverC ServerCertificate) error
- func (c *OVClient) UpdateServerProfile(p ServerProfile) error
- func (c *OVClient) UpdateStoragePool(sPool StoragePool) error
- func (c *OVClient) UpdateStorageSystem(sSystem StorageSystem) error
- func (c *OVClient) UpdateStorageVolume(sVol StorageVolume) error
- func (c *OVClient) UpdateStorageVolumeTemplate(sVolTemplate StorageVolumeTemplate) error
- func (c *OVClient) UpdateUplinkSet(upSet UplinkSet) error
- func (c *OVClient) UpdateValidateIds(Ids UpdateAllocatorList, poolType string) (UpdateAllocatorList, error)
- func (c *OVClient) UpdateiLOFirmwareVersion(id string) error
- func (c *OVClient) ValidateDestinationAddress(destId string, existId []utils.Nstring) error
- type OVCred
- type Option
- type OptionLink
- type Options
- type OsDeploymentSetting
- type OtherFamilyMember
- type Partition
- type PatchData
- type PatchFirmware
- type PatchPowerData
- type Paths
- type PerformancePolicies
- type PhysicalPortv200
- type Port
- type PortConfigInfos
- type PortDeviceSpecificAttributes
- type PortFlapProtection
- type PortInfo
- type PortMap
- type PortMapv200
- type PortMonitor
- type PortMonitorPort
- type PortMonitorPortCollection
- type Ports
- type Power
- type PowerControl
- type PowerRequest
- type PowerState
- type PowerSupplyBay
- type PowerTask
- type Preference
- type PrivateVlanDomain
- type PrivateVlanDomains
- type ProfileAffected
- type ProgressUpdate
- type Properties
- type PropertiesSP
- type ProtectionTemplates
- type ProvisioningParameters
- type QosClassificationMapping
- type QosConfiguration
- type QosTrafficClass
- type QosTrafficClassifier
- type RackManager
- type RackManagerList
- type ReachablePorts
- type ReachablePortsList
- type RemoteSupport
- type RemoteSupportSettings
- type Reports
- type ResourcePath
- type SHTPort
- type SNMPv1Trap
- type SNMPv1TrapList
- type SNMPv3Trap
- type SNMPv3TrapList
- type SNMPv3User
- type SNMPv3UserList
- type SanStorageOptions
- type SanStorageV3
- type SanSystemCredential
- type Scope
- type ScopeList
- type ServerCertificate
- type ServerDisplaySchema
- type ServerFirmware
- type ServerFirmwareList
- type ServerHardware
- type ServerHardwareList
- type ServerHardwareType
- type ServerHardwareTypeList
- type ServerHardwarev200
- type ServerProfile
- type ServerProfileComplianceDetails
- type ServerProfileConfig
- type ServerProfileList
- type ServerProfileTemplateConfig
- type ServerProfilev200
- type ServerSettingsv200
- type Servers
- type Session
- type SflowAgent
- type SflowCollector
- type SflowConfiguration
- type SflowConfigurationMode
- type SflowNetwork
- type SflowPort
- type SharedStorageVolumes
- type Signaturev200
- type SnmpConfiguration
- type Snmpv3User
- type StartStopFragments
- type StorageAttachment
- type StorageAttachmentsList
- type StorageCapability
- type StoragePath
- type StoragePathV2
- type StoragePool
- type StoragePoolsList
- type StorageSystem
- type StorageSystemConfig
- type StorageSystemDeviceSpecificAttributes
- type StorageSystemsList
- type StorageVolume
- type StorageVolumeTemplate
- type StorageVolumeTemplateList
- type StorageVolumesList
- type SubPort
- type SubResource
- type SubnetAllocatorList
- type SubnetCollectorList
- type SubnetList
- type SupportDumps
- type SupportSettings
- type SwitchMapEntry
- type SwitchMapTemplate
- type SwitchType
- type SwitchTypeList
- type Target
- type Task
- type TaskData
- type TaskError
- type TaskServer
- type TaskState
- type TaskType
- type TasksList
- type TelemetryConfiguration
- type TemplateProperties
- type TemplatePropertyDatatypeStructBool
- type TemplatePropertyDatatypeStructInt
- type TemplatePropertyDatatypeStructString
- type TestEmailRequest
- type TestEmailResponse
- type TimeOut
- type TrapDestination
- type Trapv1ValidationAddress
- type UiData
- type UpdateAllocatorList
- type UpdateCollectorList
- type UpdateIpv4
- type UplinkSet
- type UplinkSetList
- type UplinkSets
- type ValidateSNMPv3Address
- type Validation
- type VirtualPort
- type VirtualPortv200
- type VirtualSwitchConfigPolicy
- type VirtualSwitchLayout
- type VirtualSwitchPortGroups
- type VirtualSwitchPorts
- type VirtualSwitchUplinks
- type VirtualSwitches
- type VlanAttributes
- type Volume
- type VolumeAttachment
- type VolumeAttachmentStateV2
- type VolumeAttachmentV2
- type VolumeAttachmentV3
- type VolumeCreationSpace
- type VolumeSet
- type VolumeSetList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsZeroOfUnderlyingType ¶
func IsZeroOfUnderlyingType(x interface{}) bool
IsZeroOfUnderlyingType returns true if a value is initialized.
Types ¶
type APIVersion ¶
type APIVersion struct { CurrentVersion int `json:"currentVersion,omitempty"` MinimumVersion int `json:"minimumVersion,omitempty"` }
APIVersion struct
type ActiveQosConfig ¶
type ActiveQosConfig struct { Category utils.Nstring `json:"category,omitempty"` // "category": "null", ConfigType string `json:"configType,omitempty"` // "configType": "CustomWithFCoE", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty,omitempty"` // "description": "Ethernet Settings", DownlinkClassificationType string `json:"downlinkClassificationType,omitempty"` //"downlinkClassifcationType": "DOT1P_AND_DSCP", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "active QOS Config 1", QosTrafficClassifiers []QosTrafficClassifier `json:"qosTrafficClassifiers,omitempty"` // "qosTrafficClassifiers": {...}, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "QosConfiguration", UplinkClassificationType string `json:"uplinkClassificationType,omitempty"` // "uplinkClassificationType": "DOT1P" URI utils.Nstring `json:"uri,omitempty"` // "uri": null }
type Adapter ¶ added in v1.1.0
type Adapter struct { Capabilities []string `json:"capabilities,omitempty"` // "capabilities": {} DeviceNumber int `json:"deviceNumber,omitempty"` // "deviceNumber": 123 DeviceType string `json:"deviceType,omitempty"` // "deviceType":"Ethernet" Location string `json:"location,omitempty"` // "location": "Mezz" MaxVFsSupported int `json:"maxVFsSupported,omitempty"` // "maxVFsSupported": 256 MinVFsIncrement int `json:"minVFsIncrement,omitempty"` // "minVFsIncrement": 8 Model string `json:"model,omitempty"` // "model": "" Ports []SHTPort `json:"ports,omitempty"` // "ports": {} Slot int `json:"slot,omitempty"` // "slot": 3 StorageCapabilities *StorageCapability `json:"storageCapabilities,omitempty"` // "storageCapabilities":{..,}, }
type AddressingMode ¶ added in v1.7.0
type AddressingMode struct { AddressingMode string `json:"addressingMode,omitempty"` //"addressingMode":"Broadcast" DelayTime int `json:"delayTime,omitempty"` //"delayTime":"" GroupAddress string `json:"groupAddress,omitempty"` //"groupAddress" PollInterval int `json:"pollInterval,omitempty"` //"pollInterval" PollRetry int `json:"pollRetry,omitempty"` //"pollInterval" PollTimeout int `json:"pollTimeout,omitempty"` //"pollInterval" SendRequest bool `json:"sendRequest,omitempty"` //"pollInterval" ServerAutoDiscovery bool `json:"serverAutoDiscovery,omitempty"` //"pollInterval" }
type AdministratorAccount ¶
type AlertEmailFilters ¶ added in v1.5.0
type AlertEmailFilters struct { Disabled bool `json:"disabled,omitempty"` DisplayFilter string `json:"displayFilter,omitempty"` Emails []utils.Nstring `json:"emails,omitempty"` Filter string `json:"filter,omitempty"` UserQueryFilter string `json:"userQueryFilter,omitempty"` Limit int `json:"limit,omitempty"` LimitDuration string `json:"limitDuration,omitempty"` ScopeQuery utils.Nstring `json:"scopeQuery,omitempty"` FilterName int `json:"filterName,omitempty"` }
type AllLabels ¶
type AllLabels struct { Category string `json:"category,omitempty"` Count int `json:"count,omitempty"` Created string `json:"created,omitempty"` ETAG utils.Nstring `json:"eTag,omitempty"` Members []Member `json:"members,omitempty"` Modified string `json:"modified,omitempty"` NextPageUri utils.Nstring `json:"nextPageUri,omitempty"` PrevPageUri utils.Nstring `json:"prevPageUri,omitempty"` Start int `json:"start,omitempty"` Total int `json:"total,omitempty"` Type string `json:"type,omitempty"` Uri utils.Nstring `json:"uri,omitempty"` }
type AllocatedCapacity ¶ added in v1.1.0
type ApplianceBay ¶ added in v1.0.0
type ApplianceBay struct { BayNumber int `json:"bayNumber"` // "bayNumber": 1, BayPowerState string `json:"bayPowerState,omitempty"` // "bayPowerState": "Unknown", DevicePresence string `json:"devicePresence,omitempty"` // "devicePresence": "Present", Model string `json:"model,omitempty"` // "model": null, PartNumber string `json:"partNumber,omitempty"` // "partNumber": "" PoweredOn bool `json:"poweredOn,omitempty"` // "poweredOn": true SerialNumber string `json:"serialNumber,omitempty"` // "serialNumber": "", SparePartNumber string `json:"sparePartNumber,omitempty"` // "sparePartNumber": "" Status string `json:"status,omitempty"` // "status": "" }
type ApplianceSshAccess ¶
type ApplianceSshAccess struct { AllowSshAccess bool `json:"allowSshAccess"` Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` ETAG string `json:"eTag,omitempty"` Modified string `json:"modified,omitempty"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
type ApplianceTimeandLocal ¶
type ApplianceTimeandLocal struct { Type string `json:"type,omitempty"` Category string `json:"category,omitempty"` URI utils.Nstring `json:"uri,omitempty"` ETAG string `json:"eTag,omitempty"` Modified string `json:"modified,omitempty"` Created string `json:"created,omitempty"` Locale string `json:"locale,omitempty"` LocaleDisplayName utils.Nstring `json:"localeDisplayName,omitempty"` DateTime utils.Nstring `json:"dateTime,omitempty"` NtpServers []utils.Nstring `json:"ntpServers,omitempty"` Timezone utils.Nstring `json:"timezone,omitempty"` PollingInterval string `json:"pollingInterval,omitempty"` }
type Args ¶
type Args struct { ArgumentType string `json:argumentType,omitempty` // "argumentType":"", AttributeName string `json:attributeName,omitempty` // "attributeName":"", DefaultValue string `json:defaultValue,omitempty` // "defaultValue":"", HelpText string `json:helpText,omitempty` // "helpText":"", HideShowList []HideShowList `json:hideShowList,omitempty` // "hideShowList":{}, Label string `json:label,omitempty` // "label":"", UiData []UiData `json:uiData,omitempty` // "uiData":{}, Validation []Validation `json:validation,omitempty` // "validation":{}, }
type AssignedLabel ¶
type AssignedLabel struct { Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` ETAG utils.Nstring `json:"eTag,omitempty"` Labels []Label `json:"labels,omitempty"` Modified string `json:"modified,omitempty"` ResourceUri utils.Nstring `json:"resourceUri,omitempty"` Type string `json:"type,omitempty"` Uri utils.Nstring `json:"uri,omitempty"` }
type AssociatedResSubnets ¶
type AssociatedResource ¶
type AssociatedResource struct { ResourceName utils.Nstring `json:"resourceName,omitempty"` // "resourceName": "se05, bay 16", AssociationType string `json:"associationType,omitempty"` // "associationType": "MANAGED_BY", ResourceCateogry string `json:"resourceCategory,omitempty"` // "resourceCategory": "server-hardware", ResourceURI utils.Nstring `json:"resourceUri,omitempty"` // "resourceUri": "/rest/server-hardware/30373237-3132-4D32-3235-303930524D57" }
AssociatedResource associated resource
type AssociatedResources ¶ added in v1.5.0
type Auth ¶
type Auth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` Domain string `json:"authLoginDomain,omitempty"` MsgAck bool `json:"loginMsgAck,omitempty"` }
Auth structure
type AuthHeader ¶
type AuthHeader struct { ContentType string `json:"Content-Type,omitempty"` XAPIVersion int `json:"X-API-Version,omitempty"` Auth string `json:"auth,omitempty"` IfMatch string `json:"If-Match,omitempty` }
AuthHeader Marshal a json into a auth header
type AvailableTarget ¶ added in v1.5.0
type BandwidthType ¶
type BiosOption ¶
type BiosOption struct { ComplianceControl string `json:"complianceControl,omitempty"` // complianceControl ConsistencyState string `json:"consistencyState,omitempty"` //Consistency state of the BIOS component ManageBios *bool `json:"manageBios"` // "manageBios": false, OverriddenSettings []BiosSettings `json:"overriddenSettings,omitempty"` // "overriddenSettings": [] ReapplyState string `json:"reapplyState,omitempty"` //Current reapply state of the BIOS component. }
BiosOption - bios options
type BiosSetting ¶ added in v1.1.0
type BiosSetting struct { Category string `json:"category,omitempty"` // "category":"" DefaultValue string `json:"defaultValue,omitempty"` // "defaultValue":"Cpm21Trq" DependencyList []Dependency `json:"dependencyList,omitempty"` //"dependencyList:" {} HelpText string `json:"helpText,omitempty"` // "helpText": "" ID string `json:"id,omitempty"` // "id":"" LowerBound int `json:"lowerBound,omitempty"` // "lowerBound": 3 Name string `json:"name,omitempty"` // "name": "" Options []Option `json:"options,omitempty"` // "options":{} ScalarIncrement int `json:"scalarIncrement,omitempty"` // "scalarIncrement":4 StringMaxLength int `json:"stringMaxLength,omitempty"` // "stringMaxLength":24 StringMinLength int `json:"stringMinLength,omitempty"` // "stringMinLength":2 Type string `json:"type,omitempty"` // "type":"" UpperBound int `json:"upperBound,omitempty"` // "upperBound": 78 ValueExpression string `json:"valueExpression,omitempty"` // "valueExpression":"" WarningText string `json:"warningText,omitempty"` // "warningText":"" }
type BiosSettings ¶
type BiosSettings struct { ID string `json:"id,omitempty"` // id Value string `json:"value,omitempty"` // value }
BiosSettings structure
type BootIscsi ¶ added in v1.1.0
type BootIscsi struct { BootTargetLun string `json:"bootTargetLun,omitempty"` BootTargetName string `json:"bootTargetName,omitempty"` Chaplevel string `json:"chapLevel,omitempty"` ChapName string `json:"chapName,omitempty"` ChapSecret string `json:"chapSecret,omitempty"` FirstBootTargetIp string `json:"firstBootTargetIp,omitempty"` FirstBootTargetPort string `json:"firstBootTargetPort,omitempty"` InitiatorName string `json:"initiatorName,omitempty"` InitiatorNameSource string `json:"initiatorNameSource,omitempty"` MutualChapName string `json:"mutualChapName,omitempty"` MutualChapSecret string `json:"mutualChapSecret,omitempty"` SecondBootTargetIp string `json:"secondBootTargetIp,omitempty"` SecondBootTargetPort string `json:"secondBootTargetPort,omitempty"` }
type BootManagement ¶
type BootManagement struct { ComplianceControl string `json:"complianceControl,omitempty"` // complianceControl ManageBoot bool `json:"manageBoot,omitempty"` // "manageBoot": true, Order []string `json:"order,omitempty"` // "order": ["CD","USB","HardDisk","PXE"] }
BootManagement management
type BootModeOption ¶
type BootModeOption struct { ComplianceControl string `json:"complianceControl,omitempty"` // complianceControl ManageMode *bool `json:"manageMode"` // "manageMode": true, Mode string `json:"mode,omitempty"` // "mode": "BIOS", PXEBootPolicy utils.Nstring `json:"pxeBootPolicy,omitempty"` // "pxeBootPolicy": null SecureBoot string `json:"secureBoot,omitempty"` // Enable or disable UEFI Secure Boot }
BootModeOption mode option
type BootOption ¶
type BootOption struct { BootTargetLun string `json:"bootTargetLun,omitempty"` // "bootTargetLun": "0", BootTargetName string `json:"bootTargetName,omitempty"` // "bootTargetName": "iqn.2015-02.com.hpe:iscsi.target", BootVlanId int `json:"bootVlanId,omitempty"` //The virtual LAN ID of the boot connection. BootVolumeSource string `json:"bootVolumeSource,omitempty"` // "bootVolumeSource": "", ChapLevel string `json:"chapLevel,omitempty"` // "chapLevel": "None", ChapName string `json:"chapName,omitempty"` // "chapName": "chap name", ChapSecret string `json:"chapSecret,omitempty"` // "chapSecret": "super secret chap secret", FirstBootTargetIp string `json:"firstBootTargetIp,omitempty"` // "firtBootTargetIp": "10.0.0.50", FirstBootTargetPort string `json:"firstBootTargetPort,omitempty"` // "firstBootTargetPort": "8080", InitiatorGateway string `json:"initiatorGateway,omitempty"` // "initiatorGateway": "3260", InitiatorIp string `json:"initiatorIp,omitempty"` // "initiatorIp": "192.168.6.21", InitiatorName string `json:"initiatorName,omitempty"` // "initiatorName": "iqn.2015-02.com.hpe:oneview-vcgs02t012", InitiatorNameSource string `json:"initiatorNameSource,omitempty"` // "initiatorNameSource": "UserDefined" InitiatorSubnetMask string `json:"initiatorSubnetMask,omitempty"` // "initiatorSubnetMask": "255.255.240.0", InitiatorVlanId int `json:"initiatorVlanId,omitempty"` // "initiatorVlanId": 77, MutualChapName string `json:"mutualChapName,omitempty"` // "mutualChapName": "name of mutual chap", MutualChapSecret string `json:"mutualChapSecret,omitempty"` // "mutualChapSecret": "secret of mutual chap", SecondBootTargetIp string `json:"secondBootTargetIp,omitempty"` // "secondBootTargetIp": "10.0.0.51", SecondBootTargetPort string `json:"secondBootTargetPort,omitempty"` // "secondBootTargetPort": "78" Priority string `json:"priority,omitempty"` // priority(const_string), indicates the boot priority for this device. PXE and Fibre Channel connections are treated separately; an Ethernet connection and a Fibre Channel connection can both be marked as Primary. The 'order' attribute controls ordering among the different device types. Targets []BootTarget `json:"targets,omitempty"` // targets {BootTarget} EthernetBootType string `json:"ethernetBootType,omitempty"` Iscsi *BootIscsi `json:"iscsi,omitempty"` }
BootOption -
type BootOptionV3 ¶ added in v0.8.2
type BootOptionV3 struct { BootTargetLun string `json:"bootTargetLun,omitempty"` // "bootTargetLun": "0", BootTargetName string `json:"bootTargetName,omitempty"` // "bootTargetName": "iqn.2015-02.com.hpe:iscsi.target", BootVlanId int `json:"bootVlanId,omitempty"` //The virtual LAN ID of the boot connection. BootVolumeSource string `json:"bootVolumeSource,omitempty"` // "bootVolumeSource": "", ChapLevel string `json:"chapLevel,omitempty"` // "chapLevel": "None", ChapName string `json:"chapName,omitempty"` // "chapName": "chap name", ChapSecret string `json:"chapSecret,omitempty"` // "chapSecret": "super secret chap secret", FirstBootTargetIp string `json:"firstBootTargetIp,omitempty"` // "firtBootTargetIp": "10.0.0.50", FirstBootTargetPort string `json:"firstBootTargetPort,omitempty"` // "firstBootTargetPort": "8080", InitiatorGateway string `json:"initiatorGateway,omitempty"` // "initiatorGateway": "3260", InitiatorIp string `json:"initiatorIp,omitempty"` // "initiatorIp": "192.168.6.21", InitiatorName string `json:"initiatorName,omitempty"` // "initiatorName": "iqn.2015-02.com.hpe:oneview-vcgs02t012", InitiatorNameSource string `json:"initiatorNameSource,omitempty"` // "initiatorNameSource": "UserDefined" InitiatorSubnetMask string `json:"initiatorSubnetMask,omitempty"` // "initiatorSubnetMask": "255.255.240.0", InitiatorVlanId int `json:"initiatorVlanId,omitempty"` // "initiatorVlanId": 77, MutualChapName string `json:"mutualChapName,omitempty"` // "mutualChapName": "name of mutual chap", MutualChapSecret string `json:"mutualChapSecret,omitempty"` // "mutualChapSecret": "secret of mutual chap", SecondBootTargetIp string `json:"secondBootTargetIp,omitempty"` // "secondBootTargetIp": "10.0.0.51", SecondBootTargetPort string `json:"secondBootTargetPort,omitempty"` // "secondBootTargetPort": "78" }
type BootTarget ¶
type BootTarget struct { ArrayWWPN string `json:"arrayWwpn,omitempty"` // arrayWwpn(string,required),The wwpn of the target device that provides access to the Boot Volume. This value must contain 16 HEX digits. LUN string `json:"lun,omitempty"` // lun(string,required), The LUN of the Boot Volume presented by the target device. This value can be either 1 to 3 decimal digits in the range 0 to 255, or 13 to 16 hex digits with no other characters }
BootTarget -
type BulkDelete ¶ added in v1.5.0
type BulkEthernetNetwork ¶ added in v1.0.0
type BulkEthernetNetwork struct { VlanIdRange string `json:"vlanIdRange"` // "vlanIdRange":"1-500", Purpose string `json:"purpose"` // "purpose":"General", NamePrefix string `json:"namePrefix"` // "namePrefix":"TestNetwork", SmartLink bool `json:"smartLink"` // "smartLink":false, PrivateNetwork bool `json:"privateNetwork"` // "privateNetwork":false, Bandwidth Bandwidth `json:"bandwidth"` // "bandwidth":10000,2000 Type string `json:"type"` // "type":"bulk-ethernet-network", }
type BulkInconsistencyValidation ¶ added in v1.6.0
type BulkInconsistencyValidation struct { AllowUpdateFromGroup bool `json:"allowUpdateFromGroup,omitempty"` // "allowUpdateFromGroup": false, LogicalInterconnectsReport []LogicalInterconnectReport `json:"logicalInterconnectsReport,omitempty"` // "LogicalInterconnectsReport":[] MaximumLimitOnUpdates int `json:"maximumLimitOnUpdates,omitempty"` // "maximumLimitOnUpdates": 1, NoOfConsistentLIs int `json:"noOfConsistentLIs,omitempty"` // "noOfConsistentLIs": 1, NoOfInconsistentLIs int `json:"noOfInconsistentLIs,omitempty"` // "noOfInconsistentLIs": 1, PortMonitoringConfigurationCumulative bool `json:"portMonitoringConfigurationCumulative,omitempty"` // "portMonitoringConfigurationCumulative": false, PossibleTrafficLossTransactionCumulative bool `json:"possibleTrafficLossTransactionCumulative,omitempty"` // "possibleTrafficLossTransactionCumulative": false, TotalNumberOfUpdates int `json:"totalNumberOfUpdates,omitempty"` // "totalNumberOfUpdates": 1, }
type CertificateDetail ¶ added in v1.3.0
type CertificateDetail struct { AliasName string `json:"aliasName,omitempty"` //"aliasName":"null" AlternativeName string `json:"alternativeName,omitempty"` //"alternativeName":"172.18.13.11" Base64Data utils.Nstring `json:"base64Data,omitempty"` //"base64Data":"-----BEGIN CERTIFICATE-----" BasicConstraints string `json:"basicConstraints,omitempty"` //"basicConstraints":"Subject Type=End Enti" Category string `json:"category,omitempty"` //"category":"appliance" CertPath map[string]string `json:"certPath,omitempty"` //"certPath":"null" CommonName string `json:"commonName,omitempty"` //"commonName":"172.18.13.11" ContactPerson string `json:"contactPerson,omitempty"` //"contactPerson":"null" Country string `json:"country,omitempty"` //"country":"IN" Created string `json:"created,omitempty"` //"created":"2020-04-10T06:24:16.229Z" CrlDistributionEndPoints []string `json:"crlDistributionEndPoints,omitempty"` //"crlDistributionEndPoints":"[]" Description string `json:"description,omitempty"` //"description":"null" Dnqualifier string `json:"dnQualifier,omitempty"` //"dnQualifier":"null" Etag string `json:"eTag,omitempty"` //"eTag":"2020-04-10T06:24:16.229Z" Email string `json:"email,omitempty"` //"email":"null" EnhancedKeyUsage string `json:"enhancedKeyUsage,omitempty"` //"enhancedKeyUsage":"[1.3.6.1.5.5.7.3.1]" ExpiresInDays string `json:"expiresInDays,omitempty"` //"expiresInDays":"36493" GivenName string `json:"givenName,omitempty"` //"givenName":"null" Initials string `json:"initials,omitempty"` //"initials":"null" Issuer string `json:"issuer,omitempty"` //"issuer":"172.18.13.11" KeyUsage string `json:"keyUsage,omitempty"` //"keyUsage":"digitalSignature,keyEncipherment,dataEncipherment" Locality string `json:"locality,omitempty"` //"locality":"BA" LocationState string `json:"locationState,omitempty"` //"locationState":"KA" Modified string `json:"modified,omitempty"` //"modified":"2020-04-10T06:24:16.229Z" Name string `json:"name,omitempty"` //"name":"null" Organization string `json:"organization,omitempty"` //"organization":"HPE" OrganizationalUnit string `json:"organizationalUnit,omitempty"` //"organizationalUnit":"EML" PublicKey utils.Nstring `json:"publicKey,omitempty"` //"publicKey":"2048 bits RSA Public Key" SerialNumber utils.Nstring `json:"serialNumber,omitempty"` //"serialNumber":"93:47:c6:5b:4d:ec:32:6e" Sha1Fingerprint utils.Nstring `json:"sha1Fingerprint,omitempty"` //"sha1Fingerprint":"48:32:fc:d8:6a:3f:af:71:b1:fd:5c:21:" Sha256Fingerprint utils.Nstring `json:"sha256Fingerprint,omitempty"` //"sha256Fingerprint":"0a:f6:b1:ca:94:c6:3a:75:97:74:e" Sha384Fingerprint utils.Nstring `json:"sha384Fingerprint,omitempty"` //"sha384Fingerprint":"5e:3a:21:7c:78:79:6e:c6:5a:03:89:e1:" SignatureAlgorithm string `json:"signatureAlgorithm,omitempty"` //"signatureAlgorithm":"SHA256WITHRSA" State string `json:"state,omitempty"` //"state":"OK" Status string `json:"status,omitempty"` //"status":"OK" Surname string `json:"surname,omitempty"` //"surname":"null" Type string `json:"type,omitempty"` //"type":"CertificateDetailV2" Uri utils.Nstring `json:"uri,omitempty"` //"uri":"null" ValidFrom string `json:"validFrom,omitempty"` //"validFrom":"2020-04-03T08:03:38.000Z" ValidUntil string `json:"validUntil,omitempty"` //"validUntil":"2120-03-10T08:03:38.000Z" Version string `json:"version,omitempty"` //"version":"3" }
type CertificateStat ¶ added in v1.3.0
type Chap ¶ added in v1.0.0
type Chap struct { Name string `json:"name,omitempty"` // contains filtered or unexported fields }
type ClusterComplianceDetails ¶ added in v1.3.0
type Component ¶ added in v1.1.0
type Component struct { ComponentKey string `json:"componentKey,omitempty"` // "componentKey": "TBD", ComponentLocation string `json:"componentLocation,omitempty"` // "componentLocation": "System Board", ComponentName string `json:"componentName,omitempty"` // "componentName": "Power Management Controller Firmware", ComponentVersion string `json:"componentVersion,omitempty"` // "componentVersion": "1.0" }
Component Firmware Map from ServerFirmware
type Configuration ¶ added in v1.5.0
type Configuration struct { OVCred *OVCred IdPoolsIpv4Subnet *IdPoolsIpv4Subnet `json:"id_pools_ipv4_subnet,omitempty"` IdPoolsIpv4SubnetRange *IdPoolsIpv4SubnetRange `json:"id_pools_ipv4_range,omitempty"` ServerProfileConfig *ServerProfileConfig `json:"server_profile,omitempty"` ServerProfileTemplateConfig *ServerProfileTemplateConfig `json:"server_profile_template,omitempty"` HypervisorManagerConfig *HypervisorManagerConfig `json:"hypervisor_manager,omitempty"` StorageSystemConfig *StorageSystemConfig `json:"storage_system,omitempty"` LigName string `json:"ligName"` EgName string `json:"egName"` MgmtNetworkName string `json:"mgmtNetworkName"` IscsiNetworkName string `json:"iscsiNetworkName"` FcNetworkName string `json:"fcNetworkName"` ServerCertificateIp string `json:"serverCertificateIp"` }
func LoadConfigFile ¶ added in v1.5.0
func LoadConfigFile(configFile string) (Configuration, error)
func LoadConfigFilePath ¶
func LoadConfigFilePath(configFilePath string) (Configuration, error)
type Connection ¶
type Connection struct { Connectionv200 AllocatedMbps int `json:"allocatedMbps,omitempty"` // allocatedMbps(int:read), The transmit throughput (mbps) currently allocated to this connection. When Fibre Channel connections are set to Auto for requested bandwidth, the value can be set to -2000 to indicate that the actual value is unknown until OneView is able to negotiate the actual speed. AllocatedVFs int `json:"allocatedVFs,omitempty"` // allocatedVFs The number of virtual functions allocated to this connection. This value will be null. integer read only Boot *BootOption `json:"boot,omitempty"` // boot {} DeploymentStatus string `json:"deploymentStatus,omitempty"` // deploymentStatus(const_string:read), The deployment status of the connection. The value can be 'Undefined', 'Reserved', or 'Deployed'. FunctionType string `json:"functionType,omitempty"` // functionType(const_string), Type of function required for the connection. functionType cannot be modified after the connection is created. 'Ethernet', 'FibreChannel' ID int `json:"id,omitempty"` // id(int), A unique identifier for this connection. When creating or editing a profile, an id is automatically assigned if the attribute is omitted or 0 is specified. When editing a profile, a connection is created if the id does not identify an existing connection. InterconnectPort int `json:"interconnectPort,omitempty"` //The interconnect port associated with the connection. InterconnectURI utils.Nstring `json:"interconnectUri,omitempty"` // interconnectUri(Nstring:read), The interconnectUri associated with the connection. Ipv4 *Ipv4Option `json:"ipv4,omitempty"` //The IP information for a connection IsolatedTrunk bool `json:"isolatedTrunk,omitempty"` //When selected, for each PVLAN domain, primary VLAN ID tags will translated to the isolated VLAN ID tags for traffic egressing to the downlink ports LagName string `json:"lagName,omitempty"` //The link aggregation group name for a server profile connection. MAC utils.Nstring `json:"mac,omitempty"` // mac(Nstring), The MAC address that is currently programmed on the FlexNic. The value can be a virtual MAC, user defined MAC or physical MAC read from the device. It cannot be modified after the connection is created. MacType string `json:"macType,omitempty"` // macType(const_string), Physical, UserDefined, Virtual Managed bool `json:"managed,omitempty"` //Indicates whether the connection is capable of Virtual Connect functionality and managed by OneView MaximumMbps int `json:"maximumMbps,omitempty"` // maximumMbps(int:read), Maximum transmit throughput (mbps) allowed on this connection. The value is limited by the maximum throughput of the network link and maximumBandwidth of the selected network (networkUri). For Fibre Channel connections, the value is limited to the same value as the allocatedMbps. Name string `json:"name,omitempty"` // name(string), A string used to identify the respective connection. The connection name is case insensitive, limited to 63 characters and must be unique within the profile. NetworkName string `json:"networkName,omitempty"` //The name of the network or network set to be connected NetworkURI utils.Nstring `json:"networkUri,omitempty"` // networkUri(Nstring, required), Identifies the network or network set to be connected. Use GET /rest/server-profiles/available-networks to retrieve the list of available Ethernet networks, Fibre Channel networks and network sets that are available along with their respective ports. PortID string `json:"portId,omitempty"` // portId(string), Identifies the port (FlexNIC) used for this connection, for example 'Flb 1:1-a'. The port can be automatically selected by specifying 'Auto', 'None', or a physical port when creating or editing the connection. If 'Auto' is specified, a port that provides access to the selected network (networkUri) will be selected. A physical port (e.g. 'Flb 1:2') can be specified if the choice of a specific FlexNIC on the physical port is not important. If 'None' is specified, the connection will not be configured on the server hardware. When omitted, portId defaults to 'Auto'. Use /rest/server-profiles/profile-ports to retrieve the list of available ports. PrivateVlanPortType string `json:"privateVlanPortType,omitempty"` //Private Vlan port type. RequestedMbps string `json:"requestedMbps,omitempty"` // requestedMbps(string), The transmit throughput (mbps) that should be allocated to this connection. For FlexFabric connections, this value must not exceed the maximum bandwidth of the selected network (networkUri). If omitted, this value defaults to the typical bandwidth value of the selected network. The sum of the requestedBW values for the connections (FlexNICs) on an adapter port cannot exceed the capacity of the network link. For Virtual Connect Fibre Channel connections, the available discrete values are based on the adapter and the Fibre Channel interconnect module. Use GET /rest/server-profiles/profile-ports to retrieve the list of available ports and the acceptable bandwidth values for the ports. RequestedVFs string `json:"requestedVFs,omitempty"` // requestedVFs This value can be "Auto" or 0. string State string `json:"state,omitempty"` //The state of a connection. Status string `json:"status,omitempty"` //The status of a connection. WWNN utils.Nstring `json:"wwnn,omitempty"` // wwnn(Nstring), The node WWN address that is currently programmed on the FlexNic. The value can be a virtual WWNN, user defined WWNN or physical WWNN read from the device. It cannot be modified after the connection is created. WWPN utils.Nstring `json:"wwpn,omitempty"` // wwpn(Nstring), The port WWN address that is currently programmed on the FlexNIC. The value can be a virtual WWPN, user defined WWPN or the physical WWPN read from the device. It cannot be modified after the connection is created. WWPNType string `json:"wwpnType,omitempty"` // wwpnType(const_string), Physical, UserDefined, Virtual }
Connection server profile object for ov
type ConnectionList ¶
type ConnectionList struct { Category string `json:"category,omitempty"` Count int `json:"count,omitempty"` // "count": 1, Created string `json:"created,omitempty"` ETAG string `json:"eTag,omitempty"` Members []ConnectionTemplate `json:"members,omitempty"` Modified string `json:"modified,omitempty"` NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, Start int `json:"start,omitempty"` // "start": 0, Total int `json:"total,omitempty"` // "total": 1 Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
type ConnectionSettings ¶ added in v1.0.0
type ConnectionSettings struct { ComplianceControl string `json:"complianceControl,omitempty"` // "complianceControl": "Checked", ManageConnections bool `json:"manageConnections,omitempty"` // "manageConnections": false, Connections []Connection `json:"connections,omitempty"` ReapplyState string `json:"reapplyState,omitempty"` //Current reapply state of the connection downlinks associated with the server profile }
type ConnectionTemplate ¶
type ConnectionTemplate struct { Bandwidth BandwidthType `json:"bandwidth,omitempty"` Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` Description utils.Nstring `json:"description,omitempty"` ETAG string `json:"eTag,omitempty"` Modified string `json:"modified,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
type Connectionv200 ¶
type Connectionv200 struct { AllocatedVFs int `json:"allocatedVFs,omitempty"` // allocatedVFs The number of virtual functions allocated to this connection. This value will be null. integer read only RequestedVFs string `json:"requestedVFs,omitempty"` // requestedVFs This value can be "Auto" or 0. string }
Connectionv200 server profile object for ov
type CreateIpv4Range ¶ added in v1.5.0
type CreateIpv4Range struct { Name string `json:"name,omitempty"` StartStopFragments []StartStopFragments `json:"startStopFragments,omitempty"` SubnetUri utils.Nstring `json:"subnetUri,omitempty"` Type string `json:"type,omitempty"` }
type Credentials ¶ added in v1.0.0
type CrossBar ¶ added in v1.0.0
type CrossBar struct { BayNumber int `json:"bayNumber,omitempty"` // "bayNumber": 1, HwVersion string `json:"hwVersion,omitempty"` // "hwVersion": "", Manufacturer string `json:"manufacturer,omitempty"` // "manufacturer": "" PartNumber string `json:"partNumber,omitempty"` // "partNumber": "" Presence string `json:"presence,omitempty"` // "presence": "" SerialNumber string `json:"serialNumber,omitempty"` // "serialNumber": "", Status string `json:"status,omitempty"` // "status": "" }
type CustomServicePack ¶
type DcbxConfigurations ¶
type DcbxConfigurations struct { ApplicationProtocol string `json:"applicationProtocol,omitempty"` // "applicationProtocol":, DcbxEtsPorts []DcbxEtsPort `json:"dcbxEtsPorts,omitempty"` // "dcbxEtsPorts": {...}, DefaultMaximumBandwidth string `json:"defaultMaximumBandwidth,omitempty"` // "defaultMaximumBandwidth": "", DefaultMinimumBandwidth string `json:"defaultMinimumBandwidth,omitempty"` // "defaultMinimumBandwidth": "", PriorityCodePoint string `json:"priorityCodePoint,omitempty"` // "PriorityCodePoint": "", PriorityFlowControl string `json:"priorityFlowControl,omitempty"` // "PriorityFlowControl": "", }
type DcbxEtsPort ¶
type DcbxEtsPort struct { BayNumber string `json:"bayNumber,omitempty"` // "bayNumber": "1", EnclosureIndex int `json:"enclosureIndex,omitempty"` // "enclosureIndex": 1, IcmName string `json:"icmName,omitempty"` // "icmName": "", MaxBandwidth string `json:"maxBandwidth,omitempty"` // "maxBandwidth": "", MinBandwidth string `json:"minBandwidth,omitempty"` // "minBandwidth": "", PortName string `json:"portName,omitempty"` // "portName": "", }
type DcbxInfo ¶ added in v1.0.0
type DcbxInfo struct { DcbxApReason string `json:"dcbxApReason,omitempty"` // "dcbxApReason": "Disabled", DcbxPfcReason string `json:"dcbxPfcReason,omitempty"` // "dcbxPfcReason": "Disabled", DcbxPgReason string `json:"dcbxPgReason,omitempty"` // "dcbxPgReason": "Disabled", DcbxStatus string `json:"dcbxStatus,omitempty"` // "dcbxStatus": "NotApplicable", }
type DcbxOverride ¶
type DepClusterAffected ¶ added in v1.6.0
type DepClusterAffected struct { ApplianceUri utils.Nstring `json:"applianceUri,omitempty"` // "applianceUri": null, DeploymentClusterName string `json:"deploymentClusterName,omitempty"` // "deploymentClusterName": null, PrimaryClusterName string `json:"primaryClusterName,omitempty"` // "primaryClusterName": null, ServerIP utils.Nstring `json:"serverIP,omitempty"` // "serverIP": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": null, }
type Dependency ¶ added in v1.1.0
type Dependency struct {
Type string `json:"type,omitempty"` // "type": "Map"
}
type DeploymentManagerSettings ¶ added in v1.0.0
type DeploymentManagerSettings struct { DeploymentClusterUri utils.Nstring `json:"deploymentClusterUri,omitempty"` //"deploymentClusterUri":"" OsDeploymentSettings *LeOsDeploymentSettings `json:"osDeploymentSettings,omitempty"` //"OsdeploymentSettings":"" }
type DeploymentModeSetting ¶ added in v1.0.0
type DeploymentModeSettings ¶ added in v1.0.0
type DeviceBayMap ¶ added in v1.0.0
type DeviceBayMap struct { AvailableForFullHeightProfile bool `json:"availableForFullHeightProfile"` // "availableForFullHeightProfile": false, AvailableForFullHeightDoubleWideProfile bool `json:"availableForHalfHeightDoubleWideProfile"` // "availableForHalfHeightDoubleWideProfile": true, AvailableForHalfHeightProfile bool `json:"availableForHalfHeightProfile"` // "availableForHalfHeightProfile": true, AvailableForHalfHeightDoubleWideProfile bool `json:"availableForHalfHeightDoubleWideProfile"` // "availableForHalfHeightDoubleWideProfile": true, BayNumber int `json:"bayNumber"` // "bayNumber": 1, BayPowerState string `json:"bayPowerState,omitempty"` // "bayPowerState": "Unknown", Category string `json:"category,omitempty"` // "category": "device-bays", ChangeState string `json:"changeState,omitempty"` // "changeState": "None", CoveredByDevice utils.Nstring `json:"coveredByDevice,omitempty"` // "coveredByDevice": "/rest/server-hardware/30373237-3132-4D32-3236-303730344E54", CoveredByProfile string `json:"coveredByProfile,omitempty"` // "coveredByProfile": null, Created string `json:"created,omitempty"` // "created": null, DeviceFormFactor string `json:"deviceFormFactor,omitempty"` // "deviceFormFactor": "SingleHeightSingleWide", DevicePresence string `json:"devicePresence,omitempty"` // "devicePresence": "Present", DeviceUri utils.Nstring `json:"deviceUri,omitempty"` // "deviceUri": "/rest/server-hardware/30373237-3132-4D32-3236-303730344E54", EnclosureUri utils.Nstring `json:"enclosureUri,omitempty"` // "enclosureUri": null, ETAG string `json:"eTag,omitempty"` // "eTag": null, Ipv4Setting Ipv4Setting `json:"ipv4Setting,omitempty"` // "ipv4Setting": {}, Model string `json:"model,omitempty"` // "model": null, Modified string `json:"modified,omitempty"` // "modified": null, PowerAllocationWatts int `json:"powerAllocationWatts,omitempty"` // "powerAllocationWatts": 1, ProfileUri utils.Nstring `json:"profileUri,omitempty"` // "profileUri": null, SerialConsole bool `json:"serialConsole,omitempty"` // "serialConsole": true, SerialNumber string `json:"serialNumber,omitempty"` // "serialNumber": "", Type string `json:"type,omitempty"` // "type": "DeviceBay", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/enclosures/09USE62519EE/device-bays/1" }
type DeviceSlotsv200 ¶
type DeviceSlotsv200 struct { DeviceName string `json:"deviceName,omitempty"` // deviceName The name or model of the adapter. string read only DeviceNumber int `json:"deviceNumber,omitempty"` // deviceNumber The device number of a blade server in an enclosure. integer read only Location string `json:"location,omitempty"` // location The location of the adapter in the server. Lom indicates LAN on motherboard, Flb is for FlexibleLOM for blades and Mezz is for Mezzanine adapters. PhysicalPorts []PhysicalPortv200 `json:"physicalPorts,omitempty"` // physicalPorts // SlotNumber int `json:"slotNumber,omitempty"` // slotNumber The slot number of the adapter on the server hardware within its specified location. integer read only }
DeviceSlotsv200 -
type DeviceSpecificAttributes ¶ added in v1.0.0
type DeviceSpecificAttributes struct { ApplicationCategory string `json:"applicationCategory,omitempty"` BlockSize int `json:"blockSize,omitempty"` DataTransferLimit int `json:"dataTransferLimit,omitempty"` FolderId string `json:"folderId,omitempty"` FolderName string `json:"folderName,omitempty"` IopsLimit int `json:"iopsLimit,omitempty"` IsDeduplicated bool `json:"isDeduplicated,omitempty"` IsEncrypted bool `json:"isEncrypted,omitempty"` IsPinned bool `json:"isPinned,omitempty"` PreviouslyDeduplicated bool `json:"previouslyDeduplicated,omitempty"` IsCompressed bool `json:"isCompressed,omitempty"` Transport string `json:"transport,omitempty"` Iqn string `json:"iqn,omitempty"` NumberOfReplicas int `json:"numberOfReplicas,omitempty"` DataProtectionLevel string `json:"dataProtectionLevel,omitempty"` Id string `json:"id,omitempty"` Uri utils.Nstring `json:"uri,omitempty"` CopyState string `json:"copyState,omitempty"` SnapshotPoolUri utils.Nstring `json:"snapshotPoolUri,omitempty"` IsAdaptiveOptimizationEnabled bool `json:"isAdaptiveOptimizationEnabled,omitempty"` }
type DeviceSpecificAttributesStoragePool ¶ added in v1.1.0
type DeviceSpecificAttributesStoragePool struct { DeviceID string `json:"deviceId,omitempty"` Folders []Folders `json:"folders,omitempty"` IsDeduplicationCapable bool `json:"isDeduplicationCapable,omitempty"` AllocatedCapacity *AllocatedCapacity `json:"allocatedCapacity,omitempty"` CapacityLimit string `json:"capacityLimit,omitempty"` CapacityWarningLimit string `json:"capacityWarningLimit,omitempty"` DeviceSpeed string `json:"deviceSpeed,omitempty"` Domain string `json:"domain,omitempty"` SupportedRaidLevel string `json:"supportedRaidLevel,omitempty"` Uuid string `json:"uuid,omitempty"` VolumeCreationSpace []VolumeCreationSpace `json:"volumeCreationSpace,omitempty"` }
type Directory ¶
type Directory struct { DirectoryAuthentication string `json:"-"` DirectoryGenericLDAP *bool `json:"-"` DirectoryServerAddress string `json:"-"` DirectoryServerPort int `json:"-"` DirectoryServerCertificate string `json:"-"` DirectoryUserContext []string `json:"-"` IloObjectDistinguishedName string `json:"-"` Password string `json:"-"` KerberosAuthentication *bool `json:"-"` KerberosRealm string `json:"-"` KerberosKDCServerAddress string `json:"-"` KerberosKDCServerPort int `json:"-"` KerberosKeytab string `json:"-"` }
type DirectoryGroups ¶
type DownlinkPortCapability ¶
type DownlinkPortCapability struct { Category utils.Nstring `json:"category,omitempty"` // "category": null, Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description string `json:"description,omitempty"` // "description": "Downlink Port Capability", DownlinkSubPorts map[string]interface{} `json:"downlinkSubPorts,omitempty"` // "downlinkSubPorts": null, ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", MaxBandwidthInGbps int `json:"maxBandwidthInGbps,omitempty"` // "maxBandwidthInGbps": 10, Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name utils.Nstring `json:"name,omitempty"` // "name": null, PortCapabilities []string `json:"portCapabilities,omitempty"` //"portCapabilites": ["ConnectionReservation","FibreChannel","ConnectionDeployment"], State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", TotalSubPort int `json:"totalSubPort,omitempty"` // "totalSubPort": 1, Type string `json:"type,omitempty"` // "type": "downlink-port-capability", URI utils.Nstring `json:"uri,omitempty"` // "uri": "null" }
type EmailFilterList ¶ added in v1.5.0
type EmailNotificationList ¶ added in v1.5.0
type EmailNotificationList struct { AlertEmailDisabled bool `json:"alertEmailDisabled,omitempty"` AlertEmailFilters []utils.Nstring `json:"alertEmailFilters,omitempty"` Category string `json:"category,omitempty"` URI utils.Nstring `json:"uri,omitempty"` ETAG string `json:"eTag,omitempty"` Modified string `json:"modified,omitempty"` Created string `json:"created,omitempty"` Type string `json:"type,omitempty"` Password utils.Nstring `json:"password,omitempty"` SenderEmailAddress utils.Nstring `json:"senderEmailAddress,omitempty"` SmtpPort int `json:"smtpPort,omitempty"` SmtpServer utils.Nstring `json:"smtpServer,omitempty"` SmtpProtocol string `json:"smtpProtocol,omitempty"` }
type Enclosure ¶ added in v1.0.0
type Enclosure struct { ActiveOaPreferredIP string `json:"activeOaPreferredIP,omitempty"` // "activeOaPreferredIP": "16.124.135.110", ApplianceBayCount int `json:"applianceBayCount,omitempty"` // "applianceBayCount": 16, ApplianceBays []ApplianceBay `json:"applianceBays,omitempty"` // "applianceBays": [], AssetTag string `json:"assetTag,omitempty"` // "assetTag": "", Category string `json:"category,omitempty"` // "category": "enclosures", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", CrossBars []CrossBar `json:"crossBars,omitempty"` // "crossBars": {}, Description utils.Nstring `json:"description,omitempty"` // "description": "Enclosure Group 1", DeviceBayCount int `json:"deviceBayCount,omitempty"` // "deviceBayCount": 16, DeviceBays []DeviceBayMap `json:"deviceBays,omitempty` // "deviceBays": [], DeviceBayWatts int `json:"deviceBayWatts,omitempty"` // "deviceBayWatts": 16, ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", EmBays int `json:"emBays,omitempty"` // "emBays": 16, EnclosureGroupUri utils.Nstring `json:"enclosureGroupUri,omitempty"` // "enclosureGroupUri": "/rest/enclosure-groups/293e8efe-c6b1-4783-bf88-2d35a8e49071", EnclosureModel string `json:"enclosureModel,omitempty"` // "enclosureModel": "Enclosure Group 1", EnclosureType string `json:"enclosureType,omitempty"` // "enclosureType": "BladeSystem c7000 Enclosure", EnclosureTypeUri utils.Nstring `json:"enclosureTypeUriomitempty"` // "enclosureTypeUri": "/rest/enclosure-groups/293e8efe-c6b1-4783-bf88-2d35a8e49071", FanBayCount int `json:"fanBayCount,omitempty"` // "fanBayCount": 16, FanBays []FanBay `json:"fanBays,omitempty` // "fanBays": [], FanAndManagementDevicesWatts int `json:"fanAndManagementDevicesWatts,omitempty"` // "fanAndManagementDevicesWatts": 16, ForceInstallFirmware bool `json:"forceInstallFirmware,omitempty"` // "forceInstallFirmware": true FrameLinkModuleDomain string `json:"frameLinkModuleDomain,omitempty"` // "frameLinkModuleDomain": "", FwBaselineName string `json:"fwBaselineName,omitempty"` // "fwBaselineName": null, FwBaselineUri utils.Nstring `json:"fwBaselineUri,omitempty"` // "fwBaselineUri": null, InterconnectBayCount int `json:"interconnectBayCount,omitempty"` // "interconnectBayCount": 8, InterconnectBays []InterconnectBay `json:"interconnectBays"` // "interconnectBays": [], InterconnectBayWatts int `json:"interconnectBayWatts,omitempty"` // "interconnectBayWatts": 8, IsFwManaged bool `json:"isFwManaged"` // "isFwManaged": false, LicensingIntent string `json:"licensingIntent,omitempty"` // "licensingIntent": "OneView", LogicalEnclosureUri utils.Nstring `json:"logicalEnclosureUri,omitempty"` // "logicalEnclosureUri": null, ManagerBays []ManagerBay `json:"managerBays,omitempty"` // "managerBays": [], MinimumPowerSupplies int `json:"minimumPowerSupplies,omitempty"` // "minimumPowerSupplies": 8, MinimumPowerSuppliesForRedundantPowerFeed int `json:"minimumPowerSuppliesForRedundantPowerFeed,omitempty"` // "minimumPowerSuppliesForRedundantPowerFeed": 8, Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "e10", OaBays int `json:"oaBays,omitempty"` // "oaBays": 2, PartNumber string `json:"partNumber,omitempty"` // "partNumber": "403320-B21", Partitions []Partition `json:"partitions,omitempty"` // "partitions": [], PowerAllocatedWatts int `json:"powerAllocatedWatts,omitempty"` // "powerAllocatedWatts": "" PowerAvailableWatts int `json:"powerCapacityWatts,omitempty"` // "powerCapacityBoostWatts": "" PowerCapacityBoostWatts int `json:"powerCapacityBoostWatts,omitempty"` // "powerCapacityBoostWatts": "" PowerMode string `json:"powerMode,omitempty"` // "powerMode": "" PowerSupplyBayCount int `json:"powerSupplyBayCount,omitempty"` // "powerSupplyBayCount": 1 PowerSupplyBays []PowerSupplyBay `json:"powerSupplyBay,omitempty"` // "powerSupplyBay": "" RackName string `json:"rackName,omitempty"` // "rackName": "Rack-Renamed", ReconfigurationState string `json:"reconfigurationState,omitempty"` // "reconfigurationState": "Pending" RefreshState string `json:"refreshState,omitempty"` // "refreshState": "NotRefreshing", RemoteSupportSettings RemoteSupportSettings `json:"remoteSupportSettings,omitempty"` // "remoteSupportSettings": {}, RemoteSupportUri utils.Nstring `json:"remoteSupportUri,omitempty"` // "remoteSupportUri": "/rest/support/resources/enclosures/09USE62519EE", ScopesUri utils.Nstring `json:"scopesUri,omitempty"` // "scopesUri": "/rest/scopes/resources/rest/server-profiles/DB7726F7-F601-4EA8-B4A6-D1EE1B32C07C", SerialNumber string `json:"serialNumber,omitempty"` // "serialNumber": "USE62519EE", StandbyOaPreferredIP string `json:"standbyOaPreferredIP,omitempty"` // "standbyOaPreferredIP": "", State string `json:"state,omitempty"` // "state": "Configured", StateReason string `json:"stateReason"` // "stateReason": "None", Status string `json:"status,omitempty"` // "status": "Critical", SupportDataCollectionState string `json:"supportDataCollectionState,omitempty"` // "supportDataCollectionState": "PendingEnable", SupportDataCollectionType string `json:"supportDataCollectionType,omitempty"` // "supportDataCollectionType": "", SupportDataCollectionUri utils.Nstring `json:"supportDataCollectionUri,omitempty"` // "supportDataCollectionUri": "/rest/support/data-collections", SupportState string `json:"supportState,omitempty"` // "supportState": "PendingEnable", Type string `json:"type,omitempty"` // "type": "Enclosure", UIDState string `json:"uidState,omitempty"` // "uidState": "Blink", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/enclosures/09USE62519EE", UUID string `json:"uuid,omitempty"` // "uuid": "09USE62519EE", VcmDomainId string `json:"vcmDomainId,omitempty"` // "vcmDomainId": "@914ae756bdbce70cf7cbce65d34a23", VcmDomainName string `json:"vcmDomainName,omitempty"` // "vcmDomainName": "OneViewDomain", VcmMode bool `json:"vcmMode,omitempty"` // "vcmMode": true, VcmUrl string `json:"vcmUrl,omitempty"` // "vcmUrl": "https://16.124.128.80" }
type EnclosureCreateMap ¶ added in v1.0.0
type EnclosureCreateMap struct { EnclosureGroupUri utils.Nstring `json:"enclosureGroupUri"` Hostname string `json:"hostname"` Username string `json:"username"` Password string `json:"password"` LicensingIntent string `json:"licensingIntent"` ForceInstallFirmware bool `json:"forceInstallFirmware,omitempty"` FirmwareBaselineUri string `json:"firmwareBaselineUri,omitempty"` Force bool `json:"force,omitempty"` InitialScopeUris []utils.Nstring `json:"initialScopeUris"` UpdateFirmwareOn string `json:"updateFirmwareOn,omitempty"` }
type EnclosureGroup ¶ added in v0.8.1
type EnclosureGroup struct { AmbientTemperatureMode string `json:"ambientTemperatureMode,omitempty"` // "ambientTemperatureMode": "Standard" AssociatedLogicalInterconnectGroups []string `json:"associatedInterconnectGroups,omitempty"` // "associatedInterconnectGorups": [], Category string `json:"category,omitempty"` // "category": "enclosure-groups", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "Enclosure Group 1", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", EnclosureCount int `json:"enclosureCount,omitempty"` // "enclosureCount": 1, EnclosureTypeUri utils.Nstring `json:"enclosureTypeUri,omitempty"` // "enclosureTypeUri": "/rest/enclosures/e2f0031b-52bd-4223-9ac1-d91cb5219d548" InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` // "initialScopeUris":[] InterconnectBayMappingCount int `json:"interconnectBayMappingCount,omitempty"` // "interconnectBayMappingCount": 8, InterconnectBayMappings []InterconnectBayMap `json:"interconnectBayMappings"` // "interconnectBayMappings": [], IpAddressingMode string `json:"ipAddressingMode,omitempty"` // "ipAddressingMode": "DHCP" IpRangeUris []utils.Nstring `json:"ipRangeUris,omitempty"` Ipv6AddressingMode string `json:"ipv6AddressingMode,omitempty"` // "ipAddressingMode": "DHCP" Ipv6RangeUris []utils.Nstring `json:"ipv6RangeUris,omitempty"` Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "Enclosure Group 1", OsDeploymentSettings *OsDeploymentSetting `json:"osDeploymentSettings,omitempty"` // "osDeploymentSetting": {}, PortMappingCount int `json:"portMappingCount,omitempty"` // "portMappingCount": 1, PortMappings []PortMap `json:"portMappings,omitempty"` // "portMappings": [], PowerMode string `json:"powerMode,omitempty"` // "powerMode": RedundantPowerFeed, ScopesUri utils.Nstring `json:"scopesUri,omitempty"` // "ScopesUri": "/rest/scopes/resources/rest/enclosure-groups/2b322628-e5a9-4843-b184-08345e7140c3", StackingMode string `json:"stackingMode,omitempty"` // "stackingMode": "Enclosure" State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "EnclosureGroupV200", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/enclosure-groups/e2f0031b-52bd-4223-9ac1-d91cb519d548" }
type EnclosureGroupList ¶ added in v0.8.1
type EnclosureGroupList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []EnclosureGroup `json:"members,omitempty"` // "members":[] }
type EnclosureList ¶ added in v1.0.0
type EnclosureList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/enclosures?sort=name:asc" Members []Enclosure `json:"members,omitempty"` // "members":[] }
type EnclosurePatchMap ¶ added in v1.0.0
type Enclosures ¶ added in v1.0.0
type Enclosures struct { EnclosureUri utils.Nstring `json:"enclosureUri,omitempty"` //"enclosureUri":"", InterconnectBays []InterconnectBays `json:"interconnectBays,omitempty"` //"interconnectBays":"[]", }
type EthernetNetwork ¶
type EthernetNetwork struct { Category string `json:"category,omitempty"` // "category": "ethernet-networks", ConnectionTemplateUri utils.Nstring `json:"connectionTemplateUri,omitempty"` // "connectionTemplateUri": "/rest/connection-templates/7769cae0-b680-435b-9b87-9b864c81657f", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "Ethernet network 1", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", EthernetNetworkType string `json:"ethernetNetworkType,omitempty"` // "ethernetNetworkType": "Tagged", FabricUri utils.Nstring `json:"fabricUri,omitempty"` // "fabricUri": "/rest/fabrics/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "Ethernet Network 1", PrivateNetwork bool `json:"privateNetwork"` // "privateNetwork": false, Purpose string `json:"purpose,omitempty"` // "purpose": "General", SmartLink bool `json:"smartLink"` // "smartLink": false, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", SubnetUri utils.Nstring `json:"subnetUri,omitempty"` // "subnetUri": "", Type string `json:"type,omitempty"` // "type": "ethernet-networkV3", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/ethernet-networks/e2f0031b-52bd-4223-9ac1-d91cb519d548" VlanId int `json:"vlanId,omitempty"` // "vlanId": 1, ScopesUri utils.Nstring `json:"scopesUri,omitempty"` // "scopesUri": InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` // "initialScopUris": }
type EthernetNetworkList ¶
type EthernetNetworkList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/ethernet-networks?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []EthernetNetwork `json:"members,omitempty"` // "members":[] }
type EthernetSettings ¶
type EthernetSettings struct { Category utils.Nstring `json:"category,omitempty"` // "category": null, ConsistencyChecking string `json:"consistencyChecking,omitempty"` // "consistencyChecking":"ExactMatch" Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", DependentResourceUri utils.Nstring `json:"dependentResourceUri,omitempty"` // "dependentResourceUri": "/rest/logical-interconnect-groups/b7b144e9-1f5e-4d52-8534-2e39280f9e86", Description utils.Nstring `json:"description,omitempty"` // "description": "Ethernet Settings", DomainName *string `json:"domainName,omitempty" ` // "domainName": "ADHS", ETAG utils.Nstring `json:"eTag,omitempty"` // "eTag": "1441036118675/8", EnableCutThrough *bool `json:"enableCutThrough,omitempty"` // "enableCutThrough": false, EnableDdns *bool `json:"enableDdns,omitempty"` // "enableCutThrough": false, EnableFastMacCacheFailover *bool `json:"enableFastMacCacheFailover,omitempty"` // "enableFastMacCacheFailover": false, EnableInterconnectUtilizationAlert *bool `json:"enableInterconnectUtilizationAlert,omitempty"` // "enableInterconnectUtilizationAlert": false, EnableNetworkLoopProtection *bool `json:"enableNetworkLoopProtection,omitempty"` // "enableNetworkLoopProtection": false, EnablePauseFloodProtection *bool `json:"enablePauseFloodProtection,omitempty"` // "enablePauseFloodProtection": false, EnableRichTLV *bool `json:"enableRichTLV,omitempty"` // "enableRichTLV": false, EnableStormControl *bool `json:"enableStormControl,omitempty"` // "enableStormControl": false, EnableTaggedLldp *bool `json:"enableTaggedLldp,omitempty"` // "enableTaggedLldp": false, ID string `json:"id,omitempty"` // "id": "0c398238-2d35-48eb-9eb5-7560d59f94b3", InterconnectType string `json:"interconnectType,omitempty"` // "interconnectType": "Ethernet", LldpIpAddressMode string `json:"lldpIpAddressMode,omitempty"` // "lldpIpAddressMode": "IPV4", LldpIpv4Address string `json:"lldpIpv4Address,omitempty"` // "lldpIpv4Address": "", LldpIpv6Address string `json:"lldpIpv6Address,omitempty"` // "lldpIpv6Address": "", MacRefreshInterval int `json:"macRefreshInterval,omitempty"` // "macRefreshInterval": 5, Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "ethernetSettings 1", State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", StormControlPollingInterval int `json:"stormControlPollingInterval,omitempty"` // "stormControlPollingInterval": 10, StormControlThreshold int `json:"stormControlThreshold,,omitempty"` // "stormControlThreshold": 0, Type string `json:"type,omitempty"` // "type": "EthernetInterconnectSettingsV5", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/logical-interconnect-groups/b7b144e9-1f5e-4d52-8534-2e39280f9e86/ethernetSettings" }
type ExpectedNeighbor ¶ added in v1.0.0
type ExtentedProperty ¶ added in v1.0.0
type ExtraAttributes ¶ added in v1.0.0
type ExtraAttributes struct {
Type string `json:"type,omitempty"`
}
type FCNetwork ¶ added in v0.8.1
type FCNetwork struct { Type string `json:"type,omitempty"` FabricType string `json:"fabricType,omitempty"` FabricUri utils.Nstring `json:"fabricUri,omitempty"` ConnectionTemplateUri utils.Nstring `json:"connectionTemplateUri,omitempty"` ManagedSanURI utils.Nstring `json:"managedSanUri,omitempty"` LinkStabilityTime int `json:"linkStabilityTime"` AutoLoginRedistribution bool `json:"autoLoginRedistribution"` Description utils.Nstring `json:"description,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` Category string `json:"category,omitempty"` URI utils.Nstring `json:"uri,omitempty"` ETAG string `json:"eTag,omitempty"` Modified string `json:"modified,omitempty"` Created string `json:"created,omitempty"` ScopesUri utils.Nstring `json:"scopesUri,omitempty"` InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` // "initialScopeUris":[] }
type FCNetworkBulkDelete ¶ added in v1.5.0
type FCNetworkList ¶ added in v0.8.1
type FCNetworkList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []FCNetwork `json:"members,omitempty"` // "members":[] }
type FCoENetwork ¶
type FCoENetwork struct { Type string `json:"type,omitempty"` VlanId int `json:"vlanId,omitempty"` ConnectionTemplateUri utils.Nstring `json:"connectionTemplateUri,omitempty"` ManagedSanUri utils.Nstring `json:"managedSanUri,omitempty"` FabricUri utils.Nstring `json:"fabricUri,omitempty"` Description utils.Nstring `json:"description,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` ETAG string `json:"eTag,omitempty"` Modified string `json:"modified,omitempty"` Created string `json:"created,omitempty"` Category string `json:"category,omitempty"` URI utils.Nstring `json:"uri,omitempty"` ScopesUri utils.Nstring `json:"scopesUri,omitempty"` InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` // "initialScopeUris":[] }
type FCoENetworkBulkDelete ¶ added in v1.5.0
type FCoENetworkList ¶
type FCoENetworkList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []FCoENetwork `json:"members,omitempty"` // "members":[] }
type FWComponents ¶
type FanBay ¶ added in v1.0.0
type FanBay struct { BayNumber int `json:"bayNumber,omitempty"` // "bayNumber": 1, ChangeState string `json:"changeState,omitempty"` // "changeState": "None", DevicePresence string `json:"devicePresence,omitempty"` // "devicePresence": "Present", DeviceRequired bool `json:"deviceRequired,omitempty"` // "deviceRequired": false, Model string `json:"model,omitempty"` // "model": null, PartNumber string `json:"partNumber,omitempty"` // "partNumber": "" SerialNumber string `json:"serialNumber,omitempty"` // "serialNumber": "", SparePartNumber string `json:"sparePartNumber,omitempty"` // "sparePartNumber": "" State string `json:"state,omitempty"` // "state": null Status string `json:"status,omitempty"` // "status": "" }
type FcPortProperties ¶ added in v1.0.0
type FcPortProperties struct { FcfMac string `json:"fcfMac,omitempty"` // "fcfMac": "", Logins string `json:"logins,omitempty"` // "logins": "", LoginsCount int `json:"loginsCount,omitempty"` // "loginsCount": 0, NeighborInterconnectName string `json:"neighborInterconnectName,omitempty"` // "neighborInterconnectName": "", OpOnline bool `json:"opOnline,omitempty"` // "opOnline": false, OpOnlineReason string `json:"opOnlineReason,omitempty"` // "opOnlineReason": "", PrincipleInterconnectName string `json:"principleInterconnectName,omitempty"` // "principleInterconnectName": "", PrincipleInterconnectNameList []string `json:"principleInterconnectNameList,omitempty"` // "principleInterconnectNameList": [], TrunkMaster string `json:"trunkMaster,omitempty"` // "trunkMaster": "", WWNN string `json:"wwnn,omitempty"` // "wwnn": "", WWPN string `json:"wwpn,omitempty"` // "wwpn": "", }
type Firmware ¶ added in v1.0.0
type Firmware struct { Command string `json:"command"` //command": "Update", FwBaseline string `json:"fwBaseline,omitempty"` //"fwBaseline": "1.16", SppUri utils.Nstring `json:"sppUri"` //"sppUri": "/rest/firmware-drivers/SPP_2018_06_20180709_for_HPE_Synergy_Z7550-96524", SppName string `json:"sppName,omitempty"` //"sppName": "HPE Synergy Custom SPP 2018 06 19 2018 07 09 2018.07.09.00", Interconnects []FirmwareInterconnect `json:"interconnects,omitempty"` //"interconnects":[] State string `json:"state,omitempty"` // "state": "Activated", Force bool `json:"force,omitempty"` //"force": false, EthernetActivationType string `json:"ethernetActivationType,omitempty"` //"ethernetActivationType": "None", EthernetActivationDelay int `json:"ethernetActivationDelay,omitempty"` //"ethernetActivationDelay": 0, FcActivationType string `json:"fcActivationType,omitempty"` //"fcActivationType": "None", FcActivationDelay int `json:"fcActivationDelay,omitempty"` //"fcActivationDelay": 0, ValidationType string `json:"validationType,omitempty"` //"validationType": "None", LogicalSwitchId string `json:"logicalSwitchId,omitempty"` //"logicalSwitchId": "d4468f89-4442-4324-9c01-624c7382db2d" }
type FirmwareAndDriversInstallStatev200 ¶
type FirmwareAndDriversInstallStatev200 struct { InstallState string `json:"installState,omitempty"` // installState The installation state information of the firmware and/or OS drivers on the server. InstalledStateTimestamp string `json:"installedStateTimestamp,omitempty"` // The timestamp information indicating the time when the install state value got updated. string }
FirmwareAndDriversInstallStatev200 -
type FirmwareDrivers ¶
type FirmwareDrivers struct { BaselineShortName string `json:"baselineShortName,omitempty"` BundleSize int `json:"bundleSize,omitempty"` BundleType string `json:"bundleType,omitempty"` Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` Description string `json:"description,omitempty"` ETAG string `json:"eTag,omitempty"` EsxiOsDriverMetaData []utils.Nstring `json:"esxiOsDriverMetaData,omitempty"` FwComponents []FWComponents `json:"fwComponents,omitempty"` Hotfixes []HotFixes `json:"hotfixes,omitempty"` HpsumVersion string `json:"hpsumVersion,omitempty"` IsoFileName string `json:"isoFileName,omitempty"` LastTaskUri string `json:"lastTaskUri,omitempty"` Locations map[string]string `json:"locations,omitempty"` Mirrorlist map[string][]string `json:"mirrorlist,omitempty"` Modified string `json:"modified,omitempty"` Name string `json:"name,omitempty"` ParentBundle parentBundle `json:"parentBundle,omitempty"` ReleaseDate string `json:"releaseDate,omitempty"` ResourceId string `json:"resourceId,omitempty"` ResourceState string `json:"resourceState,omitempty"` ScopesUri string `json:"scopesUri,omitempty"` SignatureFileName string `json:"signatureFileName,omitempty"` SignatureFileRequired bool `json:"signatureFileRequired,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` SupportedLanguages string `json:"supportedLanguages,omitempty"` SupportedOSList []utils.Nstring `json:"supportedOSList,omitempty"` SwPackagesFullPath string `json:"swPackagesFullPath,omitempty"` Type string `json:"type,omitempty"` Uri utils.Nstring `json:"uri,omitempty"` Uuid string `json:"uuid,omitempty"` Version string `json:"version,omitempty"` XmlKeyName string `json:"xmlKeyName,omitempty"` }
type FirmwareDriversList ¶
type FirmwareDriversList struct { Category string `json:"category,omitempty"` Count int `json:"count,omitempty"` Created string `json:"created,omitempty"` ETAG string `json:"eTag,omitempty"` Members []FirmwareDrivers `json:"members,omitempty"` Modified string `json:"modified,omitempty"` NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` Start int `json:"start,omitempty"` Total int `json:"total,omitempty"` Type string `json:"type,omitempty"` Uri utils.Nstring `json:"uri,omitempty"` }
type FirmwareInterconnect ¶ added in v1.0.0
type FirmwareInterconnect struct { DesiredFw string `json:"desiredFw,omitempty"` //"desiredFw": "1.16", DeviceType string `json:"deviceType,omitempty"` //"deviceType": "Synergy 20Gb Interconnect Link Module", InstalledFw string `json:"installedFw,omitempty"` //"installedFw": "1.16", InterconnectName string `json:"interconnectName,omitempty"` //"interconnectName": "SYN03_Frame2, interconnect 3", InterconnectUri string `json:"interconnectUri,omitempty"` //"interconnectUri": "/rest/interconnects/394a88fb-b6b0-430a-907f-aed03275b0ef", SppName string `json:"sppName,omitempty"` //"sppName": "HPE Synergy Custom SPP 2018 06 19 2018 07 09 2018.07.09.00", SppURI string `json:"sppUri,omitempty"` //"sppUri": "/rest/firmware-drivers/SPP_2018_06_20180709_for_HPE_Synergy_Z7550-96524", State string `json:"state,omitempty"` //"state": "Active", UpdateFlagDesc string `json:"updateFlagDesc,omitempty"` //"updateFlagDesc": "Interconnect already has same firmware version", }
type FirmwareOption ¶
type FirmwareOption struct { ComplianceControl string `json:"complianceControl,omitempty"` // complianceControl ConsistencyState string `json:"consistencyState,omitempty"` //Consistency state of the firmware component. FirmwareActivationType string `json:"firmwareActivationType,omitempty"` FirmwareBaselineUri utils.Nstring `json:"firmwareBaselineUri,omitempty"` // "firmwareBaselineUri": null, FirmwareInstallType string `json:"firmwareInstallType,omitempty"` // Specifies the way a Service Pack for ProLiant (SPP) is installed. This field is used if the 'manageFirmware' field is true. Possible values are FirmwareScheduleDateTime string `json:"firmwareScheduleDateTime,omitempty"` // Identifies the date and time the Service Pack for Proliant (SPP) will be activated. ForceInstallFirmware bool `json:"forceInstallFirmware"` // "forceInstallFirmware": false, ManageFirmware bool `json:"manageFirmware"` // "manageFirmware": false ReapplyState string `json:"reapplyState,omitempty"` //Current reapply state of the firmware component. }
FirmwareOption structure for firware settings
type FirmwareOptionv200 ¶
type FirmwareOptionv200 struct {
FirmwareInstallType string `json:"firmwareInstallType,omitempty"` // Specifies the way a Service Pack for ProLiant (SPP) is installed. This field is used if the 'manageFirmware' field is true. Possible values are
}
firmware additional properties introduced in 200 "FirmwareOnly" - Updates the firmware without powering down the server hardware using using HP Smart Update Tools. "FirmwareAndOSDrivers" - Updates the firmware and OS drivers without powering down the server hardware using HP Smart Update Tools. "FirmwareOnlyOfflineMode" - Manages the firmware through HP OneView. Selecting this option requires the server hardware to be powered down.
type ForceFlag ¶
type ForceFlag int
const ( // ForceIgnoreSANWarnings When provided, the operation will ignore warnings for non-critical issues detected in the SAN storage configuration. ForceIgnoreSANWarnings ForceFlag = iota // ForceIgnoreServerHealth When provided, the operation will ignore the check to verify that the selected server's health is OK. ForceIgnoreServerHealth // ForceIgnoreLSWarnings When provided, the operation will ignore the validation warnings from local storage. ForceIgnoreLSWarnings // ForceIgnoreAll When provided, all warnings will be ignored. ForceIgnoreAll // ForceIgnoreNone When provided, none of the warnings will be ignored. ForceIgnoreNone )
type FragmentsList ¶ added in v1.5.0
type FragmentsList struct { Category string `json:"category,omitempty"` Count int `json:"count,omitempty"` ETAG string `json:"eTag,omitempty"` Created string `json:"created,omitempty"` Modified string `json:"modified,omitempty"` Total int `json:"total,omitempty"` Start int `json:"start,omitempty"` PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` URI utils.Nstring `json:"uri,omitempty"` Members []StartStopFragments `json:"members,omitempty"` }
type HardwareState ¶
type HardwareState int
HardwareState
const ( H_UNKNOWN HardwareState = 1 + iota H_ADDING H_NOPROFILE_APPLIED H_MONITORED H_UNMANAGED H_REMOVING H_REMOVE_FAILED H_REMOVED H_APPLYING_PROFILE H_PROFILE_APPLIED H_REMOVING_PROFILE H_PROFILE_ERROR H_UNSUPPORTED H_UPATING_FIRMWARE )
func (HardwareState) Equal ¶
func (h HardwareState) Equal(s string) bool
func (HardwareState) String ¶
func (h HardwareState) String() string
type HideShowList ¶
type HostConfigPolicy ¶ added in v1.3.0
type HostConfigPolicy struct { LeaveHostInMaintenance bool `json:"leaveHostInMaintenance,omitempty"` //"leaveHostInMaintenance":"false" UseHostPrefixAsHostname bool `json:"useHostPrefixAsHostname,omitempty"` //"useHostPrefixAsHostname":"false" UseHostnameToRegister bool `json:"useHostnameToRegister,omitempty"` //"useHostnameToRegister":"false" }
type HpSmartUpdateToolStatusv200 ¶
type HpSmartUpdateToolStatusv200 struct { HPSUTInstallState string `json:"hpSUTInstallState,omitempty"` // hpSUTInstallState HpSUT Install State Enum InstallState string `json:"installState,omitempty"` // installState HP Smart Update Tool's installed state on the server indicating whether it is installed, not installed or unknown. LastOperationTime string `json:"lastOperationTime,omitempty"` // lastOperationTime The timestamp indicating when HP Smart Update Tool was active or running a firmware update operation. string Mode string `json:"mode,omitempty"` // mode The current run mode configured for HP Smart Update Tool installed on the server. string ServiceState string `json:"serviceState,omitempty"` // serviceState The state of the HP Smart Update Tool Service running on the server operating system. string Version string `json:"version,omitempty"` // version The current version of the HP Smart Update Tool installed on the server. string }
type HypervisorClusterProfile ¶ added in v1.3.0
type HypervisorClusterProfile struct { AddHostRequests []string `json:"addHostRequests,omitempty"` //"addHostRequests":"[]" Category string `json:"category,omitempty"` //"category":"hypervisor-cluster-profiles" ComplianceState string `json:"complianceState,omitempty"` //"complianceState":"Consistent" Created string `json:"created,omitempty"` //"created":"2020-04-13T16:28:44.234Z" Description utils.Nstring `json:"description,omitempty"` //"description":"" ETag string `json:"eTag,omitempty"` //"eTag":"1586795326281/1586795326281" HypervisorClusterSettings *HypervisorClusterSettings `json:"hypervisorClusterSettings,omitempty"` //"hypervisorClusterSettings":"" HypervisorClusterUri string `json:"hypervisorClusterUri,omitempty"` //"hypervisorClusterUri":"/rest/hypervisor-clusters/a2c4c63e-f96e-4dc1-976d-12a677ba5306" HypervisorHostProfileTemplate *HypervisorHostProfileTemplate `json:"hypervisorHostProfileTemplate,omitempty"` //"hypervisorHostProfileTemplate":"" HypervisorHostProfileUris utils.Nstring `json:"hypervisorHostProfileUris,omitempty"` //"hypervisorHostProfileUris":"null" HypervisorManagerUri utils.Nstring `json:"hypervisorManagerUri,omitempty"` //"hypervisorManagerUri":"/rest/hypervisor-managers/1ded903a-ac66-41cf-ba57-1b9ded9359b6" HypervisorType string `json:"hypervisorType,omitempty"` //"hypervisorType":"Vmware" IpPools []utils.Nstring `json:"ipPools,omitempty"` //"ipPools":"[]" MgmtIpSettingsOverride string `json:"mgmtIpSettingsOverride,omitempty"` //"mgmtIpSettingsOverride":"null" Modified string `json:"modified,omitempty"` //"modified":"2020-04-13T16:28:46.281Z" Name string `json:"name,omitempty"` //"name":"HCP Path string `json:"path,omitempty"` //"path":"DC1" RefreshState string `json:"refreshState,omitempty"` //"refreshState":"NotRefreshing" ScopesUri string `json:"scopesUri,omitempty"` //"scopesUri":"/rest/scopes/resources/rest/hypervisor-cluster-profiles/4340293c-0701-4773" State string `json:"state,omitempty"` //"state":"Active" StateReason string `json:"stateReason,omitempty"` //"stateReason":"None" Status string `json:"status,omitempty"` //"status":"OK" Type string `json:"type,omitempty"` //"type":"HypervisorClusterProfileV4" URI utils.Nstring `json:"uri,omitempty"` //"uri":"/rest/hypervisor-cluster-profiles/4340293c-0701-4773-b863-32854b0f7d29" }
type HypervisorClusterProfileCompliancePreview ¶ added in v1.3.0
type HypervisorClusterProfileCompliancePreview struct { ClusterComplianceDetails *ClusterComplianceDetails `json:"clusterComplianceDetails,omitempty"` //"ClusterComplianceDetails":" " HypervisorHostProfileComplianceDetails []HypervisorHostProfileComplianceDetails `json:"hypervisorHostProfileComplianceDetails,omitempty"` //"hypervisorHostProfileComplianceDetails":"" }
type HypervisorClusterProfileList ¶ added in v1.3.0
type HypervisorClusterProfileList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/interconnects?start=2&count=2", Members []HypervisorClusterProfile `json:"members,omitempty"` // "members":[] }
type HypervisorClusterSettings ¶ added in v1.3.0
type HypervisorClusterSettings struct { DistributedSwitchUsage string `json:"distributedSwitchUsage,omitempty"` //"distributedSwitchUsage":"null" DistributedSwitchVersion string `json:"distributedSwitchVersion,omitempty"` //"distributedSwitchVersion":"null" DrsEnabled bool `json:"drsEnabled,omitempty"` //"drsEnabled":"true" HaEnabled bool `json:"haEnabled,omitempty"` //"haEnabled":"false" MultiNicVMotion bool `json:"multiNicVMotion"` //"multiNicVMotion":"false" Type string `json:"type,omitempty"` //"type":"Vmware" VirtualSwitchType string `json:"virtualSwitchType,omitempty"` //"virtualSwitchType":"Standard" }
type HypervisorClusterVolume ¶
type HypervisorHostProfileComplianceDetails ¶ added in v1.3.0
type HypervisorHostProfileComplianceDetails struct { HostProfileName string `json:"hostProfileName,omitempty"` //"hostProfileName":"" HostProfileUri string `json:"hostProfileUri,omitempty"` //"hostProfileUri":"" HypervisorProfileComplianceDetails *HypervisorProfileComplianceDetails `json:"hypervisorProfileComplianceDetails,omitempty"` //"hypervisorProfileComplianceDetail": IsOnlineUpdate bool `json:"isOnlineUpdate,omitempty"` //"isOnlineUpdat":"" ServerProfileComplianceDetails *ServerProfileComplianceDetails `json:"serverProfileComplianceDetails,omitempty"` //"serverProfileComplianceDetail": }
type HypervisorHostProfileTemplate ¶ added in v1.3.0
type HypervisorHostProfileTemplate struct { DataStoreNameSync *bool `json:"dataStoreNameSync,omitempty"` //"dataStoreNameSync" DeploymentManagerType string `json:"deploymentManagerType,omitempty"` //"deploymentManagerType":"UserManaged" HostConfigPolicy *HostConfigPolicy `json:"hostConfigPolicy,omitempty"` //"hostConfigPolicy":"" Hostprefix string `json:"hostprefix,omitempty"` //"hostprefix":"HCP" ServerProfileTemplateUri utils.Nstring `json:"serverProfileTemplateUri,omitempty"` //"serverProfileTemplateUri":"/rest/server-profile-templates/278cadfb-2e86-4a05-8932-972553518259" VirtualSwitchConfigPolicy *VirtualSwitchConfigPolicy `json:"virtualSwitchConfigPolicy,omitempty"` //"virtualSwitchConfigPolicy":"" VirtualSwitches []VirtualSwitches `json:"virtualSwitches,omitempty"` //"virtualSwitches":"" }
type HypervisorManager ¶ added in v1.3.0
type HypervisorManager struct { Category string `json:"category,omitempty"` // "category": "hypervisor-managers", AvailableDvsVersions []utils.Nstring `json:"availableDvsVersions,omitempty"` // "availableDvsVersions": "", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "Hypervisor Manager 1", DisplayName string `json:"displayName,omitempty"` // "displayName": "HypervisorManager1", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", HypervisorType string `json:"hypervisorType,omitempty"` // "hypervisorType": "HyperV","Vmware", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "hostname or IP", Password string `json:"password,omitempty"` // "password": "", Port int `json:"port,omitempty"` // "port": 443, Preferences *Preference `json:"preferences"` // "preferences": HypervisorClusterSettings, RefreshState string `json:"refreshState,omitempty"` // "refreshState": "NotRfreshing", ResourcePaths []ResourcePath `json:"resourcePaths,omitempty"` //"resourcePaths":"" ScopesUri utils.Nstring `json:"scopesUri,omitempty"` // "scopesUri": State string `json:"state,omitempty"` // "state": "Connected", StateReason string `json:"stateReason,omitempty"` // "state": "", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "HypervisorManagerV2", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/hypervisor-managers/e2f0031b-52bd-4223-9ac1-d91cb519d548" UUID utils.Nstring `json:"uuid,omitempty"` // "UUID":"60FB5CB3-FF04-400A-BEC8-E7920CB4193" Username string `json:"username,omitempty"` // "username": "name1", Version string `json:"version,omitempty"` // "version": "" InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` // "initialScopUris": }
type HypervisorManagerConfig ¶
type HypervisorManagerList ¶ added in v1.3.0
type HypervisorManagerList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/hypervisor-managers?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []HypervisorManager `json:"members,omitempty"` // "members":[] }
type HypervisorProfileComplianceDetails ¶ added in v1.3.0
type IcmLicenses ¶ added in v1.0.0
type IcmLicenses struct {
License []License `json:"License"` //"License": [{...}],
}
type IdPool ¶
type IdPool struct { AllocatedCount int `json:"allocatedCount,omitempty"` Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` ETAG utils.Nstring `json:"etag,omitempty"` Enabled *bool `json:"enabled,omitempty"` FreeCount int `json:"freeCount,omitempty"` Modified string `json:"modified,omitempty"` Name string `json:"name,omitempty"` PoolType string `json:"poolType,omitempty"` Prefix string `json:"prefix,omitempty"` RangeUris []string `json:"rangeUris,omitempty"` TotalCount int `json:"totalCount,omitempty"` Type string `json:"type,omitempty"` URI string `json:"uri,omitempty"` }
type IdPoolsIpv4Subnet ¶
type IdPoolsIpv4Subnet struct { Count string `json:"count"` //: "3", Domain string `json:"domain"` //: "example.com", NetworkId string `json:"network_id"` //: "10.1.0.0", EndAddress utils.Nstring `json:"end_address"` //: "10.1.19.61", NewDomain string `json:"newDomain"` //: "awesome.com", StartAddress utils.Nstring `json:"start_address"` //: "10.1.19.56", SubnetName string `json:"subnet_name"` //: "Test IPv4 Subnet", SubnetMask string `json:"subnetmask"` //: "255.255.192.0", Gateway string `json:"gateway"` //: "10.1.0.1", Type string `json:"type"` //: "Subnet", DnsServers []string `json:"dnsServers"` //: [] }
type IdPoolsIpv4SubnetRange ¶
type IdPoolsIpv4SubnetRange struct { Count string `json:"count"` //: "3", Domain string `json:"domain"` //: "example.com", NetworkId string `json:"networkId"` //: "10.1.0.0", EndAddress1 utils.Nstring `json:"end_address1"` //: "10.1.19.61", EndAddress2 utils.Nstring `json:"end_address2"` //: "10.1.19.61", NewDomain string `json:"newDomain"` //: "awesome.com", StartAddress utils.Nstring `json:"start_address"` //: "10.1.19.56", SubnetName string `json:"subnet_name"` //: "Test IPv4 Subnet", SubnetMask string `json:"subnetmask"` //: "255.255.192.0", Gateway string `json:"gateway"` //: "10.1.0.1", Type string `json:"type"` //: "Subnet", DnsServers []string `json:"dnsServers"` //: [] IdList []utils.Nstring `json:"idList"` }
type IgmpSettings ¶ added in v1.5.0
type IgmpSettings struct { Category utils.Nstring `json:"category,omitempty"` // "category": null, ConsistencyChecking string `json:"consistencyChecking,omitempty"` // "consistencyChecking":"ExactMatch" Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", DependentResourceUri string `json:"dependentResourceUri,omitempty"` // "dependentResourceUri": "/rest/logical-interconnect-groups/b7b144e9-1f5e-4d52-8534-2e39280f9e86", Description string `json:"description,omitempty"` // "description": "Igmp Settings", ETAG utils.Nstring `json:"eTag,omitempty"` // "eTag": "1441036118675/8", EnableIgmpSnooping *bool `json:"enableIgmpSnooping,omitempty"` // "enableIgmpSnooping": true, EnablePreventFlooding *bool `json:"enablePreventFlooding,omitempty"` // "enablePreventFlooding": false, EnableProxyReporting *bool `json:"enableProxyReporting,omitempty"` // "enableProxyReporting": false, ID string `json:"id,omitempty"` // "id": "0c398238-2d35-48eb-9eb5-7560d59f94b3", IgmpIdleTimeoutInterval int `json:"igmpIdleTimeoutInterval,omitempty"` // "igmpIdleTimeoutInterval": 260, IgmpSnoopingVlanIds *string `json:"igmpSnoopingVlanIds,omitempty"` // "igmpSnoopingVlanIds": "", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "IgmpSettings 1", State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "IgmpSettings" URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/logical-interconnect-groups/b7b144e9-1f5e-4d52-8534-2e39280f9e86/igmpSettings" }
type IgmpSettingsUpdate ¶ added in v1.5.0
type IgmpSettingsUpdate struct { ConsistencyChecking string `json:"consistencyChecking,omitempty"` // "consistencyChecking":"ExactMatch" Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", DependentResourceUri string `json:"dependentResourceUri,omitempty"` // "dependentResourceUri": "/rest/logical-interconnect-groups/b7b144e9-1f5e-4d52-8534-2e39280f9e86", EnableIgmpSnooping *bool `json:"enableIgmpSnooping,omitempty"` // "enableIgmpSnooping": true, ID string `json:"id,omitempty"` // "id": "0c398238-2d35-48eb-9eb5-7560d59f94b3", IgmpIdleTimeoutInterval int `json:"igmpIdleTimeoutInterval,omitempty"` // "igmpIdleTimeoutInterval": 260, Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "IgmpSettings 1", Type string `json:"type,omitempty"` // "type": "IgmpSettings" URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/logical-interconnect-groups/b7b144e9-1f5e-4d52-8534-2e39280f9e86/igmpSettings" }
type IloHostName ¶
type IloHostName struct {
HostName string `json:"-"`
}
type InactiveFCoEQosConfig ¶
type InactiveFCoEQosConfig struct { Category utils.Nstring `json:"category,omitempty"` // "category": "null", ConfigType string `json:"configType,omitempty"` // "configType": "CustomWithFCoE", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty,omitempty"` // "description": "Ethernet Settings", DownlinkClassificationType string `json:"downlinkClassificationType,omitempty"` //"downlinkClassifcationType": "DOT1P_AND_DSCP", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "active QOS Config 1", QosTrafficClassifiers []QosTrafficClassifier `json:"qosTrafficClassifiers,omitempty"` // "qosTrafficClassifiers": {...}, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "QosConfiguration", UplinkClassificationType string `json:"uplinkClassificationType,omitempty"` // "uplinkClassificationType": "DOT1P" URI utils.Nstring `json:"uri,omitempty"` // "uri": null }
type InactiveNonFCoEQosConfig ¶
type InactiveNonFCoEQosConfig struct { Category utils.Nstring `json:"category,omitempty"` // "category": "null", ConfigType string `json:"configType,omitempty"` // "configType": "CustomWithFCoE", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty,omitempty"` // "description": "Ethernet Settings", DownlinkClassificationType string `json:"downlinkClassificationType,omitempty"` //"downlinkClassifcationType": "DOT1P_AND_DSCP", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "active QOS Config 1", QosTrafficClassifiers []QosTrafficClassifier `json:"qosTrafficClassifiers,omitempty"` // "qosTrafficClassifiers": {...}, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "QosConfiguration", UplinkClassificationType string `json:"uplinkClassificationType,omitempty"` // "uplinkClassificationType": "DOT1P" URI utils.Nstring `json:"uri,omitempty"` // "uri": null }
type InactiveRoceQosConfig ¶
type InactiveRoceQosConfig struct { Category utils.Nstring `json:"category,omitempty"` // "category": "null", ConfigType string `json:"configType,omitempty"` // "configType": "CustomWithFCoE", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty,omitempty"` // "description": "Ethernet Settings", DownlinkClassificationType string `json:"downlinkClassificationType,omitempty"` //"downlinkClassifcationType": "DOT1P_AND_DSCP", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "active QOS Config 1", QosTrafficClassifiers []QosTrafficClassifier `json:"qosTrafficClassifiers,omitempty"` // "qosTrafficClassifiers": {...}, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "QosConfiguration", UplinkClassificationType string `json:"uplinkClassificationType,omitempty"` // "uplinkClassificationType": "DOT1P" URI utils.Nstring `json:"uri,omitempty"` // "uri": null }
type Initiator ¶ added in v1.0.0
type Initiator struct { Chap *Chap `json:"chap,omitempty"` MutualChap *MutualChap `json:"mutualChap,omitempty"` Name string `json:"name,omitempty"` }
type IntManagementProcessor ¶
type IntManagementProcessor struct { ComplianceControl string `json:"complianceControl,omitempty"` // complianceControl ManageMp bool `json:"manageMp,omitempty"` MpSettings []MpSetting `json:"mpSettings,omitempty"` ReapplyState string `json:"reapplyState,omitempty"` }
func SetMp ¶
func SetMp(shtgen string, mp ManagementProcessors) IntManagementProcessor
SetMp maps ManagementProcessors to IntManagementProcessor struct.
type Interconnect ¶ added in v1.0.0
type Interconnect struct { BaseWWN string `json:"baseWWN,omitempty"` // "baseWWN": "10:00:00:11:0A:06:08:69", Category string `json:"category,omitempty"` // "category": "interconnects", Created string `json:"created,omitempty"` // "created": "2018-08-02T15:49:59.963Z", Description utils.Nstring `json:"description,omitempty"` // "description": null, DeviceResetState string `json:"deviceResetState,omitempty"` // "deviceResetState": "Normal", EdgeVirtualBridgingAvailable bool `json:"edgeVirtualBridgingAvailable,omitempty"` // "edgeVirtualBridgingAvailable": false, EnableCutThrough bool `json:"enableCutThrough,omitempty"` // "enableCutThrough": false, EnableFastMacCacheFailover bool `json:"enableFastMacCacheFailover,omitempty"` // "enableFastMacCacheFailover": true, EnableIgmpSnooping bool `json:"enableIgmpSnooping,omitempty"` // "enableIgmpSnooping": false, EnableNetworkLoopProtection bool `json:"enableNetworkLoopProtection,omitempty"` // "enableNetworkLoopProtection": true, EnablePauseFloodProtection bool `json:"enablePauseFloodProtection,omitempty"` // "enablePauseFloodProtection": true, EnableRichTLV bool `json:"enableRichTLV,omitempty"` // "enableRichTLV": false, EnableStormControl bool `json:"enableStormControl,omitempty"` // "enableStormControl": false, EnableTaggedLldp bool `json:"enableTaggedLldp,omitempty"` // "enableTaggedLldp": false, EnclosureName string `json:"enclosureName,omitempty"` // "enclosureName": "SYN03_Frame1", EnclosureType string `json:"enclosureType,omitempty"` // "enclosureType": "SY12000", EnclosureUri utils.Nstring `json:"enclosureUri,omitempty"` // "enclosureUri": "/rest/enclosures/013645CN759000AC", ETag string `json:"eTag,omitempty"` // "eTag": "463bd328-ffc8-40ae-9603-6136fa9e6e58", FirmwareVersion string `json:"firmwareVersion,omitempty"` // "firmwareVersion": "1.3.0.1005", HostName string `json:"hostName,omitempty"` // "hostName": "VC4040F8-2TV5451754", IcmLicenses IcmLicenses `json:"icmLicenses,omitempty"` // "icmLicenses": {}, IgmpIdleTimeoutInterval int `json:"igmpIdleTimeoutInterval,omitempty"` // "igmpIdleTimeoutInterval": 260, IgmpSnoopingVlanIds string `json:"igmpSnoopingVlanIds,omitempty"` // "igmpSnoopingVlanIds": "", InitialScopeUris []string `json:"initialScopeUris,omitempty"` // "initialScopeUris": [], InterconnectIP string `json:"interconnectIP,omitempty"` // "interconnectIP": "fe80::5eb9:1ff:fe47:f5d2", InterconnectLocation InterconnectLocation `json:"interconnectLocation,omitempty"` // "interconnectLocation": {} InterconnectMAC string `json:"interconnectMAC,omitempty"` // "interconnectMAC": "5C:B9:01:47:F5:D2", InterconnectTypeUri utils.Nstring `json:"interconnectTypeUri,omitempty"` // "interconnectTypeUri": "/rest/interconnect-types/59080afb-85b5-43ae-8c69-27c08cb91f3a", IpAddressList []IpAddressList `json:"ipAddressList,omitempty"` // "ipAddressList": [] LldpIpAddressMode string `json:"lldpIpAddressMode,omitempty"` // "lldpIpAddressMode": "IPV4", LldpIpv4Address string `json:"lldpIpv4Address,omitempty"` // "lldpIpv4Address": "", LldpIpv6Address string `json:"lldpIpv6Address,omitempty"` // "lldpIpv6Address": "", LogicalInterconnectUri utils.Nstring `json:"logicalInterconnectUri,omitempty"` // "logicalInterconnectUri": "/rest/logical-interconnects/d4468f89-4442-4324-9c01-624c7382db2d", MaxBandwidth string `json:"maxBandwidth,omitempty"` // "maxBandwidth": "Speed_20G", MgmtInterface string `json:"mgmtInterface,omitempty"` // "mgmtInterface": null, MigrationState string `json:"migrationState,omitempty"` // "migrationState": null, Model string `json:"model,omitempty"` // "model": "Virtual Connect SE 40Gb F8 Module for Synergy", Modified string `json:"modified,omitempty"` // "modified": "2018-12-03T18:26:43.335Z", Name string `json:"name,omitempty"` // "name": "SYN03_Frame1, interconnect 3", NetworkLoopProtectionInterval int `json:"networkLoopProtectionInterval,omitempty"` // "networkLoopProtectionInterval": 5, PartNumber string `json:"partNumber,omitempty"` // "partNumber": "794502-B23", PortCount int `json:"portCount,omitempty"` // "portCount": 42, Ports []Port `json:"ports,omitempty"` // "ports": [], PowerState string `json:"powerState"` // "powerState": "On", ProductName string `json:"productName,omitempty"` // "productName": "Virtual Connect SE 40Gb F8 Module for Synergy" QosConfiguration QosConfiguration `json:"qosConfiguration,omitempty"` // "qosConfiguration": {}, RemoteSupport RemoteSupport `json:"remoteSupport,omitempty"` // "remoteSupport": {}, Roles []string `json:"roles,omitempty"` // "roles": [] ScopesUri utils.Nstring `json:"scopesUri,omitempty"` // "scopesUri": "/rest/scopes/resources/rest/interconnects/2b322628-e5a9-4843-b184-08345e7140c3", SerialNumber string `json:"serialNumber,omitempty"` // "serialNumber": "2TV5451754", SnmpConfiguration SnmpConfiguration `json:"snmpConfiguration,omitempty"` // "snmpConfiguration": {}, SparePartNumber string `json:"sparePartNumber,omitempty"` // "sparePartNumber": "813174-001", StackingDomainId int `json:"stackingDomainId,omitempty"` // "stackingDomainId": 3, StackingDomainRole string `json:"stackingDomainRole,omitempty"` // "stackingDomainRole": "Master", StackingMemberId int `json:"stackingMemberId,omitempty"` // "stackingMemberId": 0, State string `json:"state,omitempty"` // "state": "Configured", Status string `json:"status,omitempty"` // "status": "OK", StormControlPollingInterval int `json:"stormControlPollingInterval,omitempty"` // "stormControlPollingInterval": 10, StormControlThreshold int `json:"stormControlThreshold,omitempty"` // "stormControlThreshold": 0, SubPortCount int `json:"subPortCount,omitempty"` // "subPortCount": 8, Type string `json:"type,omitempty"` // "type": "InterconnectV4", UidState string `json:"uidState,omitempty"` // "uidState": "Off", UnsupportedCapabilities string `json:unsupportedCapabilities,omitempty"` // "unsupportedCapabilities": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/interconnects/2b322628-e5a9-4843-b184-08345e7140c3" }
type InterconnectBay ¶ added in v1.0.0
type InterconnectBay struct { BayNumber int `json:"bayNumber,omitempty"` // "bayNumber": 1, BayPowerState string `json:"bayPowerState,omitempty"` // "bayPowerState": "Unknown", ChangeState string `json:"changeState,omitempty"` // "changeState": "None", Empty bool `json:"empty,omitempty"` // "empty": false, EnclosureUri utils.Nstring `json:"enclosureUri,omitempty"` // "enclosureUri": "/rest/enclosures/013645CN759000AD", InterconnectBayType string `json:"interconnectBayType,omitempty"` // "interconnectBayType": "SY12000InterconnectBay", InterconnectModel string `json:"interconnectModel,omitempty"` // "interconnectModel": "Synergy 12Gb SAS Connection Module", InterconnectReady bool `json:"interconnectReady,omitempty"` // "interconnectReady": true, InterconnectUri utils.Nstring `json:"interconnectUri,omitempty"` // "interconnectUri": "/rest/sas-interconnects/TWT546W04N", Ipv4Setting Ipv4Setting `json:"ipv4Setting,omitempty"` // "ipv4Setting": {}, LogicalInterconnectUri utils.Nstring `json:"logicalInterconnectUri,omitempty"` // "logicalInterconnectUri": "/rest/sas-logical-interconnects/23868fa4-b773-4fea-a1ab-44c0d30b2d50", OriginOfCondition string `json:"originOfCondition,omitempty"` // "originOfCondition": "/rest/v1/InterconnectManager/1", PartNumber string `json:"partNumber,omitempty"` // "partNumber": "755985-B21", PowerAllocationWatts int `json:"powerAllocationWatts,omitempty"` // "powerAllocationWatts": 32, SerialConsole bool `json:"serialConsole,omitempty"` // "serialConsole": true, SerialNumber string `json:"serialNumber,omitempty"` // "serialNumber": "TWT546W04N", }
type InterconnectBayMap ¶ added in v0.8.1
type InterconnectBayMap struct { EnclosureIndex int `json:"enclosureIndex,omitempty"` // "enclosureIndex": 0, InterconnectBay int `json:"interconnectBay,omitempty"` // "interconnectBay": 0, LogicalInterconnectGroupUri utils.Nstring `json:"logicalInterconnectGroupUri,omitempty"` // "logicalInterconnectGroupUri": "", }
type InterconnectBays ¶ added in v1.0.0
type InterconnectBays struct { BayNumber int `json:"bayNumber,omitempty"` //"bayNumber":"3", LicenseIntents *LicenseIntents `json:"licenseIntents,omitempty"` //"licenseIntent":"", }
type InterconnectCapability ¶
type InterconnectFibData ¶ added in v1.0.0
type InterconnectFibData struct { Count int `json:"count,omitempty"` //"count": "1", Members []InterconnectFibDataEntry `json:"members,omitempty"` //"members":[], }
type InterconnectFibDataEntry ¶ added in v1.0.0
type InterconnectFibDataEntry struct { InterconnectName string `json:"interconnectName,omitempty"` //"interconnectName": "SYN03_Frame2, interconnect 6", InterconnectURI utils.Nstring `json:"interconnectUri,omitempty"` //"interconnectUri": "/rest/interconnects/aca6687f-1370-46cd-b832-7e3192dbddfd", NetworkInterface string `json:"networkInterface,omitempty"` //"networkInterface": "Q3", MacAddress string `json:"macAddress,omitempty"` //"macAddress": "94:57:A5:67:2C:BE", EntryType string `json:"entryType,omitempty"` //"entryType": "Learned", NetworkName string `json:"networkName,omitempty"` //"networkName": "vlan504", NetworkUri utils.Nstring `json:"networkUri,omitempty"` //"networkUri": "/rest/ethernet-networks/6de2920a-8ad4-4cd8-865c-1907d3b4682e", ExternalVlan string `json:"externalVlan,omitempty"` //"externalVlan": "504", InternalVlan string `json:"internalVlan,omitempty"` //"internalVlan": "504" }
type InterconnectList ¶ added in v1.0.0
type InterconnectList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/interconnects?start=2&count=2", Members []Interconnect `json:"members,omitempty"` // "members":[] }
type InterconnectLocation ¶ added in v1.0.0
type InterconnectLocation struct {
LocationEntries []InterconnectLocationEntry `json:"locationEntries,omitempty"` // "locationEntries": []
}
type InterconnectLocationEntry ¶ added in v1.0.0
type InterconnectMap ¶ added in v1.0.0
type InterconnectMap struct {
InterconnectMapEntries []InterconnectMapEntries `json:"interconnectMapEntries"` //"interconnectMapEntries": [{...}],
}
type InterconnectMapEntries ¶ added in v1.0.0
type InterconnectMapEntries struct { Location Location `json:"location,omitempty"` //"location":{...}, LogicalDownlinkUri utils.Nstring `json:"logicalDownlinkUri,omitempty"` //"logicalDownlinkUri": "/rest/logical-downlinks/126ee6e0-db82-4fac-a4ce-c8ee423b77dc", PermittedInterconnectTypeUri utils.Nstring `json:"permittedInterconnectTypeUri,omitempty"` //"permittedInterconnectTypeUri": "/rest/interconnect-types/59080afb-85b5-43ae-8c69-27c08cb91f3a", InterconnectUri utils.Nstring `json:"interconnectUri,omitempty"` //"interconnectUri": "/rest/interconnects/aca6687f-1370-46cd-b832-7e3192dbddfd", EnclosureIndex int `json:"enclosureIndex,omitempty"` //"enclosureIndex": 2 }
type InterconnectMapEntryTemplate ¶
type InterconnectMapEntryTemplate struct { EnclosureIndex int `json:"enclosureIndex,omitempty"` // "enclosureIndex": 1, LogicalDownlinkUri utils.Nstring `json:"logicalDownlinkUri,omitempty"` // "logicalDownlinkUri": "/rest/logical-downlinks/5b33fec1-63e8-40e1-9e3d-3af928917b2f", LogicalLocation LogicalLocation `json:"logicalLocation,omitempty"` // "logicalLocation": {...}, PermittedInterconnectTypeUri utils.Nstring `json:"permittedInterconnectTypeUri,omitempty"` //"permittedSwitchTypeUri": "/rest/switch-types/a2bc8f42-8bb8-4560-b80f-6c3c0e0d66e0", }
type InterconnectMapTemplate ¶
type InterconnectMapTemplate struct {
InterconnectMapEntryTemplates []InterconnectMapEntryTemplate `json:"interconnectMapEntryTemplates"` // "interconnectMapEntryTemplates": {...},
}
type InterconnectType ¶
type InterconnectType struct { Category string `json:"category,omitempty"` // "category": "interconnect-types", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "Interconnect Type 1", DownlinkCount int `json:"downlinkCount,omitempty"` // "downlinkCount": 2, DownlinkPortCapability DownlinkPortCapability `json:"downlinkPortCapability,omitempty"` // "downlinkPortCapability": {...}, ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", InterconnectCapabilities InterconnectCapability `json:"interconnectCapabilities,omitempty"` // "interconnectCapabilities": {...}, MaximumFirmwareVersion string `json:"maximumFirmwareVersion,omitempty"` // "maximumFirmwareVersion": "3.0.0", MinimumFirmwareVersion string `json:"minimumFirmwareVersion,omitempty"` // "minimumFirmwareVersion": "2.0.0", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name utils.Nstring `json:"name,omitempty"` // "name": null, OtherFamilyMembers []OtherFamilyMember `json:"otherFamilyMembers,omitempty"` // "otherFamilyMembers":"[]", PartNumber string `json:"partNumber,omitempty"` // "partNumber": "572018-B21", PortInfos []PortInfo `json:"portInfos,omitempty"` // "portInfos": {...}, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", TaaCompliant bool `json:"taaCompliant"` // "taaCompliant": true, Type string `json:"type,omitempty"` // "type": "interconnect-typeV3", UnsupportedCapabilities []string `json:"unsupportedCapabilities,omitempty"` // "unsupportedCapabilities": [], URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/interconnect-types/9d31081c-e010-4005-bf0b-e64b0ca04af5" }
type InterconnectTypeList ¶
type InterconnectTypeList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []InterconnectType `json:"members,omitempty"` // "members":[] }
type InternalVlanAssociation ¶ added in v1.0.0
type InternalVlanAssociation struct { Type string `json:"type"` //"type": "internal-vlan-association", URI string `json:"uri,omitempty"` //"uri": null, Category string `json:"category,omitempty"` //"category": null, ETAG string `json:"eTag,omitempty"` //"eTag": null, Created string `json:"created,omitempty"` //"created": "2018-11-26T09:16:20.707Z", Modified string `json:"modified,omitempty"` //"modified": "2018-11-26T09:16:20.725Z", InternalVlanId int `json:"internalVlanId,omitempty"` // "internalVlanId": -1, GeneralNetworkUri string `json:"generalNetworkUri,omitempty"` //"generalNetworkUri": "/rest/ethernet-networks/cbde97d0-c8f1-4aba-aa86-2b4e5d080401", LogicalInterconnectUri string `json:"logicalInterconnectUri,omitempty"` //"logicalInterconnectUri": "/rest/logical-interconnects/d4468f89-4442-4324-9c01-624c7382db2d", Description string `json:"description,omitempty"` // "description": null, State string `json:"state,omitempty"` // "state": null, Status string `json:"status,omitempty"` // "status": null, Name string `json:"name,omitempty"` // "name": null }
type InternalVlanAssociationCollection ¶ added in v1.0.0
type InternalVlanAssociationCollection struct { Type string `json:"type"` //"type": "InternalVlanAssociationCollection", URI string `json:"uri,omitempty"` //"uri": null, Category string `json:"category,omitempty"` //"category": "logical-interconnects", ETAG string `json:"eTag,omitempty"` // "eTag": null, Created string `json:"created,omitempty"` // "created": null, Modified string `json:"modified,omitempty"` // "modified": null, Start int `json:"start,omitempty"` // "start": 0, Count int `json:"count,omitempty"` //"count": 7, Total int `json:"total,omitempty"` //"total": 7, PrevPageUri string `json:"prevPageUri,omitempty"` //"prevPageUri": null, NextPageUri string `json:"nextPageUri,omitempty"` //"nextPageUri": null, Members []InternalVlanAssociation `json:"members,omitempty"` //"members":[], }
type IpAddressList ¶ added in v1.0.0
type Ipv4Option ¶ added in v1.1.0
type Ipv4Range ¶ added in v1.5.0
type Ipv4Range struct { AllocatedFragmentUri utils.Nstring `json:"allocatedFragmentUri,omitempty"` AllocatedIdCount int `json:"allocatedIdCount,omitempty"` AllocatorUri utils.Nstring `json:"allocatorUri,omitempty"` AssociatedResources []AssociatedResources `json:"associatedResources,omitempty"` Category string `json:"category,omitempty"` CollectorUri utils.Nstring `json:"collectorUri"` Created string `json:"created,omitempty"` DefaultRange bool `json:"defaultRange"` ETAG string `json:"eTag,omitempty"` Modified string `json:"modified,omitempty"` Enabled bool `json:"enabled,omitempty"` Name string `json:"name,omitempty"` EndAddress utils.Nstring `json:"endAddress,omitempty"` FreeFragmentUri utils.Nstring `json:"freeFragmentUri,omitempty"` FreeIdCount int `json:"freeIdCount,omitempty"` URI utils.Nstring `json:"uri,omitempty"` Prefix utils.Nstring `json:"prefix,omitempty"` RangeCategory utils.Nstring `json:"rangeCategory,omitempty"` ReservedIdCount int `json:"reservedIdCount,omitempty"` StartAddress utils.Nstring `json:"startAddress,omitempty"` StartStopFragments []StartStopFragments `json:"startStopFragments,omitempty"` SubnetUri utils.Nstring `json:"subnetUri,omitempty"` TotalCount int `json:"totalCount,omitempty"` Type string `json:"type,omitempty"` }
type Ipv4Ranges ¶ added in v1.0.0
type Ipv4Ranges struct { DnsServers []string `json:"dnsServers,omitempty"` //"dnsServers":"", Domain string `json:"domain,omitempty"` //"domain":"", Gateway string `json:"gateway,omitempty"` //"gateway":"", IpRangeUri utils.Nstring `json:"ipRangeUri,omitempty"` //"ipRangeUri":"", Name string `json:"name,omitempty"` //"name":"", SubnetMask string `json:"subnetMask,omitempty"` //"subnetMask":"" }
type Ipv4Setting ¶ added in v1.0.0
type Ipv4Setting struct { IpAddress string `json:"ipAddress,omitempty"` // "ipAddress": "", IpAssignmentState string `json:"ipAssignmentState,omitempty"` // "ipAssignmentState": "", IpRangeUri string `json:"ipRangeUri,omitempty"` // "ipRangeUri": "", Mode string `json:"mode,omitempty"` // "mode": "", }
type Ipv4Subnet ¶
type Ipv4Subnet struct { AllocatorUri utils.Nstring `json:"allocatorUri,omitempty"` AssociatedResources []AssociatedResSubnets `json:"associatedResources,omitempty"` Category string `json:"category,omitempty"` CollectorUri utils.Nstring `json:"collectorUri"` Created string `json:"created,omitempty"` DnsServers []utils.Nstring `json:"dnsServers,omitempty"` Domain string `json:"domain,omitempty"` ETAG string `json:"eTag,omitempty"` Gateway string `json:"gateway"` Modified string `json:"modified,omitempty"` Name string `json:"name,omitempty"` NetworkId string `json:"networkId"` RangeUris []utils.Nstring `json:"rangeUris,omitempty"` SubnetMask string `json:"subnetmask"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
type Ipv6Addresses ¶ added in v1.0.0
type KeyManager ¶
type KeyManager struct { PrimaryServerAddress string `json:"-"` PrimaryServerPort int `json:"-"` SecondaryServerAddress string `json:"-"` SecondaryServerPort int `json:"-"` RedundancyRequired *bool `json:"-"` GroupName string `json:"-"` CertificateName string `json:"-"` LoginName string `json:"-"` Password string `json:"-"` }
type LSDomainPerSwitch ¶
type LeOsDeploymentSettings ¶ added in v1.0.0
type LeOsDeploymentSettings struct { DeploymentModeSettings *DeploymentModeSettings `json:"deploymentModeSettings,omitempty"` ManageOSDeployment bool `json:"manageOSDeployment,omitempty"` }
type License ¶ added in v1.0.0
type License struct { LicenseType string `json:"licenseType,omitempty"` //"licenseType": "Synergy 8Gb FC Upgrade", State string `json:"state,omitempty"` //"state": "Yes", ConsumedCount int `json:"consumedCount,omitempty"` //"consumedCount": 2, RequiredCount int `json:"requiredCount,omitempty"` //"requiredCount": 0 }
type LicenseIntents ¶ added in v1.0.0
type LicenseIntents struct {
FCUpgrade string `json:"FCUpgrade,omitempty"` //"FCUpgrade":"Automatic",
}
type LinkedEnclosure ¶ added in v1.0.0
type LocalAccounts ¶
type LocalAccounts struct { UserName string `json:"-"` DisplayName string `json:"-"` Password string `json:"-"` UserConfigPriv *bool `json:"-"` RemoteConsolePriv *bool `json:"-"` VirtualMediaPriv *bool `json:"-"` VirtualPowerAndResetPriv *bool `json:"-"` ILOConfigPriv *bool `json:"-"` LoginPriv *bool `json:"-"` HostBIOSConfigPriv *bool `json:"-"` HostNICConfigPriv *bool `json:"-"` HostStorageConfigPriv *bool `json:"-"` }
type LocalStorageEmbeddedController ¶
type LocalStorageEmbeddedController struct { DeviceSlot string `json:"deviceSlot,omitempty"` // "deviceSlot": "Mezz 1", DriveWriteCache string `json:"driveWriteCache,omitempty"` //Determines the write cache configuration of the physical drives attached to the controller. ImportConfiguration bool `json:"importConfiguration,omitempty"` // importConfiguration Determines if the logical drives in the current configuration should be imported. Boolean Initialize *bool `json:"initialize,omitempty"` // initialize Determines if the controller should be initialized before configuration. Boolean LogicalDrives []LogicalDriveV3 `json:"logicalDrives,omitempty"` // LogicalDriveV3 The list of logical drives associated with the controller. Managed bool `json:"managed,omitempty"` // managed Determines if the specific controller is managed by OneView. Boolean Mode string `json:"mode,omitempty"` // mode Determines the mode of operation of the controller. The controller mode can be changed between RAID and HBA mode when supported by the selected server hardware type. string PredictiveSpareRebuild string `json:"predictiveSpareRebuild,omitempty"` //Enables or disables predictive spare rebuild mode. SlotNumber string `json:"slotNumber,omitempty"` // slotNumber The PCI slot number used by the controller. This value will always be set to "0", as only the embedded controller is supported in the current version. string }
LocalStorageEmbeddedController -
type LocalStorageEmbeddedControllerV4 ¶ added in v0.8.2
type LocalStorageEmbeddedControllerV4 struct {
DeviceSlot string `json:"deviceSlot,omitempty"` // "deviceSlot": "Mezz 1",
}
type LocalStorageOptions ¶
type LocalStorageOptions struct { ComplianceControl string `json:"complianceControl,omitempty"` Controllers []LocalStorageEmbeddedController `json:"controllers,omitempty"` // The list of embedded local storage controllers. Initialize bool `json:"initialize,omitempty"` // "initialize": true LogicalDrives []LogicalDrive `json:"logicalDrives,omitempty"` // "logicalDrives": [], ManageLocalStorage bool `json:"manageLocalStorage,omitempty"` // "manageLocalStorage": true, ReapplyState string `json:"reapplyState,omitempty"` //Current reapply state of SAN storage component. SasLogicalJBODs []LogicalJbod `json:"sasLogicalJBODs,omitempty"` // "sasLogicalJBODs": [], }
LocalStorageOptions -
type LocalStorageSettingsV3 ¶
type LocalStorageSettingsV3 struct { Controllers []LocalStorageEmbeddedController `json:"controllers,omitempty"` // The list of embedded local storage controllers. SasLogicalJBODs []LogicalJbod `json:"sasLogicalJBODs,omitempty"` // "sasLogicalJBODs": [], }
LocalStorageSettingsV3 -
type LocalStorageSettingsV4 ¶ added in v0.8.2
type LocalStorageSettingsV4 struct {
SasLogicalJBODs []LogicalJbod `json:"sasLogicalJBODs,omitempty"` // "sasLogicalJBODs": [],
}
type LocalesList ¶
type LocalesList struct { Count int `json:"count,omitempty"` Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` ETAG string `json:"eTag,omitempty"` Members []Locales `json:"members,omitempty"` // "members":[] Modified string `json:"modified,omitempty"` // "modified":null" NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, Start int `json:"start,omitempty"` // "start": 0, Total int `json:"total,omitempty"` // "total": 1, Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
type Location ¶ added in v1.0.0
type Location struct {
LocationEntries []LocationEntries `json:"locationEntries,omitempty"` //"locationEntries":{...},
}
type LocationEntries ¶ added in v1.0.0
type LocationEntry ¶
type LogicalDrive ¶
type LogicalDrive struct { Bootable bool `json:"bootable"` // "bootable": true, RaidLevel string `json:"raidLevel,omitempty"` // "raidLevel": "RAID1" }
LogicalDrive logical drive options
type LogicalDriveV3 ¶
type LogicalDriveV3 struct { Accelerator string `json:"accelerator,omitempty"` //Defines the acceleration method of the logical drive. Bootable *bool `json:"bootable,omitempty"` // bootable Indicates if the logical drive is bootable or not. Boolean DriveNumber int `json:"driveNumber,omitempty"` // driveNumber The number assigned to the logical drive by HP SSA. This value is read-only and gets automatically populated once the logical drive is created. integer read only DriveTechnology string `json:"driveTechnology,omitempty"` // driveTechnology Defines the interface type for drives that will be used to build the logical drive. Supported values depend on the local storage capabilities of the selected server hardware type. string Name string `json:"name,omitempty"` // "name": "logical drive name", DriveName string `json:"driveName,omitempty"` // driveName The name of the logical drive. string NumPhysicalDrives int `json:"numPhysicalDrives,omitempty"` // numPhysicalDrives The number of physical drives to be used to build the logical drive. The provided values must be consistent with the selected RAID level and cannot exceed the maximum supported number of drives for the selected server hardware type. integer NumSpareDrives int `json:"numSpareDrives,omitempty"` //The number of spare drives to allocate for a logical drive. RaidLevel string `json:"raidLevel,omitempty"` // raidLevel The RAID level of the logical drive. Supported values depend on the local storage capabilities of the selected server hardware type. string SasLogicalJBODId int `json:"sasLogicalJBODId,omitempty"` // "sasLogicalJBODId": 1, }
LogicalDriveV3 -
type LogicalDriveV4 ¶ added in v0.8.2
type LogicalEnclosure ¶ added in v1.0.0
type LogicalEnclosure struct { AmbientTemperatureMode string `json:"ambientTemperatureMode,omitempty"` // "ambientTemperatureMode": "Standard", Category string `json:"category,omitempty"` // "category": "logical-enclosures", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", DeleteFailed bool `json:"deleteFailed,omitempty"` // "deleteFailed": true, DeploymentManagerSettings *DeploymentManagerSettings `json:"deploymentManagerSettings,omitempty"` // "deploymentManagerSettings": "", Description utils.Nstring `json:"description,omitempty"` // "description": "Logical Enclosure 1", Etag string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", EnclosureGroupUri utils.Nstring `json:"enclosureGroupUri,omitempty"` // "enclosureGroupUri": "/rest/enclosure-groups/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20", EnclosureUris []utils.Nstring `json:"enclosureUris,omitempty"` // "enclosureUris":"" Enclosures map[string]Enclosures `json:"enclosures,omitempty"` // "enclosures":"[]", Firmware *LogicalEnclosureFirmware `json:"firmware,omitempty"` // "firmware":"", FirmwareBaselineUri utils.Nstring `json:"firmwareBaselineUri, omitempty"` // "firmwareBaselineUri": "/rest/firmware-drivers/Synergy_Custom_SPP_2021_02_01_Z7550-97110", ForceInstallFirmware bool `json:"forceInstallFirmware, omitempty"` // "forceInstallFirmware": true, InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` // "initialScopUris": IpAddressingMode string `json:"ipAddressingMode,omitempty"` // "ipAddressingMode":"DHCP", Ipv4Ranges []Ipv4Ranges `json:"ipv4Ranges,omitempty"` // "ipv4Ranges":"[]" LogicalInterconnectUris []utils.Nstring `json:"logicalInterconnectUris,omitempty"` // "logicalInterconnectUris":"[]", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.25Z", Name string `json:"name,omitempty"` // "name": "Ethernet Network 1", PowerMode string `json:"powerMode,omitempty"` // "powerMode": "RedundantPowerFeed", ScalingState string `json:"scalingState,omitempty"` // "scalingState": "Growing", ScopesUri utils.Nstring `json:"scopesUri,omitempty"` // "scopesUri": State string `json:"state,omitempty"` // "state": "Creating", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "LogicalEnclosureV4", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/logical-enclosures/e2f0031b-52bd-4223-9ac1-d91cb519d548" }
type LogicalEnclosureFirmware ¶ added in v1.0.0
type LogicalEnclosureFirmware struct { FirmwareBaselineUri utils.Nstring `json:"firmwareBaselineUri,omitempty"` //"firmwareBaselineUri":"", FirmwareUpdateOn string `json:"firmwareUpdateOn,omitempty"` //"firmwareUpdateOn":"EnclosureOnly", ForceInstallFirmware bool `json:"forceInstallFirmware,omitempty"` //"forceInstallFirmware":true, LogicalInterconnectUpdateMode string `json:"logicalInterconnectUpdateMode,omitempty"` //"logicalInterconnectUpdateMode":"Parallel", UpdateFirmwareOnUnmanagedInterconnect bool `json:"updateFirmwareOnUnmanagedInterconnect,omitempty"` //"updateFirmwareOnUnmanagedInterconnect":true, ValidateIfLIFirmwareUpdateIsNonDisruptive bool `json:"validateIfLIFirmwareUpdateIsNonDisruptive,omitempty"` //"validateIfLIFirmwareUpdateIsNonDisruptive":false, }
type LogicalEnclosureList ¶ added in v1.0.0
type LogicalEnclosureList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/ethernet-networks?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []LogicalEnclosure `json:"members,omitempty"` // "members":[] }
type LogicalInterconnect ¶ added in v1.0.0
type LogicalInterconnect struct { Type string `json:"type,omitempty"` //"type": "logical-interconnect", URI utils.Nstring `json:"uri,omitempty"` //"uri": "/rest/logical-interconnects/d4468f89-4442-4324-9c01-624c7382db2d", Category string `json:"category,omitempty"` //"category": "logical-interconnects", Interconnects []utils.Nstring `json:"interconnects,omitempty"` //"interconnects": ["/rest/interconnects/b6b7325f-666f-474f-a8f7-2c32b3c9faab"], ConsistencyStatus string `json:"consistencyStatus,omitempty"` //"consistencyStatus": "NOT_CONSISTENT", ConsistencyStatusVerificationEnabled bool `json:"consistencyStatusVerificationEnabled,omitempty"` //"consistencyStatusVerificationEnabled": true, Created string `json:"created,omitempty"` //"created": "2018-08-07T22:48:07.640Z", Modified string `json:"modified,omitempty"` //"modified": "2018-12-14T06:36:09.956Z", Description utils.Nstring `json:"description,omitempty"` //"description": null, DomainUri utils.Nstring `json:"domainUri"` //"domainUri": "/rest/domains/7b655ba0-11c1-4e9c-a191-672e1d0bbd8e", ETAG string `json:"eTag,omitempty"` //"eTag": "bedd16b1-1d27-4ecd-b483-407635de7431", EnclosureType string `json:"enclosureType,omitempty"` //"enclosureType": "SY12000", InternalNetworkUris []utils.Nstring `json:"internalNetworkUris,omitempty"` //"internalNetworkUris": ["/rest/ethernet-networks/cbde97d0-c8f1-4aba-aa86-2b4e5d080401"], FabricUri utils.Nstring `json:"fabricUri,omitempty"` //"fabricUri": "/rest/fabrics/c2fc09bc-323f-40b4-8a7e-d99ca28df969", QosConfiguration *QosConfiguration `json:"qosConfiguration,omitempty"` // "qosConfiguration": {}, IcmLicenses *IcmLicenses `json:"icmLicenses,omitempty"` //"icmLicenses":{...}, EnclosureUris []utils.Nstring `json:"enclosureUris,omitempty"` //"enclosureUris": ["/rest/enclosures/013645CN759000AC"], FusionDomainUri utils.Nstring `json:"fusionDomainUri,omitempty"` //"fusionDomainUri": "/rest/domains/7b655ba0-11c1-4e9c-a191-672e1d0bbd8e", EthernetSettings *EthernetSettings `json:"ethernetSettings,omitempty"` //"ethernetSettings": {...}, IgmpSettings *IgmpSettings `json:"igmpSettings,omitempty"` //"igmpSettings": [...], LogicalInterconnectGroupUri utils.Nstring `json:"logicalInterconnectGroupUri,omitempty"` //"logicalInterconnectGroupUri": "/rest/logical-interconnect-groups/3de143b3-bf77-4944-aa31-18084676b664", StackingHealth string `json:"stackingHealth,omitempty"` //"stackingHealth": "BiConnected", InitialScopeUris []string `json:"initialScopeUris,omitempty"` //"InitialScopeUris": [], InterconnectMap *InterconnectMap `json:"interconnectMap,omitempty"` //"interconnectMap": {...}, PortMonitor *PortMonitor `json:"portMonitor,omitempty"` //"portMonitor": {...}, SnmpConfiguration *SnmpConfiguration `json:"snmpConfiguration,omitempty"` // "snmpConfiguration": {...}, TelemetryConfiguration *TelemetryConfiguration `json:"telemetryConfiguration,omitempty"` // "telemetryConfiguration": {...}, ScopeUri string `json:"ScopeUri,omitempty"` //"ScopeUri": null, SecurityStandardMode string `json:"securityStandardMode,omitempty"` //"securityStandardMode": null, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Name string `json:"name"` // "name": "Logical Interconnect1", PortFlapProtection *PortFlapProtection `json:"portFlapProtection,omitempty"` // "portFlapProtection": [...], }
type LogicalInterconnectCompliance ¶ added in v1.0.0
type LogicalInterconnectCompliance struct { Type string `json:"type"` //"type":"li-compliance", URI utils.Nstring `json:"uri,omitempty"` //"uri": "/rest/logical-interconnects/d4468f89-4442-4324-9c01-624c7382db2d", Category string `json:"category,omitempty"` //"category": "logical-interconnects", Created string `json:"created,omitempty"` //"created": "2018-08-07T22:48:07.640Z", Modified string `json:"modified,omitempty"` //"modified": "2018-12-14T06:36:09.956Z", Description utils.Nstring `json:"description,omitempty"` //"description": null, EnclosureGroupUri utils.Nstring `json:"enclosureGroupUri,omitempty"` //"enclosureGroupUri": "/rest/domains/7b655ba0-11c1-4e9c-a191-672e1d0bbd8e", EnclosureUris []utils.Nstring `json:"enclosureUris,omitempty"` //"enclosureUris": ["/rest/enclosures/013645CN759000AC"], ETAG string `json:"eTag,omitempty"` //"eTag": "bedd16b1-1d27-4ecd-b483-407635de7431", LogicalInterconnectUris []utils.Nstring `json:"logicalInterconnectUris,omitempty"` //"logicalInterconnectUris":["/rest/logical-interconnects/d4468f89-4442-4324-9c01-624c7382db2d"] State string `json:"state,omitempty"` // "state": null, Status string `json:"status,omitempty"` // "status": null, Name string `json:"name,omitempty"` // "name": null }
type LogicalInterconnectGroup ¶
type LogicalInterconnectGroup struct { Category string `json:"category,omitempty"` // "category": "logical-interconnect-groups", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", ConsistencyCheckingForInternalNetworks string `json:"consistenceyCheckingForInternalNetworks,omitempty"` // "consistencyCheckingForInternalNetworks": "ExactMatch", Description utils.Nstring `json:"description,omitempty"` // "description": "Logical Interconnect Group 1", DownlinkSpeedMode utils.Nstring `json:"downlinkSpeedMode,omitempty"` // "downlinkSpeedMode": "NOT_APPLICABLE", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", EnclosureIndexes []int `json:"enclosureIndexes,omitempty"` // "enclosureIndexes": [1], EnclosureType string `json:"enclosureType,omitempty"` // "enclosureType": "C7000", EthernetSettings *EthernetSettings `json:"ethernetSettings,omitempty"` // "ethernetSettings": {...}, FabricUri utils.Nstring `json:"fabricUri,omitempty"` // "fabricUri": "/rest/fabrics/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20", IgmpSettings *IgmpSettings `json:"igmpSettings,omitempty"` // "igmpSettings": {...}, InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` // "initialScopeUris":[] InterconnectBaySet int `json:"interconnectBaySet,omitempty"` // "interconnectBaySet": 1, InterconnectMapTemplate *InterconnectMapTemplate `json:"interconnectMapTemplate"` // "interconnectMapTemplate": {...}, InternalNetworkUris []utils.Nstring `json:"internalNetworkUris"` // "internalNetworkUris": [] Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name"` // "name": "Logical Interconnect Group1", NtpConfiguration *NtpConfiguration `json:"ntpConfiguration,omitempty"` // "ntpConfiguration": {}, QosConfiguration *QosConfiguration `json:"qosConfiguration,omitempty"` // "qosConfiguration": {}, RedundancyType string `json:"redundancyType,omitempty"` // "redundancyType": "HighlyAvailable" ScopesUri utils.Nstring `json:"scopesUri,omitempty"` // "scopesUri":"" NextPageUri string `json:"NextPageUri,omitempty"` // "NextPageUri":"" PortFlapProtection *PortFlapProtection `json:"portFlapProtection,omitempty"` // "portFlapProtection": {...} PrevPageUri string `json:"prevPageUri,omitempty"` // "PrevPageUri":"" Start int `json:"start,omitempty"` // "start":"" Total int `json:"total,omitempty"` // "total":"" SnmpConfiguration *SnmpConfiguration `json:"snmpConfiguration,omitempty"` // "snmpConfiguration": {...} StackingHealth string `json:"stackingHealth,omitempty"` //"stackingHealth": "Connected", StackingMode string `json:"stackingMode,omitempty"` //"stackingMode": "Enclosure", State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", TelemetryConfiguration *TelemetryConfiguration `json:"telemetryConfiguration,omitempty"` // "telemetryConfiguration": {...}, SflowConfiguration *SflowConfiguration `json:"sflowConfiguration,omitempty"` // "sflowConfiguration": {...}, Type string `json:"type"` // "type": "logical-interconnect-groupsV3", UplinkSets []UplinkSets `json:"uplinkSets"` // "uplinkSets": {...}, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/logical-interconnect-groups/e2f0031b-52bd-4223-9ac1-d91cb519d548", }
type LogicalInterconnectGroupDefaultSettings ¶ added in v1.0.0
type LogicalInterconnectGroupDefaultSettings struct { Type string `json:"type"` // "type": "InterconnectSettingsV4", URI utils.Nstring `json:"uri,omitempty"` // "uri": null, Category string `json:"category,omitempty"` // "category": null ETAG string `json:"eTag,omitempty"` //"eTag": null, Created string `json:"created,omitempty"` //"created": null, Modified string `json:"modified,omitempty"` //"modified": null, EthernetSettings *EthernetSettings `json:"ethernetSettings,omitempty"` // "ethernetSettings": {...}, IgmpSettings *IgmpSettings `json:"igmpSettings,omitempty"` // "igmpSettings": {...}, FcoeSettings string `json:"fcoeSettings,omitempty"` // "fcoeSettings": null, Description string `json:"description,omitempty"` // "description": null, State string `json:"state,omitempty"` // "state": null, Status string `json:"status,omitempty"` // "status": null, Name string `json:"name,omitempty"` // "name": null }
type LogicalInterconnectGroupList ¶
type LogicalInterconnectGroupList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []LogicalInterconnectGroup `json:"members,omitempty"` // "members":[] }
type LogicalInterconnectList ¶ added in v1.0.0
type LogicalInterconnectList struct { Type string `json:"type,omitempty"` //"type": "LogicalInterconnectCollectionV5", Category string `json:"category,omitempty"` //"category": "logical-interconnects", ETAG string `json:"eTag,omitempty"` //"eTag": null, Created string `json:"created,omitempty"` //"created": null, Modified string `json:"modified,omitempty"` //"modified": null, Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/logical-interconnects?start=0&count=1", Members []LogicalInterconnect `json:"members,omitempty"` // "members":[] }
type LogicalInterconnectReport ¶ added in v1.6.0
type LogicalInterconnectReport struct { DeploymentClusterAffected DepClusterAffected `json:"deploymentClusterAffected,omitempty"` // "deploymentClusterAffected":[] Name string `json:"name,omitempty"` // "name": null, NoOfProfilesAffected int `json:"noOfProfilesAffected,omitempty"` // "noOfProfilesAffected": 1, NoOfUpdates int `json:"noOfUpdates,omitempty"` // "noOfUpdates": 1, PortMonitoringConfiguration bool `json:"portMonitoringConfiguration,omitempty"` // "portMonitoringConfiguration": false, ProfilesAffected []ProfileAffected `json:"profilesAffected,omitempty"` // "profilesAffected":[] Report Reports `json:"report,omitempty"` // "report":[] URI utils.Nstring `json:"uri,omitempty"` // "uri": null, }
type LogicalJbod ¶ added in v0.8.2
type LogicalJbod struct { Description string `json:"description,omitempty"` // description DeviceSlot string `json:"deviceSlot,omitempty"` // "deviceSlot": "Mezz 1", DriveMaxSizeGB int `json:"driveMaxSizeGB,omitempty"` // "driveMaxSizeGB": 100, DriveMinSizeGB int `json:"driveMinSizeGB,omitempty"` // "driveMinSizeGB": 10, DriveTechnology string `json:"driveTechnology,omitempty"` // "driveTechnology": "SasHdd", EraseData bool `json:"eraseData,omitempty"` //"eraseData": False ID int `json:"id,omitempty"` // "id": 1, Name string `json:"name,omitempty"` // "name": "logical jbod 1", NumPhysicalDrives int `json:"numPhysicalDrives,omitempty"` // "numPhyricalDrives": 1, Persistent bool `json:"persistent,omitempty"` // "persistent": True SasLogicalJBODUri utils.Nstring `json:"sasLogicalJBODUri,omitempty"` // "sasLogicalJBODUri": nil Status string `json:"status,omitempty"` // "status": "OK", }
type LogicalLocation ¶
type LogicalLocation struct {
LocationEntries []LocationEntry `json:"locationEntries,omitempty"` // "locationEntries": {...}
}
type LogicalPortConfigInfo ¶
type LogicalPortConfigInfo struct { DesiredSpeed string `json:"desiredSpeed,omitempty"` // "desiredSpeed": "Auto", DesiredFecMode string `json:"desiredFecMode,omitempty"` // "desiredFecMode": "Auto", LogicalLocation LogicalLocation `json:"logicalLocation,omitempty"` // "logicalLocation": {...}, }
type LogicalSwitch ¶
type LogicalSwitch struct { Category string `json:"category,omitempty"` // "category": "logcial-switch-groups", ConstitencyStatus string `json:"constitencyStatus,omitempty"` //"consitencyStatue": "CONSISTENT", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "Logical Switch 1", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", FabricUri utils.Nstring `json:"fabricUri,omitempty"` // "fabricUri": "/rest/fabrics/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20", LogicalSwitchDomainInfo LogicalSwitchDomainInfo `json:"logicalSwitchDomainInfo"` Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "Logical Switch Group1", State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "logical-switch-groups", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/logical-switch-groups/e2f0031b-52bd-4223-9ac1-d91cb519d548", SwitchMapTemplate SwitchMapTemplate `json:"switchMapTemplate"` }
type LogicalSwitchDomainInfo ¶
type LogicalSwitchDomainInfo struct { DomainId string `json:"domainId"` //"domainId": "NA", MasterMacAddress string `json:"masterMacAddress"` //"masterMacAddress": "NA", PerSwitchDomain []LSDomainPerSwitch `json:"perSwitchDomain"` }
type LogicalSwitchGroup ¶
type LogicalSwitchGroup struct { Category string `json:"category,omitempty"` // "category": "logical-switch-groups", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "Logical Switch 1", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", FabricUri utils.Nstring `json:"fabricUri,omitempty"` // "fabricUri": "/rest/fabrics/9b8f7ec0-52b3-475e-84f4-c4eac51c2c20", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "Logical Switch Group1", State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "logical-switch-groups", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/logical-switch-groups/e2f0031b-52bd-4223-9ac1-d91cb519d548", SwitchMapTemplate SwitchMapTemplate `json:"switchMapTemplate"` }
TODO change this struct to hold the variables from the GET API response body variables
type LogicalSwitchGroupList ¶
type LogicalSwitchGroupList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []LogicalSwitchGroup `json:"members,omitempty"` // "members":[] }
type ManagedPools ¶ added in v1.0.0
type ManagedPools struct { Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` DeviceType string `json:"deviceType,omitempty"` FreeCapacity string `json:"freeCapacity,omitempty"` RaidLevel string `json:"raidLevel,omitempty"` Totalcapacity string `json:"totalCapacity,omitempty"` }
type ManagementProcessors ¶
type ManagementProcessors struct { ComplianceControl string `json:"-"` ManageMp bool `json:"-"` MpSetting MpSettings `json:"-"` ReapplyState string `json:"-"` }
type ManagerBay ¶ added in v1.0.0
type ManagerBay struct { BayNumber int `json:"bayNumber,omitempty"` // "bayNumber": 1, BayPowerState string `json:"bayPowerState,omitempty"` // "bayPowerState": "Unknown", ChangeState string `json:"changeState,omitempty"` // "changeState": "None", DevicePresence string `json:"devicePresence,omitempty"` // "devicePresence": "Present", EnclosureUri utils.Nstring `json:"enclosureUri,omitempty"` // "enclosureUri": "/rest/enclosures/013645CN759000AC", FwBuildDate string `json:"fwBuildDate,omitempty"` // "fwBuildDate": "05/23/2018,17:52:54", FwVersion string `json:"fwVersion,omitempty"` // "fwVersion": "2.02.03", IpAddress string `json:"ipAddress,omitempty"` // "ipAddress": "fe80::9657:a5ff:fe56:6b30", LinkedEnclosure LinkedEnclosure `json:"linkedEnclosure,omitempty"` // "linkedEnclosure": {}, LinkPortIsolated bool `json:"linkPortIsolated,omitempty"` // "linkPortIsolated": false, LinkPortSpeedGbs string `json:"linkPortSpeedGbs,omitempty"` // "linkPortSpeedGbs": "10", LinkPortState string `json:"linkPortState,omitempty"` // "linkPortState": "Linked", LinkPortStatus string `json:"linkPortStatus,omitempty"` // "linkPortStatus": "OK", ManagerType string `json:"managerType,omitempty"` // "managerType": "EnclosureManager", MgmtPortLinkState string `json:"mgmtPortLinkState,omitempty"` // "mgmtPortLinkState": "Linked", MgmtPortNeighbor MgmtPortNeighbor `json:"mgmtPortNeighbor,omitempty"` // "mgmtPortNeighbor": {}, MgmtPortSpeedGbs string `json:"mgmtPortSpeedGbs,omitempty"` // "mgmtPortSpeedGbs": "10", MgmtPortState string `json:"mgmtPortState,omitempty"` // "mgmtPortState": "Standby", MgmtPortStatus string `json:"mgmtPortStatus,omitempty"` // "mgmtPortStatus": "OK", Model string `json:"model,omitempty"` // "model": "Synergy Frame Link Module", NegotiatedLinkPortSpeedGbs int `json:"negotiatedLinkPortSpeedGbs,omitempty"` // "negotiatedLinkPortSpeedGbs": 10, NegotiatedMgmtPortSpeedGbs int `json:"negotiatedMgmtPortSpeedGbs,omitempty"` // "negotiatedMgmtPortSpeedGbs": 10, PartNumber string `json:"partNumber,omitempty"` // "partNumber": "802341-B21", Role string `json:"role,omitempty"` // "role": "Standby", SerialNumber string `json:"serialNumber,omitempty"` // "serialNumber": "CN7613V053", SparePartNumber string `json:"sparePartNumber,omitempty"` // "sparePartNumber": "807963-001", Status string `json:"status,omitempty"` // "status": "OK", UidState string `json:"uidState,omitempty"` // "uidState": "Off" }
type Member ¶
type Member struct { Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` ETAG string `json:"eTag,omitempty"` Modified string `json:"modified,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Uri utils.Nstring `json:"uri,omitempty"` }
type MgmtPortNeighbor ¶ added in v1.0.0
type MgmtPortNeighbor struct { Description string `json:"description,omitempty"` // "description": "HPE Comware Platform Software", IpAddress string `json:"ipAddress,omitempty"` // "ipAddress": null, MacAddress string `json:"macAddress,omitempty"` // "macAddress": "5C:8A:38:4E:F2:4F", Port string `json:"port,omitempty"` // "port": "Ten-GigabitEthernet1/1/1", ResourceUri utils.Nstring `json:"resourceUri,omitempty"` // "resourceUri": null }
type MonitorPortInfo ¶ added in v1.1.0
type MonitorPortInfo struct { BayNumber string `json:"bayNumber,omitempty"` InterconnectName string `json:"interconnectName,omitempty"` InterconnectUri string `json:"interconnectUri,omitempty"` PortHealthStatus string `json:"portHealthStatus,omitempty"` PortMonitorConfigInfo string `json:"portMonitorConfigInfo,omitempty"` PortName string `json:"portName,omitempty"` PortStatus string `json:"portStatus,omitempty"` PortUri string `json:"portUri,omitempty"` }
type MpHostInfov200 ¶
type MpHostInfov200 struct { MpHostName string `json:"mpHostName,omitempty"` // mpHostName The host name of the Management Processor. string MpIPAddresses []MpIPAddressv200 `json:"mpIpAddresses,omitempty"` // The list of IP addresses and corresponding type information for the Management Processor. }
MpHostInfov200 -
type MpIPAddressv200 ¶
type MpIPAddressv200 struct { Address string `json:"address,omitempty"` // address An IP address for the Management Processor. string Type string `json:"type,omitempty"` // type The type of IP address. The following are useful values for the IP address type: Static - Static IP address configuration; DHCP - Dynamic host configuration protocol; SLAAC - Stateless address autoconfiguration (IPv6); LinkLocal - Link-local address (IPv6); }
MpIPAddressv200 -
type MpIPTypev200 ¶
type MpIPTypev200 int
MpIPTypev200 Type constant
const ( MpDHCP MpIPTypev200 = 1 + iota MpLinkLocal MpLinkLocalRequired MpLookup MpSlaaC MpStatic MpUndefined )
const block
func (MpIPTypev200) Equal ¶
func (o MpIPTypev200) Equal(s string) bool
Equal helper for MpIPTypev200
type MpSettings ¶
type MpSettings struct { AdministratorAccount AdministratorAccount `json:"-"` LocalAccounts []LocalAccounts `json:"-"` Directory Directory `json:"-"` DirectoryGroups []DirectoryGroups `json:"-"` KeyManager KeyManager `json:"-"` IloHostName IloHostName `json:"-"` }
type MutualChap ¶ added in v1.0.0
type MutualChap struct { Name string `json:"name,omitempty"` // contains filtered or unexported fields }
type Neighbor ¶ added in v1.0.0
type Neighbor struct { LinkLabel string `json:"linkLabel"` // "linkLabel": null, LinkUri string `json:"linkUri"` // "linkUri": null, RemoteChassisId string `json:"remoteChassisId"` // "remoteChassisId": "5c:8a:38:4e:f2:4f", RemoteChassisIdType string `json:"remoteChassisIdType"` // "remoteChassisIdType": "macAddress", RemoteMgmtAddress string `json:"remoteMgmtAddress"` // "remoteMgmtAddress": "5c:8a:38:4e:f2:a0", RemoteMgmtAddressType string `json:"remoteMgmtAddressType"` // "remoteMgmtAddressType": "all802", RemotePortDescription string `json:"remotePortDescription"` // "remotePortDescription": "FortyGigE1/2/1 Interface", RemotePortId string `json:"remotePortId"` // "remotePortId": "FortyGigE1/2/1", RemotePortIdType string `json:"remotePortIdType"` // "remotePortIdType": "interfaceName", RemoteSystemCapabilities string `json:"remoteSystemCapabilities"` // "remoteSystemCapabilities": "Bridge, Router", RemoteSystemDescription string `json:"remoteSystemDescription"` // "remoteSystemDescription": "HPE Comware Platform Software, Software Version 7.1.070, Release 2612\r\nHPE FF 5930-2Slot+2QSFP+Switch\r\nCopyright (c) 2010-2018 Hewlett Packard Enterprise Development LP", RemoteSystemName string `json:"remoteSystemName"` // "remoteSystemName": "eco1FORGbE", RemoteType string `json:"remoteType"` // "remoteType": "external", }
type NetworkLite ¶ added in v1.1.0
type NetworkSet ¶
type NetworkSet struct { Category string `json:"category,omitempty"` // "category": "network-sets", ConnectionTemplateUri utils.Nstring `json:"connectionTemplateUri,omitempty"` // "connectionTemplateUri": "/rest/connection-templates/7769cae0-b680-435b-9b87-9b864c81657f", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "Network Set 1", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` // "initialScopeUris":[] Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name"` // "name": "Network Set 1", NativeNetworkUri utils.Nstring `json:"nativeNetworkUri,omitempty"` NetworkSetType string `json:"networkSetType,omitempty"` // "networkSetType": "Regular" NetworkUris []utils.Nstring `json:"networkUris"` ScopesUri utils.Nstring `json:"scopesUri,omitempty"` State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type"` // "type": "network-set", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/network-set/e2f0031b-52bd-4223-9ac1-d91cb519d548" }
type NetworkSetList ¶
type NetworkSetList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/network-sets?sort=name:asc" Members []NetworkSet `json:"members,omitempty"` // "members":[] }
type NtpConfiguration ¶ added in v1.7.0
type NtpConfiguration struct { RelativeValue int `json:"relativeValue,omitempty"` //"relativeValue": 2, AddressingMode *AddressingMode `json:"addressingMode,omitempty"` //addressingMode": "StackingMemberId", AuthId int `json:"authId,omitempty"` //"authId": "StackingMemberId", AuthKey string `json:"authKey,omitempty"` //"authKey": "StackingMemberId", AuthProtocol string `json:"authProtocol,omitempty"` //"authProtocol": "StackingMemberId", Category string `json:"category,omitempty"` //"category": "StackingMemberId", ClientVersion string `json:"clientVersion,omitempty"` //"clientVersion": "StackingMemberId", ClockFormat string `json:"clockFormat,omitempty"` //"clockFormat": "StackingMemberId", ConsistencyChecking string `json:"consistencyChecking,omitempty"` //"consistencyChecking": "StackingMemberId", Created string `json:"created,omitempty"` //"created": "StackingMemberId", Custom bool `json:"custom,omitempty"` //"custom": "StackingMemberId", Description string `json:"description,omitempty"` //"description": "StackingMemberId", DstStartTime string `json:"dstStartTime,omitempty"` //"dstStartTime": "StackingMemberId", DstEndTime string `json:"dstEndTime,omitempty"` //"dstEndTime": "StackingMemberId", Etag string `json:"etag,omitempty"` //"etag": "StackingMemberId", Modified string `json:"modified,omitempty"` //"modified": "StackingMemberId", Name string `json:"name,omitempty"` //"name": "StackingMemberId", ProtocolType string `json:"protocolType,omitempty"` //"protocolType": "StackingMemberId", State string `json:"state,omitempty"` //"state": "StackingMemberId", Status string `json:"status,omitempty"` //"status": "StackingMemberId", TimeZone string `json:"timeZone,omitempty"` //"timeZone": "StackingMemberId", Type string `json:"type,omitempty"` //"type": "StackingMemberId", Uri string `json:"uri,omitempty"` //"uri": "StackingMemberId", }
type OAMap ¶ added in v1.0.0
type OAMap struct { BayNumber int `json:"bayNumber"` // "bayNumber": 1, DhcpEnable bool `json:"dhcpEnable"` // "dhcpEnable": false, DhcpIpv6Enable bool `json:"dhcpIpv6Enable"` // "dhcpIpv6Enable": false, FqdnHostName string `json:"fqdnHostName,omitempty"` // "fqdnHostName": "e10-oa.vse.rdlabs.hpecorp.net", FwBuildDate string `json:"fwBuildDate,omitempty"` // "fwBuildDate": "Jun 17 2016", FwVersion string `json:"fwVersion,omitempty"` // "fwVersion": "4.60", IpAddress string `json:"ipAddress,omitempty"` // "ipAddress": "16.124.135.110", Ipv6Addresses []Ipv6Addresses `json:"ipv6Addresses,omitempty"` // "ipv6Addresses": [] Role string `json:"role,omitempty"` // "role": "Active", State string `json:"state,omitempty"` // "state": null }
type OVClient ¶
OVClient - wrapper class for ov api's
func (*OVClient) AddMultipleRackServers ¶
func (c *OVClient) AddMultipleRackServers(rackServer ServerHardware) error
Add multiple rack servers
func (*OVClient) AddRackManager ¶
func (c *OVClient) AddRackManager(rm RackManager) (resourceId string, err error)
Add rack manager- Add new rack manager
func (*OVClient) AddRackServer ¶
func (c *OVClient) AddRackServer(rackServer ServerHardware) (utils.Nstring, error)
Add single rack server to the appliance
func (*OVClient) AllocateId ¶
func (c *OVClient) AllocateId(allocator UpdateAllocatorList, id string) (UpdateAllocatorList, error)
func (*OVClient) AllocateIpv4Subnet ¶
func (c *OVClient) AllocateIpv4Subnet(id string, subnet SubnetAllocatorList) (SubnetAllocatorList, error)
func (*OVClient) Allocator ¶
func (c *OVClient) Allocator(allocateIds UpdateAllocatorList, poolType string) (UpdateAllocatorList, error)
Allocates one or more IDs from a pool.
func (*OVClient) BulkInconsistencyValidations ¶ added in v1.6.0
func (*OVClient) Cleanup ¶
func (c *OVClient) Cleanup(template *ServerProfile)
func (*OVClient) CollectId ¶
func (c *OVClient) CollectId(collector UpdateCollectorList, id string) (UpdateCollectorList, error)
func (*OVClient) CollectIpv4Subnet ¶
func (c *OVClient) CollectIpv4Subnet(id string, subnet SubnetCollectorList) (SubnetCollectorList, error)
func (*OVClient) Collector ¶
func (c *OVClient) Collector(idList UpdateCollectorList, poolType string) (UpdateCollectorList, error)
Collects one or more IDs to be returned to a pool.
func (*OVClient) ConfigureAppliance ¶ added in v1.5.0
func (c *OVClient) ConfigureAppliance(configuration EmailNotificationList) error
func (*OVClient) CreateApplianceTimeandLocal ¶
func (c *OVClient) CreateApplianceTimeandLocal(timelocale ApplianceTimeandLocal) error
func (*OVClient) CreateBulkEthernetNetwork ¶ added in v1.0.0
func (c *OVClient) CreateBulkEthernetNetwork(eNet BulkEthernetNetwork) error
func (*OVClient) CreateCustomServicePack ¶
func (c *OVClient) CreateCustomServicePack(sp CustomServicePack, force string) error
func (*OVClient) CreateEnclosure ¶ added in v1.0.0
func (c *OVClient) CreateEnclosure(enclosure_create_map EnclosureCreateMap) error
func (*OVClient) CreateEnclosureGroup ¶ added in v0.8.1
func (c *OVClient) CreateEnclosureGroup(eGroup EnclosureGroup) error
func (*OVClient) CreateEthernetNetwork ¶
func (c *OVClient) CreateEthernetNetwork(eNet EthernetNetwork) error
func (*OVClient) CreateFCNetwork ¶ added in v0.8.1
func (*OVClient) CreateFCoENetwork ¶
func (c *OVClient) CreateFCoENetwork(fcoeNet FCoENetwork) error
func (*OVClient) CreateHypervisorClusterProfile ¶ added in v1.3.0
func (c *OVClient) CreateHypervisorClusterProfile(hyClustProf HypervisorClusterProfile) error
func (*OVClient) CreateHypervisorManager ¶ added in v1.3.0
func (c *OVClient) CreateHypervisorManager(hypM HypervisorManager) error
func (*OVClient) CreateIPv4Range ¶ added in v1.5.0
func (c *OVClient) CreateIPv4Range(ipv4 CreateIpv4Range) (Ipv4Range, error)
func (*OVClient) CreateIPv4Subnet ¶
func (c *OVClient) CreateIPv4Subnet(subnet Ipv4Subnet) error
func (*OVClient) CreateLabel ¶
func (c *OVClient) CreateLabel(label AssignedLabel) (AssignedLabel, error)
CreateLabel- creates new labels
func (*OVClient) CreateLogicalEnclosure ¶ added in v1.0.0
func (c *OVClient) CreateLogicalEnclosure(logEn LogicalEnclosure) error
func (*OVClient) CreateLogicalInterconnectGroup ¶
func (c *OVClient) CreateLogicalInterconnectGroup(logicalInterconnectGroup LogicalInterconnectGroup) error
func (*OVClient) CreateLogicalSwitchGroup ¶
func (c *OVClient) CreateLogicalSwitchGroup(logicalSwitchGroup LogicalSwitchGroup) error
func (*OVClient) CreateMachine ¶
Create machine
func (*OVClient) CreateNetworkSet ¶
func (c *OVClient) CreateNetworkSet(netSet NetworkSet) error
func (*OVClient) CreateProfileFromTemplate ¶
func (c *OVClient) CreateProfileFromTemplate(name string, template ServerProfile, blade ServerHardware, ignoreFlags ...ForceFlag) error
create profile from template
func (*OVClient) CreateProfileTemplate ¶ added in v0.8.1
func (c *OVClient) CreateProfileTemplate(serverProfileTemplate ServerProfile) error
func (*OVClient) CreateSNMPv1TrapDestinations ¶
func (c *OVClient) CreateSNMPv1TrapDestinations(trapOption SNMPv1Trap, id string) error
func (*OVClient) CreateSNMPv3TrapDestinations ¶
func (c *OVClient) CreateSNMPv3TrapDestinations(trapOption SNMPv3Trap) (SNMPv3Trap, error)
func (*OVClient) CreateSNMPv3Users ¶
func (c *OVClient) CreateSNMPv3Users(snmpv3User SNMPv3User) (SNMPv3User, error)
func (*OVClient) CreateScope ¶ added in v1.0.0
func (*OVClient) CreateServerCertificate ¶ added in v1.3.0
func (c *OVClient) CreateServerCertificate(serverC ServerCertificate) error
func (*OVClient) CreateStorageSystem ¶ added in v1.0.0
func (c *OVClient) CreateStorageSystem(sSystem StorageSystem) error
func (*OVClient) CreateStorageVolume ¶ added in v0.8.1
func (c *OVClient) CreateStorageVolume(sVol StorageVolume) error
func (*OVClient) CreateStorageVolumeTemplate ¶ added in v1.1.0
func (c *OVClient) CreateStorageVolumeTemplate(sVolTemplate StorageVolumeTemplate) error
func (*OVClient) CreateSupportDump ¶ added in v1.6.0
func (*OVClient) CreateUplinkSet ¶ added in v1.0.0
func (*OVClient) CreateVirtualSwitchLayout ¶ added in v1.3.0
func (c *OVClient) CreateVirtualSwitchLayout(virtualswitchlayout VirtualSwitchLayout) error
func (*OVClient) DeleteAssignedLabel ¶
DeleteAssignedLabel- Delete all the labels for a resource.
func (*OVClient) DeleteBulkEthernetNetwork ¶ added in v1.5.0
func (c *OVClient) DeleteBulkEthernetNetwork(eNet BulkDelete) error
func (*OVClient) DeleteBulkFCoENetwork ¶ added in v1.5.0
func (c *OVClient) DeleteBulkFCoENetwork(fcoeNet FCoENetworkBulkDelete) error
func (*OVClient) DeleteBulkFcNetwork ¶ added in v1.5.0
func (c *OVClient) DeleteBulkFcNetwork(fcNet FCNetworkBulkDelete) error
func (*OVClient) DeleteEnclosure ¶ added in v1.0.0
func (*OVClient) DeleteEnclosureGroup ¶ added in v0.8.1
func (*OVClient) DeleteEthernetNetwork ¶
func (*OVClient) DeleteFCNetwork ¶ added in v0.8.1
func (*OVClient) DeleteFCoENetwork ¶
func (*OVClient) DeleteFirmwareBaseline ¶
func (*OVClient) DeleteHypervisorClusterProfile ¶ added in v1.3.0
func (*OVClient) DeleteHypervisorClusterProfileSoftDelete ¶ added in v1.4.0
func (*OVClient) DeleteHypervisorClusterProfileSoftDeleteForce ¶ added in v1.4.0
func (*OVClient) DeleteHypervisorManager ¶ added in v1.3.0
func (*OVClient) DeleteIpv4Range ¶ added in v1.5.0
func (*OVClient) DeleteIpv4Subnet ¶
func (*OVClient) DeleteLogicalEnclosure ¶ added in v1.0.0
func (*OVClient) DeleteLogicalInterconnectGroup ¶
func (*OVClient) DeleteLogicalSwitchGroup ¶
func (*OVClient) DeleteNetworkSet ¶
func (*OVClient) DeleteProfile ¶
delete a profile, assign the server and remove the profile from the system
func (*OVClient) DeleteProfileTemplate ¶ added in v0.8.1
func (*OVClient) DeleteRackManager ¶
delete a profile, assign the server and remove the profile from the system
func (*OVClient) DeleteSNMPv1TrapDestinations ¶
func (*OVClient) DeleteSNMPv3TrapDestinations ¶
func (*OVClient) DeleteSNMPv3UserById ¶
func (*OVClient) DeleteSNMPv3UserByName ¶
func (*OVClient) DeleteScope ¶ added in v1.0.0
func (*OVClient) DeleteServerCertificate ¶ added in v1.3.0
func (*OVClient) DeleteServerHardware ¶
Delete the rack server using URI
func (*OVClient) DeleteStorageSystem ¶ added in v1.0.0
func (*OVClient) DeleteStorageVolume ¶ added in v0.8.1
func (*OVClient) DeleteStorageVolumeTemplate ¶ added in v1.1.0
func (*OVClient) DeleteUplinkSet ¶ added in v1.0.0
func (*OVClient) GeVolumeTemplatesForStorageSystem ¶
func (*OVClient) Generate ¶
func (c *OVClient) Generate(poolType string) (StartStopFragments, error)
Generates and returns a random range. Used to generate a range for validation prior to actually creating it. This API is not applicable for the IPv4 and IPv6 IDs.
func (*OVClient) GetAPIVersion ¶
func (c *OVClient) GetAPIVersion() (APIVersion, error)
GetAPIVersion - returns the api version for OneView server returns structure APIVersion
func (*OVClient) GetAllLabels ¶
func (c *OVClient) GetAllLabels(sort string, start string, count string, fields string, namePrefix string) (AllLabels, error)
GetAllLabels- fetches all labels
func (*OVClient) GetAllocatedFragments ¶ added in v1.5.0
func (*OVClient) GetApplianceTimeandLocals ¶
func (*OVClient) GetAssignedLabels ¶
func (c *OVClient) GetAssignedLabels(ResourceUri utils.Nstring) (AssignedLabel, error)
GetAssignedLabels- get labels from the resource
func (*OVClient) GetAssociatedProfile ¶ added in v1.0.0
func (*OVClient) GetAssociatedUplinkGroup ¶ added in v1.0.0
func (*OVClient) GetAuthHeaderMap ¶
GetAuthHeaderMap Generate an auth Header map
func (*OVClient) GetAuthHeaderMapNoVer ¶
GetAuthHeaderMapNoVer generate header without version
func (*OVClient) GetAvailableHardware ¶
func (c *OVClient) GetAvailableHardware(hardwareTypeUri utils.Nstring, enclosureGroupUri utils.Nstring) (hw ServerHardware, err error)
GetAvailableHardware gets available server blades = rest_api(:oneview, :get, "/rest/server-hardware?sort=name:asc&filter=serverHardwareTypeUri='#{server_hardware_type_uri}'&filter=serverGroupUri='#{enclosure_group_uri}'")
func (*OVClient) GetAvailableServers ¶ added in v1.5.0
GetAvailableServers - To fetch available server hardwares
func (*OVClient) GetConfigurationScript ¶ added in v1.0.0
func (*OVClient) GetConnectionTemplate ¶
func (*OVClient) GetConnectionTemplateByName ¶
func (c *OVClient) GetConnectionTemplateByName(name string) (ConnectionTemplate, error)
func (*OVClient) GetConnectionTemplateByURI ¶
func (c *OVClient) GetConnectionTemplateByURI(uri utils.Nstring) (ConnectionTemplate, error)
GetConnectionTemplateByURI - get a connection template from a uri
func (*OVClient) GetDefaultConnectionTemplate ¶
func (c *OVClient) GetDefaultConnectionTemplate() (ConnectionTemplate, error)
func (*OVClient) GetEmailNotifications ¶ added in v1.5.0
func (*OVClient) GetEmailNotificationsByFilter ¶ added in v1.5.0
func (*OVClient) GetEmailNotificationsConfiguration ¶ added in v1.5.0
func (*OVClient) GetEnclosureByName ¶ added in v1.0.0
func (*OVClient) GetEnclosureGroupByName ¶ added in v0.8.1
func (c *OVClient) GetEnclosureGroupByName(name string) (EnclosureGroup, error)
func (*OVClient) GetEnclosureGroupByUri ¶ added in v0.8.1
func (c *OVClient) GetEnclosureGroupByUri(uri utils.Nstring) (EnclosureGroup, error)
func (*OVClient) GetEnclosureGroups ¶ added in v0.8.1
func (*OVClient) GetEnclosurebyUri ¶ added in v1.0.0
func (*OVClient) GetEnclosures ¶ added in v1.0.0
func (*OVClient) GetEthernetNetworkByName ¶
func (c *OVClient) GetEthernetNetworkByName(name string) (EthernetNetwork, error)
func (*OVClient) GetEthernetNetworks ¶
func (*OVClient) GetFCNetworkByName ¶ added in v0.8.1
func (*OVClient) GetFCNetworks ¶ added in v0.8.1
func (*OVClient) GetFCoENetworkByName ¶
func (c *OVClient) GetFCoENetworkByName(name string) (FCoENetwork, error)
func (*OVClient) GetFCoENetworks ¶
func (*OVClient) GetFirmwareBaselineById ¶
func (c *OVClient) GetFirmwareBaselineById(id string) (FirmwareDrivers, error)
func (*OVClient) GetFirmwareBaselineByNameandVersion ¶
func (c *OVClient) GetFirmwareBaselineByNameandVersion(name, version string) (FirmwareDrivers, error)
func (*OVClient) GetFirmwareBaselineList ¶
func (*OVClient) GetFreeFragments ¶ added in v1.5.0
func (*OVClient) GetHypervisorClusterProfileById ¶ added in v1.3.0
func (c *OVClient) GetHypervisorClusterProfileById(id string) (HypervisorClusterProfile, error)
func (*OVClient) GetHypervisorClusterProfileByName ¶ added in v1.4.0
func (c *OVClient) GetHypervisorClusterProfileByName(name string) (HypervisorClusterProfile, error)
func (*OVClient) GetHypervisorClusterProfileByUri ¶ added in v1.3.0
func (c *OVClient) GetHypervisorClusterProfileByUri(uri string) (HypervisorClusterProfile, error)
func (*OVClient) GetHypervisorClusterProfileCompliancePreview ¶ added in v1.3.0
func (c *OVClient) GetHypervisorClusterProfileCompliancePreview(id string) (HypervisorClusterProfileCompliancePreview, error)
func (*OVClient) GetHypervisorClusterProfiles ¶ added in v1.3.0
func (*OVClient) GetHypervisorManagerByName ¶ added in v1.3.0
func (c *OVClient) GetHypervisorManagerByName(name string) (HypervisorManager, error)
func (*OVClient) GetHypervisorManagers ¶ added in v1.3.0
func (*OVClient) GetIPv4RangebyId ¶ added in v1.5.0
func (*OVClient) GetIPv4SubnetbyId ¶
func (c *OVClient) GetIPv4SubnetbyId(id string) (Ipv4Subnet, error)
func (*OVClient) GetIPv4Subnets ¶
func (*OVClient) GetIdleTimeout ¶
GetIdleTimeout gets the current timeout for the logged on session returns timeout in milliseconds, or error when it fails
func (*OVClient) GetInterconnectByName ¶ added in v1.0.0
func (c *OVClient) GetInterconnectByName(name string) (Interconnect, error)
func (*OVClient) GetInterconnectByUri ¶ added in v1.0.0
func (c *OVClient) GetInterconnectByUri(uri utils.Nstring) (Interconnect, error)
func (*OVClient) GetInterconnectTypeByName ¶
func (c *OVClient) GetInterconnectTypeByName(name string) (InterconnectType, error)
func (*OVClient) GetInterconnectTypeByUri ¶
func (c *OVClient) GetInterconnectTypeByUri(uri utils.Nstring) (InterconnectType, error)
func (*OVClient) GetInterconnectTypes ¶
func (*OVClient) GetInterconnects ¶ added in v1.0.0
func (*OVClient) GetLabelByURI ¶
GetLabelByURI - Get a label.
func (*OVClient) GetLocales ¶
func (c *OVClient) GetLocales() (LocalesList, error)
func (*OVClient) GetLogicalEnclosureByName ¶ added in v1.0.0
func (c *OVClient) GetLogicalEnclosureByName(name string) (LogicalEnclosure, error)
func (*OVClient) GetLogicalEnclosures ¶ added in v1.0.0
func (*OVClient) GetLogicalInterconnectById ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectById(Id string) (LogicalInterconnect, error)
func (*OVClient) GetLogicalInterconnectByUri ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectByUri(uri string) (LogicalInterconnect, error)
func (*OVClient) GetLogicalInterconnectEthernetSettings ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectEthernetSettings(Id string) (EthernetSettings, error)
func (*OVClient) GetLogicalInterconnectFirmware ¶ added in v1.0.0
func (*OVClient) GetLogicalInterconnectForwardingInformation ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectForwardingInformation(filter []string, Id string) (InterconnectFibData, error)
func (*OVClient) GetLogicalInterconnectForwardingInformationByInterconnectAndExternalVlan ¶ added in v1.0.0
func (*OVClient) GetLogicalInterconnectForwardingInformationByInternalVlan ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectForwardingInformationByInternalVlan(InternalVlan string, Id string) (InterconnectFibDataEntry, error)
func (*OVClient) GetLogicalInterconnectForwardingInformationByMacAddress ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectForwardingInformationByMacAddress(MacAddress string, Id string) (InterconnectFibDataEntry, error)
func (*OVClient) GetLogicalInterconnectGroupByName ¶
func (c *OVClient) GetLogicalInterconnectGroupByName(name string) (LogicalInterconnectGroup, error)
func (*OVClient) GetLogicalInterconnectGroupByUri ¶ added in v0.8.1
func (c *OVClient) GetLogicalInterconnectGroupByUri(uri utils.Nstring) (LogicalInterconnectGroup, error)
func (*OVClient) GetLogicalInterconnectGroupDefaultSettings ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectGroupDefaultSettings() (LogicalInterconnectGroupDefaultSettings, error)
func (*OVClient) GetLogicalInterconnectGroupSettings ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectGroupSettings(uri string) (LogicalInterconnectGroupDefaultSettings, error)
func (*OVClient) GetLogicalInterconnectGroups ¶
func (*OVClient) GetLogicalInterconnectIgmpSettings ¶ added in v1.5.0
func (c *OVClient) GetLogicalInterconnectIgmpSettings(Id string) (IgmpSettings, error)
func (*OVClient) GetLogicalInterconnectPortMonitor ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectPortMonitor(Id string) (PortMonitor, error)
func (*OVClient) GetLogicalInterconnectSNMPConfiguration ¶ added in v1.0.0
func (c *OVClient) GetLogicalInterconnectSNMPConfiguration(Id string) (SnmpConfiguration, error)
func (*OVClient) GetLogicalInterconnects ¶ added in v1.0.0
func (*OVClient) GetLogicalInternalVlans ¶ added in v1.0.0
func (c *OVClient) GetLogicalInternalVlans(Id string) (InternalVlanAssociationCollection, error)
func (*OVClient) GetLogicalQosAggregatedConfiguration ¶ added in v1.0.0
func (*OVClient) GetLogicalSwitchGroupByName ¶
func (c *OVClient) GetLogicalSwitchGroupByName(name string) (LogicalSwitchGroup, error)
func (*OVClient) GetLogicalSwitchGroups ¶
func (c *OVClient) GetLogicalSwitchGroups(filter string, sort string) (LogicalSwitchGroupList, error)
func (*OVClient) GetNetworkSetByName ¶
func (c *OVClient) GetNetworkSetByName(name string) (NetworkSet, error)
func (*OVClient) GetNetworkSets ¶
func (c *OVClient) GetNetworkSets(filter string, sort string) (NetworkSetList, error)
func (*OVClient) GetPoolType ¶
Gets a pool along with the list of ranges present in it
func (*OVClient) GetProfileByName ¶
func (c *OVClient) GetProfileByName(name string) (ServerProfile, error)
GetProfileByName gets a server profile by name
func (*OVClient) GetProfileBySN ¶
func (c *OVClient) GetProfileBySN(serialnum string) (ServerProfile, error)
GetProfileBySN accepts serial number
func (*OVClient) GetProfileByURI ¶
func (c *OVClient) GetProfileByURI(uri utils.Nstring) (ServerProfile, error)
GetProfileByURI - get the profile from a uri
func (*OVClient) GetProfileTemplateByName ¶
func (c *OVClient) GetProfileTemplateByName(name string) (ServerProfile, error)
GetProfileTemplateByName gets a server profile template by name
func (*OVClient) GetProfileTemplates ¶
func (c *OVClient) GetProfileTemplates(start string, count string, filter string, sort string, scopeUris string) (ServerProfileList, error)
GetProfileTemplates gets a server profiles
func (*OVClient) GetProfiles ¶
func (c *OVClient) GetProfiles(start string, count string, filter string, sort string, scopeUris string) (ServerProfileList, error)
GetProfiles - get a server profiles
func (*OVClient) GetRackManagerById ¶
func (c *OVClient) GetRackManagerById(Id string) (RackManager, error)
func (*OVClient) GetRackManagerByName ¶
func (c *OVClient) GetRackManagerByName(name string) (RackManager, error)
GetRack Manager By Name
func (*OVClient) GetRackManagerList ¶
func (c *OVClient) GetRackManagerList(start string, count string, filter string, sort string, scopeUris string) (RackManagerList, error)
GetRackMansgers - get all the rack managers
func (*OVClient) GetRangeAvailibility ¶
func (c *OVClient) GetRangeAvailibility(poolType string, ids []string) (UpdateAllocatorList, error)
Checks the range availability in the ID pool.
func (*OVClient) GetReachablePorts ¶ added in v1.0.0
func (c *OVClient) GetReachablePorts(uri utils.Nstring) (ReachablePortsList, error)
func (*OVClient) GetRelativeValue ¶
func (*OVClient) GetRootStorageVolumeTemplate ¶
func (c *OVClient) GetRootStorageVolumeTemplate(storage_pool_uri string) (StorageVolumeTemplate, error)
func (*OVClient) GetSNMPv1TrapDestinations ¶
func (*OVClient) GetSNMPv1TrapDestinationsById ¶
func (c *OVClient) GetSNMPv1TrapDestinationsById(id string) (SNMPv1Trap, error)
func (*OVClient) GetSNMPv3TrapDestinations ¶
func (*OVClient) GetSNMPv3TrapDestinationsById ¶
func (c *OVClient) GetSNMPv3TrapDestinationsById(id string) (SNMPv3Trap, error)
func (*OVClient) GetSNMPv3UserById ¶
func (c *OVClient) GetSNMPv3UserById(id string) (SNMPv3User, error)
func (*OVClient) GetSNMPv3UserByUserName ¶
func (c *OVClient) GetSNMPv3UserByUserName(username string) (SNMPv3User, error)
func (*OVClient) GetSNMPv3Users ¶
func (*OVClient) GetScopeByName ¶ added in v1.0.0
func (*OVClient) GetScopeByUri ¶
GetScopeByUri - get scopes by uri
func (*OVClient) GetScopeFromResource ¶
GetScopeFromResource - get scope uris assigned from resource
func (*OVClient) GetServerCertificateByIp ¶ added in v1.3.0
func (c *OVClient) GetServerCertificateByIp(ip string) (ServerCertificate, error)
func (*OVClient) GetServerCertificateByName ¶ added in v1.3.0
func (c *OVClient) GetServerCertificateByName(name string) (ServerCertificate, error)
func (*OVClient) GetServerFirmwareByUri ¶ added in v1.1.0
func (c *OVClient) GetServerFirmwareByUri(uri utils.Nstring) (ServerFirmware, error)
GetServerFirmwareByUri gets firmware for a server hardware with uri
func (*OVClient) GetServerFirmwareList ¶
func (c *OVClient) GetServerFirmwareList(filters []string, sort string, start string, count string) (ServerFirmwareList, error)
GetServerFirmwareByUri gets firmware for a server hardware with uri
func (*OVClient) GetServerHardwareByName ¶ added in v0.8.2
func (c *OVClient) GetServerHardwareByName(name string) (ServerHardware, error)
GetServerHardwareByName gets a server hardware with uri
func (*OVClient) GetServerHardwareByUri ¶ added in v1.0.0
func (c *OVClient) GetServerHardwareByUri(uri utils.Nstring) (ServerHardware, error)
GetServerHardwareByUri gets a server hardware with uri
func (*OVClient) GetServerHardwareList ¶
func (c *OVClient) GetServerHardwareList(filters []string, sort string, start string, count string, expand string) (ServerHardwareList, error)
GetServerHardwareList gets a server hardware with filters
func (*OVClient) GetServerHardwareTypeByName ¶ added in v0.8.1
func (c *OVClient) GetServerHardwareTypeByName(name string) (ServerHardwareType, error)
func (*OVClient) GetServerHardwareTypeByUri ¶ added in v0.8.1
func (c *OVClient) GetServerHardwareTypeByUri(uri utils.Nstring) (ServerHardwareType, error)
func (*OVClient) GetServerHardwareTypes ¶ added in v0.8.1
func (*OVClient) GetSshAccess ¶
func (c *OVClient) GetSshAccess() (ApplianceSshAccess, error)
func (*OVClient) GetStorageAttachmentById ¶ added in v1.5.0
func (c *OVClient) GetStorageAttachmentById(id string) (StorageAttachment, error)
func (*OVClient) GetStorageAttachmentByName ¶ added in v1.0.0
func (c *OVClient) GetStorageAttachmentByName(name string) (StorageAttachment, error)
func (*OVClient) GetStorageAttachments ¶ added in v1.0.0
func (*OVClient) GetStoragePoolByName ¶ added in v1.0.0
func (c *OVClient) GetStoragePoolByName(name string) (StoragePool, error)
func (*OVClient) GetStoragePoolByUri ¶ added in v1.7.0
func (c *OVClient) GetStoragePoolByUri(uri string) (StoragePool, error)
func (*OVClient) GetStoragePools ¶ added in v1.0.0
func (*OVClient) GetStorageSystemByName ¶ added in v1.0.0
func (c *OVClient) GetStorageSystemByName(name string) (StorageSystem, error)
func (*OVClient) GetStorageSystemByUri ¶ added in v1.7.0
func (c *OVClient) GetStorageSystemByUri(uri string) (StorageSystem, error)
func (*OVClient) GetStorageSystems ¶ added in v1.0.0
func (c *OVClient) GetStorageSystems(filter string, sort string) (StorageSystemsList, error)
func (*OVClient) GetStorageVolumeByName ¶ added in v0.8.1
func (c *OVClient) GetStorageVolumeByName(name string) (StorageVolume, error)
func (*OVClient) GetStorageVolumeTemplateByName ¶ added in v1.1.0
func (c *OVClient) GetStorageVolumeTemplateByName(name string) (StorageVolumeTemplate, error)
func (*OVClient) GetStorageVolumeTemplates ¶ added in v1.1.0
func (*OVClient) GetStorageVolumes ¶ added in v0.8.1
func (c *OVClient) GetStorageVolumes(filter string, sort string) (StorageVolumesList, error)
func (*OVClient) GetSubnetByNetworkId ¶
func (c *OVClient) GetSubnetByNetworkId(nwId string) (Ipv4Subnet, error)
func (*OVClient) GetSwitchTypeByName ¶
func (c *OVClient) GetSwitchTypeByName(name string) (SwitchType, error)
func (*OVClient) GetSwitchTypes ¶
func (c *OVClient) GetSwitchTypes(filter string, sort string) (SwitchTypeList, error)
func (*OVClient) GetTasksById ¶ added in v1.6.0
func (*OVClient) GetTelemetryConfigurations ¶ added in v1.0.0
func (c *OVClient) GetTelemetryConfigurations(Id string, TCId string) (TelemetryConfiguration, error)
func (*OVClient) GetUnassignedPortsForPortMonitor ¶ added in v1.0.0
func (c *OVClient) GetUnassignedPortsForPortMonitor(Id string) PortMonitorPortCollection
func (*OVClient) GetUnassignedUplinkPortsForPortMonitor ¶ added in v1.0.0
func (c *OVClient) GetUnassignedUplinkPortsForPortMonitor(Id string) (PortMonitorPortCollection, error)
func (*OVClient) GetUplinkSetById ¶ added in v1.0.0
func (*OVClient) GetUplinkSetByName ¶ added in v1.0.0
func (*OVClient) GetUplinkSets ¶ added in v1.0.0
func (*OVClient) GetValidateIds ¶
func (c *OVClient) GetValidateIds(poolType string, ids []string) (UpdateAllocatorList, error)
Validates a set of IDs to reserve in the pool.
func (*OVClient) GetVolumeSets ¶ added in v1.1.0
func (c *OVClient) GetVolumeSets(uri utils.Nstring) (VolumeSetList, error)
func (*OVClient) IsHardwareSchemaV2 ¶
IsHardwareSchemaV2 - true when we are using v2, false for v1
func (*OVClient) IsProfileTemplates ¶
IsProfileTemplates - returns true when we should use GetProfileTemplate...
func (*OVClient) NewOVClient ¶
func (c *OVClient) NewOVClient(user string, password string, domain string, endpoint string, sslverify bool, apiversion int, ifmatch string) *OVClient
new Client
func (*OVClient) PatchPowerState ¶
func (c *OVClient) PatchPowerState(id string, operation []PatchPowerData) error
func (*OVClient) PatchServerProfile ¶ added in v1.1.0
func (c *OVClient) PatchServerProfile(p ServerProfile, request []Options) error
func (*OVClient) PatchServerProfileTemplate ¶
func (c *OVClient) PatchServerProfileTemplate(p ServerProfile, request []Options) error
func (*OVClient) ProfileTemplatesNotSupported ¶
ProfileTemplatesNotSupported - determine these functions are supported
func (*OVClient) RefreshLogin ¶
RefreshLogin Refresh login authkey Should make sure we have a valid APIKey
func (*OVClient) RefreshServerHardware ¶
func (c *OVClient) RefreshServerHardware(id string, hardware ServerHardware) error
Refresh server hardware configuration
func (*OVClient) RefreshVersion ¶
RefreshVersion - refresh the max api Version for the client
func (*OVClient) SendEmail ¶ added in v1.5.0
func (c *OVClient) SendEmail(email TestEmailRequest) error
func (*OVClient) SendTestEmail ¶ added in v1.5.0
func (c *OVClient) SendTestEmail(email TestEmailRequest) error
func (*OVClient) SessionLogin ¶
SessionLogin Login to OneView and get a session ID returns Session structure
func (*OVClient) SessionLogout ¶
SessionLogout Logout to OneView and get a session ID returns Session structure
func (*OVClient) SetIdleTimeout ¶
SetIdleTimeout sets the current timeout
func (*OVClient) SetMaintenanceMode ¶
Update the server into/out of maintenance mode
func (*OVClient) SetOneTimeBoot ¶
func (*OVClient) SetPowerState ¶
Update the power state of the server
func (*OVClient) SetQueryParams ¶
func (c *OVClient) SetQueryParams(filters []string, sort string, start string, count string, expand string) map[string]interface{}
Set Query params for GetServerHardwareList and GetServerFirmwareList
func (*OVClient) SetSshAccess ¶
func (c *OVClient) SetSshAccess(sshaccess ApplianceSshAccess) error
func (*OVClient) SetUidState ¶
Turn the server UID light On/Off
func (*OVClient) SubmitDeleteProfile ¶
func (c *OVClient) SubmitDeleteProfile(p ServerProfile) (t *Task, err error)
submit new profile template
func (*OVClient) SubmitNewProfile ¶
func (c *OVClient) SubmitNewProfile(p ServerProfile, ignoreFlags ...ForceFlag) (err error)
SubmitNewProfile - submit new profile template
func (*OVClient) Trapv1ValidateDestinationAddress ¶
func (c *OVClient) Trapv1ValidateDestinationAddress(validate Trapv1ValidationAddress) error
func (*OVClient) UpdateAssignedLabels ¶
func (c *OVClient) UpdateAssignedLabels(assignedLabel AssignedLabel) (AssignedLabel, error)
UpdateAssignedLabels - Set all the labels for a resource.
func (*OVClient) UpdateConfigurationScript ¶ added in v1.0.0
func (*OVClient) UpdateConnectionTemplate ¶
func (c *OVClient) UpdateConnectionTemplate(id string, conntemplate ConnectionTemplate) (ConnectionTemplate, error)
func (*OVClient) UpdateEnclosure ¶ added in v1.0.0
func (*OVClient) UpdateEnclosureGroup ¶ added in v0.8.1
func (c *OVClient) UpdateEnclosureGroup(enclosureGroup EnclosureGroup) error
func (*OVClient) UpdateEthernetNetwork ¶
func (c *OVClient) UpdateEthernetNetwork(eNet EthernetNetwork) error
func (*OVClient) UpdateFCoENetwork ¶
func (c *OVClient) UpdateFCoENetwork(fcoeNet FCoENetwork) error
func (*OVClient) UpdateFcNetwork ¶ added in v0.8.1
func (*OVClient) UpdateFromGroupLogicalEnclosure ¶ added in v1.1.0
func (c *OVClient) UpdateFromGroupLogicalEnclosure(logEn LogicalEnclosure) error
func (*OVClient) UpdateHypervisorClusterProfile ¶ added in v1.3.0
func (c *OVClient) UpdateHypervisorClusterProfile(hyClustProf HypervisorClusterProfile) error
func (*OVClient) UpdateHypervisorManager ¶ added in v1.3.0
func (c *OVClient) UpdateHypervisorManager(hypM HypervisorManager, force string) error
func (*OVClient) UpdateIpv4Range ¶ added in v1.5.0
func (*OVClient) UpdateIpv4Subnet ¶
func (c *OVClient) UpdateIpv4Subnet(id string, subnet Ipv4Subnet) error
func (*OVClient) UpdateLogicalEnclosure ¶ added in v1.0.0
func (c *OVClient) UpdateLogicalEnclosure(logEn LogicalEnclosure) error
func (*OVClient) UpdateLogicalEnclosureFirmware ¶
func (c *OVClient) UpdateLogicalEnclosureFirmware(uri string, patchData LogicalEnclosureFirmware) error
func (*OVClient) UpdateLogicalInterconnectConfigurations ¶ added in v1.0.0
func (*OVClient) UpdateLogicalInterconnectConsistentState ¶ added in v1.0.0
func (c *OVClient) UpdateLogicalInterconnectConsistentState(liCompliance LogicalInterconnectCompliance) error
func (*OVClient) UpdateLogicalInterconnectConsistentStateById ¶ added in v1.1.0
func (*OVClient) UpdateLogicalInterconnectEthernetSettings ¶ added in v1.0.0
func (c *OVClient) UpdateLogicalInterconnectEthernetSettings(ethernetSetting EthernetSettings, Id string) error
func (*OVClient) UpdateLogicalInterconnectEthernetSettingsForce ¶ added in v1.0.0
func (c *OVClient) UpdateLogicalInterconnectEthernetSettingsForce(ethernetSetting EthernetSettings, Id string, force bool) error
func (*OVClient) UpdateLogicalInterconnectFirmware ¶ added in v1.0.0
func (*OVClient) UpdateLogicalInterconnectFirmwareForce ¶ added in v1.0.0
func (*OVClient) UpdateLogicalInterconnectGroup ¶
func (c *OVClient) UpdateLogicalInterconnectGroup(logicalInterconnectGroup LogicalInterconnectGroup) error
func (*OVClient) UpdateLogicalInterconnectIgmpSettings ¶ added in v1.5.0
func (c *OVClient) UpdateLogicalInterconnectIgmpSettings(IgmpConfig IgmpSettingsUpdate, Id string) error
func (*OVClient) UpdateLogicalInterconnectInternalNetworks ¶ added in v1.0.0
func (*OVClient) UpdateLogicalInterconnectInternalNetworksForce ¶ added in v1.0.0
func (*OVClient) UpdateLogicalInterconnectPortFlapSettings ¶ added in v1.8.0
func (c *OVClient) UpdateLogicalInterconnectPortFlapSettings(PortFlapSetting PortFlapProtection, Id string) error
func (*OVClient) UpdateLogicalInterconnectPortMonitor ¶ added in v1.0.0
func (c *OVClient) UpdateLogicalInterconnectPortMonitor(PMConfig PortMonitor, Id string) error
func (*OVClient) UpdateLogicalInterconnectQosConfigurations ¶ added in v1.0.0
func (c *OVClient) UpdateLogicalInterconnectQosConfigurations(qosConfig QosConfiguration, Id string) error
func (*OVClient) UpdateLogicalInterconnectSNMPConfigurations ¶ added in v1.0.0
func (c *OVClient) UpdateLogicalInterconnectSNMPConfigurations(snmpConfig SnmpConfiguration, Id string) error
func (*OVClient) UpdateLogicalInterconnectTelemetryConfigurations ¶ added in v1.0.0
func (c *OVClient) UpdateLogicalInterconnectTelemetryConfigurations(TConfig TelemetryConfiguration, Id string, TcId string) error
func (*OVClient) UpdateLogicalSwitchGroup ¶
func (c *OVClient) UpdateLogicalSwitchGroup(logicalSwitchGroup LogicalSwitchGroup) error
func (*OVClient) UpdateNetworkSet ¶
func (c *OVClient) UpdateNetworkSet(netSet NetworkSet) error
func (*OVClient) UpdatePoolType ¶
Enables or disables the pool
func (*OVClient) UpdateProfileTemplate ¶ added in v0.8.1
func (c *OVClient) UpdateProfileTemplate(serverProfileTemplate ServerProfile) error
func (*OVClient) UpdateSNMPv1TrapDestinations ¶
func (c *OVClient) UpdateSNMPv1TrapDestinations(updateOption SNMPv1Trap, id string) (SNMPv1Trap, error)
func (*OVClient) UpdateSNMPv3TrapDestinations ¶
func (c *OVClient) UpdateSNMPv3TrapDestinations(updateOption SNMPv3Trap) (SNMPv3Trap, error)
func (*OVClient) UpdateSNMPv3User ¶
func (c *OVClient) UpdateSNMPv3User(updateOption SNMPv3User, id string) (SNMPv3User, error)
func (*OVClient) UpdateScope ¶ added in v1.0.0
func (*OVClient) UpdateScopeForResource ¶
UpdateScopeForResource - updates scopre uris on the resource
func (*OVClient) UpdateServerCertificate ¶ added in v1.3.0
func (c *OVClient) UpdateServerCertificate(serverC ServerCertificate) error
func (*OVClient) UpdateServerProfile ¶ added in v0.8.2
func (c *OVClient) UpdateServerProfile(p ServerProfile) error
func (*OVClient) UpdateStoragePool ¶ added in v1.0.0
func (c *OVClient) UpdateStoragePool(sPool StoragePool) error
func (*OVClient) UpdateStorageSystem ¶ added in v1.0.0
func (c *OVClient) UpdateStorageSystem(sSystem StorageSystem) error
func (*OVClient) UpdateStorageVolume ¶ added in v0.8.1
func (c *OVClient) UpdateStorageVolume(sVol StorageVolume) error
func (*OVClient) UpdateStorageVolumeTemplate ¶ added in v1.1.0
func (c *OVClient) UpdateStorageVolumeTemplate(sVolTemplate StorageVolumeTemplate) error
func (*OVClient) UpdateUplinkSet ¶ added in v1.0.0
func (*OVClient) UpdateValidateIds ¶
func (c *OVClient) UpdateValidateIds(Ids UpdateAllocatorList, poolType string) (UpdateAllocatorList, error)
func (*OVClient) UpdateiLOFirmwareVersion ¶
Updates iLO Firmware Version to minimum firmware version supported by Oneview appliance
type Option ¶ added in v1.1.0
type Option struct { ID string `json:"id,omitempty"` //"id":"sc3d" Name string `json:"name,omitempty"` // "name":"COM" OptionLinks []OptionLink `json:"optionLinks,omitempty"` // "optionLinks":{} }
type OptionLink ¶ added in v1.1.0
type OsDeploymentSetting ¶ added in v1.0.0
type OsDeploymentSetting struct { DeploymentModeSettings DeploymentModeSetting `json:"deploymentModeSettings,omitempty"` // "deploymentModeSettings": {}, ManageOSDeployment bool `json:"manageOSDeployment,omitempty"` // "manageOSDeployment": false, }
type OtherFamilyMember ¶ added in v1.0.0
type Partition ¶ added in v1.0.0
type Partition struct { AssociatedDevices string `json:"associatedDevices,omitempty"` // "associatedDevices": "", DeviceCount int `json:"deviceCount,omitempty"` // "deviceCount": 1, MemoryMb int `json:"memoryMb,omitempty"` // "memoryMb": 1, MonarchDevice int `json:"monarchDevice,omitempty"` // "monarchDevice": 1, PartitionHealth string `json:"partitionHealth,omitempty"` // "partitionHealth": "", PartitionID int `json:"partitionID,omitempty"` // "partitionID": "", PartitionName string `json:"partitionName,omitempty"` // "partitionName": "", PartitionStatus string `json:"partitionStatus,omitempty"` // "partitionStatus": "", ParttionUUID string `json:"parttionUUID,omitempty"` // "parttionUUID": "", PendingChange bool `json:"pendingChange,omitempty"` // "pendingChange": true, ProcessorCount int `json:"processorCount,omitempty"` // "processorCount": 1, RunState string `json:"runState,omitempty"` // "runState": "", ServerHardwareUri utils.Nstring `json:"serverHardwareUri,omitempty"` // "serverHardwareUri": "", }
type PatchData ¶
type PatchData struct { Op string `json:"op,omitempty"` //"op": "replace", Path string `json:"path,omitempty"` //"path": "/uidState", Value string `json:"value,omitempty"` //"value": "On" }
Patch Operation attributes
type PatchFirmware ¶
type PatchFirmware struct { Op string `json:"op,omitempty"` //"op": "replace", Path string `json:"path,omitempty"` //"path": "/firmware", Value *LogicalEnclosureFirmware `json:"value,omitempty"` //"value": {} }
type PatchPowerData ¶
type PerformancePolicies ¶ added in v1.1.0
type PhysicalPortv200 ¶
type PhysicalPortv200 struct { InterconnectPort int `json:"interconnectPort,omitempty"` // interconnectPort The downlink port number on the interconnect that hosts network connections for this adapter port. If the adapter port is not connected to an interconnect downlink port, the value will be 0. integer read only InterconnectURI utils.Nstring `json:"interconnectUri,omitempty"` // interconnectUri The URI of the interconnect that hosts network connections for this adapter port. string read only MAC string `json:"mac,omitempty"` // mac Physical mac address of this physical port. string read only PhysicalInterconnectPort int `json:"physicalInterconnectPort,omitempty"` // physicalInterconnectPort The downlink port number on the interconnect to which the adapter port is physically connected. If the adapter port is not connected to an interconnect downlink port, the value will be 0. integer read only PhysicalInterconnectURI utils.Nstring `json:"physicalInterconnectUri,omitempty"` // physicalInterconnectUri The URI of the interconnect to which the adapter port is physically connected. string read only PortNumber int `json:"portNumber,omitempty"` // portNumber Physical port number of the adapter. integer read only Type string `json:"type,omitempty"` // type Physical port type. Values include Ethernet and FibreChannel. Physical Server Port Type read only VirtualPorts []VirtualPortv200 `json:"virtualPorts,omitempty"` // For Flex-capable devices, a list of FlexNICs defined on the server. array of Server Fabric Virtual Port read only WWN string `json:"wwn,omitempty"` // wwn The world wide name of this physical port. string read only }
PhysicalPortv200 -
type Port ¶ added in v1.0.0
type Port struct { AssociatedUplinkSetUri utils.Nstring `json:"associatedUplinkSetUri,omitempty"` // "associatedUplinkSetUri": "/rest/uplink-sets/34d55132-fbb8-4ebc-aa3e-8164180ce845", Available bool `json:"available,omitempty"` // "available": true, BayNumber int `json:"bayNumber,omitempty"` // "bayNumber": 3, Capability []string `json:"capability,omitempty"` // "capability": [], Category string `json:"category,omitempty"` // "category": "ports", ConfigPortTypes []string `json:"configPortTypes,omitempty"` // "configPortTypes": [], ConnectorType string `json:"connectorType,omitempty"` // "connectorType": "QSFP+CR4", Created string `json:"created,omitempty"` // "created": null, DcbxInfo DcbxInfo `json:"dcbxInfo,omitempty"` // "dcbxInfo": {}, Description string `json:"description,omitempty"` // "description": null, Enabled bool `json:"enabled,omitempty"` // "enabled": true, ETag string `json:"eTag,omitempty"` // "eTag": null, FcPortProperties FcPortProperties `json:"fcPortProperties,omitempty"` // fcPortProperties: {} InterconnectName string `json:"interconnectName,omitempty"` // "interconnectName": "SYN03_Frame1, interconnect 3", LagId int `json:"lagId,omitempty"` // "lagId": 2, LagStates []string `json:"lagStates,omitempty"` // "lagStates": [], Modified string `json:"modified,omitempty"` // "modified": null, Name string `json:"name,omitempty"` // "name": "Q3", Neighbor Neighbor `json:"neighbor,omitempty"` // "neighbor": {}, OperationalSpeed string `json:"operationalSpeed,omitempty"` // "operationalSpeed": "Speed40G", PairedPortName string `json:"pairedPortName,omitempty"` // "pairedPortName": null, PortHealthStatus string `json:"portHealthStatus,omitempty"` // "portHealthStatus": "Normal", PortId string `json:"portId,omitempty"` // "portId": "2b322628-e5a9-4843-b184-08345e7140c3:Q3", PortMonitorConfigInfo string `json:"portMonitorConfigInfo,omitempty"` // "portMonitorConfigInfo": "NotMonitored", PortName string `json:"portName,omitempty"` // "portName": "Q3", PortRunningCapabilityType string `json:"portRunningCapabilityType,omitempty"` // "portRunningCapabilityType": null, PortSplitMode string `json:"portSplitMode,omitempty"` // "portSplitMode": "Unsplit", PortStatus string `json:"portStatus,omitempty"` // "portStatus": "Linked", PortStatusReason string `json:"portStatusReason,omitempty"` // "portStatusReason": "Active", PortType string `json:"portType,omitempty"` // "portType": "Uplink", PortTypeExtended string `json:"portTypeExtended,omitempty"` // "portTypeExtended": "External", State string `json:"state,omitempty"` // "state": null, Status string `json:"status,omitempty"` // "status": "OK", SubPorts []SubPort `json:"subports,omitempty"` // "subports": null, Type string `json:"type,omitempty"` // "type": "port", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/interconnects/2b322628-e5a9-4843-b184-08345e7140c3/ports/2b322628-e5a9-4843-b184-08345e7140c3:Q3", VendorSpecificPortName string `json:"vendorSpecificPortName,omitempty"` // "vendorSpecificPortName": null, Vlans string `json:"vlans,omitempty"` // "vlans": null }
type PortConfigInfos ¶ added in v1.0.0
type PortConfigInfos struct { DesiredSpeed string `json:"desiredSpeed,omitempty"` //"desiredSpeed":"Auto", ExpectedNeighbor *ExpectedNeighbor `json:"expectedNeighbor"` //"expectedNeighbor":"", Location Location `json:"location"` //"location":"{...}, PortUri string `json:"portUri"` //"portUri:"", }
type PortDeviceSpecificAttributes ¶ added in v1.0.0
type PortDeviceSpecificAttributes struct {
PartnerPort string `json:"partnerport,omitempty"`
}
type PortFlapProtection ¶ added in v1.8.0
type PortFlapProtection struct { Category utils.Nstring `json:"category,omitempty"` // "category": "snmp-configuration", ConsistencyChecking string `json:"consistencyChecking,omitempty"` // "consistencyChecking":"ExactMatch" Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": null, DetectionInterval int `json:"detectionInterval,omitempty"` //"detectionInterval" ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", ID string `json:"id,omitempty"` // "id": "0c398238-2d35-48eb-9eb5-7560d59f94b3", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "Portflap", NoOfSamplesDeclareFailures int `json:"noOfSamplesDeclareFailures,omitempty"` //"noOfSamplesDeclareFailures" :2, PortFlapProtectionMode string `json:"portFlapProtectionMode,omitempty"` //"portFlapProtectionMode":Detect, PortFlapThresholdPerInterval int `json:"portFlapThresholdPerInterval,omitempty"` //"portFlapThresholdPerInterval" :2, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "portFlapProtection", URI utils.Nstring `json:"uri,omitempty"` // "uri": null, }
portFlapProtection added in OV 2400
type PortInfo ¶
type PortInfo struct { DownlinkCapable bool `json:"downlinkCapable,omitempty"` // "downlinkCapable": true, PairedPortName utils.Nstring `json:"pairedPortName,omitempty"` // "pairedPortName": null, PortCapabilities []string `json:"portCapabilites,omitempty"` // "portCapabilities": ["ConnectionReservation","FibreChannel","ConnectionDeployment"], PortName string `json:"portName,omitempty"` // "portName": "4", PortNumber int `json:"portNumber,omitempty"` // "portNumber": 20, UplinkCapable bool `json:"uplinkCapable,omitempty"` // "uplinkCapable": true, }
type PortMapv200 ¶
type PortMapv200 struct {
DeviceSlots []DeviceSlotsv200 `json:"deviceSlots,omitempty"` // List of each slot found on the server hardware. read only
}
PortMapv200 -
type PortMonitor ¶ added in v1.0.0
type PortMonitor struct { Type string `json:"type,omitempty"` //type": "port-monitor", URI utils.Nstring `json:"uri,omitempty"` //"uri": "/rest/logical-interconnects/d4468f89-4442-4324-9c01-624c7382db2d/port-monitor", Category string `json:"category,omitempty"` //"category": "port-monitor", ETAG string `json:"eTag,omitempty"` //"eTag": "8a302a85-ec4d-4214-a3e0-10ef71d28769", Created string `json:"created,omitempty"` //"created": null, Modified string `json:"modified,omitempty"` //"modified": null, EnablePortMonitor bool `json:"enablePortMonitor,omitempty"` //"enablePortMonitor": false, AnalyzerPort MonitorPortInfo `json:"analyzerPort,omitempty"` //"analyzerPort": null, MonitoredPorts []MonitorPortInfo `json:"monitoredPorts,omitempty"` //"monitoredPorts": [], Description utils.Nstring `json:"description,omitempty"` //"description": null, State string `json:"state,omitempty"` //"state": null, Status string `json:"status,omitempty"` //"status": null, Name string `json:"name,omitempty"` //"name": "name2095641007-1533682087640" }
type PortMonitorPort ¶ added in v1.0.0
type PortMonitorPort struct { InterconnectName string `json:"interconnectName,omitempty"` //"interconnectName": "SYN03_Frame2, interconnect 6", PortName string `json:"portName,omitempty"` //"portName": "Q1:2", URI string `json:"uri,omitempty"` //"uri": "/rest/interconnects/aca6687f-1370-46cd-b832-7e3192dbddfd/ports/aca6687f-1370-46cd-b832-7e3192dbddfd:Q1:2 }
type PortMonitorPortCollection ¶ added in v1.0.0
type PortMonitorPortCollection struct { Type string `json:"type,omitempty"` //type": "PortMonitorPortCollection", URI utils.Nstring `json:"uri,omitempty"` //"uri":null Category string `json:"category,omitempty"` //"category": null, ETAG string `json:"eTag,omitempty"` //"eTag": null, Created string `json:"created,omitempty"` // "created": null, Modified string `json:"modified,omitempty"` // "modified": null, Start int `json:"start,omitempty"` // "start": 0, Count int `json:"count,omitempty"` //"count": 90, Total int `json:"total,omitempty"` //"total": 90, PrevPageUri string `json:"prevPageUri,omitempty"` //"prevPageUri": null, NextPageUri string `json:"nextPageUri,omitempty"` //"nextPageUri": null, Members []PortMonitorPort `json:"members,omitempty"` //"members":[], }
type Ports ¶ added in v1.0.0
type Ports struct { PortDeviceSpecificAttributes PortDeviceSpecificAttributes `json:"deviceSpecificAttributes,omitempty"` Id string `json:"id,omitempty"` Mode string `json:"mode,omitempty"` }
type Power ¶
type Power struct { Blade *ServerHardware State PowerState TaskStatus bool }
type PowerControl ¶
type PowerControl int
Power control
const ( P_COLDBOOT PowerControl = 1 + iota P_MOMPRESS P_PRESSANDHOLD P_RESET )
func (PowerControl) String ¶
func (pc PowerControl) String() string
type PowerRequest ¶
type PowerRequest struct { PowerState string `json:"powerState,omitempty"` PowerControl string `json:"powerControl,omitempty"` }
PowerRequest { 'body' => { 'powerState' => state.capitalize, 'powerControl' => 'MomentaryPress' } })
type PowerState ¶
type PowerState int
Create a PowerState type
const ( P_ON PowerState = 1 + iota P_OFF P_UKNOWN )
func (PowerState) Equal ¶
func (p PowerState) Equal(s string) bool
func (PowerState) String ¶
func (p PowerState) String() string
type PowerSupplyBay ¶ added in v1.0.0
type PowerSupplyBay struct { BayNumber int `json:"bayNumber,omitempty"` // "bayNumber": 1 ChangeState string `json:"changeState,omitempty"` // "changeState": "None" DevicePresence string `json:"devicePresence,omitempty"` // "devicePresence": "Absent" Model string `json:"model,omitempty"` // "model": "" OutputCapacityWatts int `json:"outputCapacityWatts,omitempty"` // "outputCapacityWatts": "" PartNumber string `json:"partNumber,omitempty"` // "partNumber": "" SerialNumber string `json:"serialNumber,omitempty"` // "serialNumber": "" SparePartNumber string `json:"sparePartNumber,omitempty"` // "sparePartNumber": "" Status string `json:"status,omitempty"` // "status": "" }
type PowerTask ¶
type PowerTask struct { Blade ServerHardware State PowerState // current power state Task }
Provides power execution status
func (*PowerTask) GetCurrentPowerState ¶
GetCurrentPowerState gets current power state
func (*PowerTask) NewPowerTask ¶
func (pt *PowerTask) NewPowerTask(b ServerHardware) *PowerTask
Create a new power task manager TODO: refactor PowerTask to use Task vs overloading it here.
func (*PowerTask) PowerExecutor ¶
func (pt *PowerTask) PowerExecutor(s PowerState) error
Submit desired power state and wait Most of our concurrency will happen in PowerExecutor
func (*PowerTask) SubmitPowerState ¶
func (pt *PowerTask) SubmitPowerState(s PowerState)
Submit desired power state
type Preference ¶ added in v1.3.0
type Preference struct { Type string `json:"type"` //"type":"Vmware" VirtualSwitchType string `json:"virtualSwitchType"` // "virtualSwitchType":"Standard" DistributedSwitchVersion string `json:"distributedSwitchVersion,omitempty"` //"distributedSwitchVersion":null DistributedSwitchUsage string `json:"distributedSwitchUsage,omitempty"` //"distributedSwitchUsage":null MultiNicVMotion bool `json:"multiNicVMotion"` //"multiNicVMotion":false DrsEnabled bool `json:"drsEnabled"` //"drsEnabled":true HaEnabled bool `json:"haEnabled"` //"haEnabled":false }
type PrivateVlanDomain ¶ added in v1.1.0
type PrivateVlanDomain struct { IsolatedNetwork *NetworkLite `json:"isolatedNetwork,omitempty"` // "isolatedNetwork": {...}, PrimaryNetwork *NetworkLite `json:"primaryNetwork,omitempty"` // "primaryNetwork": {...}, }
type PrivateVlanDomains ¶ added in v1.1.0
type PrivateVlanDomains struct { IsolatedNetwork *VlanAttributes `json:"isolatedNetwork,omitempty"` PrimaryNetwork *VlanAttributes `json:"primaryNetwork,omitempty"` }
type ProfileAffected ¶ added in v1.6.0
type ProgressUpdate ¶
type ProgressUpdate struct { TimeStamp string `json:"timestamp,omitempty"` // "timestamp":"2015-09-10T22:50:14.250Z", StatusUpdate string `json:"statusUpdate,omitempty"` // "statusUpdate":"Apply server settings.", ID int `json:"id,omitempty"` // "id":12566 }
ProgressUpdate - Task Progress Updates
type Properties ¶ added in v1.0.0
type Properties struct { Name string `json:"name,omitempty"` Description utils.Nstring `json:"description,omitempty"` Storagepool utils.Nstring `json:"storagePool,omitempty"` Size int `json:"size,omitempty"` ProvisioningType string `json:"provisioningType,omitempty"` DataTransferLimit int `json:"dataTransferLimit,omitempty"` IsDeduplicated bool `json:"isDeduplicated,omitempty"` IsEncrypted bool `json:"isEncrypted,omitempty"` IsPinned bool `json:"isPinned,omitempty"` IsCompressed bool `json:"isCompressed,omitempty"` DataProtectionLevel string `json:"dataProtectionLevel,omitempty"` }
type PropertiesSP ¶ added in v1.6.0
type PropertiesSP struct { DataProtectionLevel string `json:"dataProtectionLevel,omitempty"` //The data protection level of the volume. DataTransferLimit int `json:"dataTransferLimit,omitempty"` //The data transfer limit of the volume in mebibytes. Description string `json:"description,omitempty"` //The description of the volume. Folder string `json:"folder,omitempty"` //The folder of the volume. IsAdaptiveOptimizationEnabled bool `json:"isAdaptiveOptimizationEnabled,omitempty"` //Indicates whether or not the volume will use adaptive optimization. IsCompressed bool `json:"isCompressed,omitempty"` //Indicates whether or not compression is enabled on the volume. IsDataReductionEnabled bool `json:"isDataReductionEnabled,omitempty"` //Indicates whether or not data reduction, such as deduplication and compression, is enabled on the volume IsDeduplicated bool `json:"isDeduplicated,omitempty"` //Indicates whether or not deduplication is enabled on the volume. IsEncrypted bool `json:"isEncrypted,omitempty"` //Indicates whether or not encryption is enabled on the volume. IopsLimit int `json:"iopsLimit,omitempty"` //The IOPS (input/output operations per second) limit of the volume. IsPinned bool `json:"isPinned,omitempty"` //Indicates whether or not the volume is cache pinned. Name string `json:"name,omitempty"` //The name of the volume. PerformancePolicy string `json:"performancePolicy,omitempty"` //The performance policy of the volume. ProvisioningType string `json:"provisioningType,omitempty"` //The provisioning type of the volume. Size int `json:"size,omitempty"` //The size of the volume. SnapshotPool utils.Nstring `json:"snapshotPool,omitempty"` //A URI reference to the common provisioning group used to create snapshots StoragePool utils.Nstring `json:"storagePool,omitempty"` //The storage pool of the volume. TemplateVersion string `json:"templateVersion,omitempty"` //The template version of the volume. VolumeSet utils.Nstring `json:"volumeSet,omitempty"` //URI of a volume set to use for the volum }
type ProtectionTemplates ¶ added in v1.1.0
type ProvisioningParameters ¶ added in v0.8.1
type QosConfiguration ¶
type QosConfiguration struct { ActiveQosConfig *ActiveQosConfig `json:"activeQosConfig,omitempty"` //"activeQosConfig": {...}, Category string `json:"category,omitempty"` // "category": "qos-aggregated-configuration", ConsistencyChecking string `json:"consistencyChecking,omitempty"` // "consistencyChecking": "ExactMatch", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty,omitempty"` // "description": null, ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", InactiveFCoEQosConfig *InactiveFCoEQosConfig `json:"inactiveFCoEQosConfig,omitempty"` // "inactiveFCoEQosConfig": {...}, InactiveNonFCoEQosConfig *InactiveNonFCoEQosConfig `json:"inactiveNonFCoEQosConfig,omitempty"` // "inactiveNonFCoEQosConfig": {...}, InactiveRoceQosConfig *InactiveRoceQosConfig `json:"inactiveRoceQosConfig,omitempty"` // "inactiveRoceQosConfig": {...}, Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "Qos Config 1", State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "qos-aggregated-configuration", URI utils.Nstring `json:"uri,omitempty"` // "uri": null }
type QosTrafficClass ¶
type QosTrafficClass struct { ClassName string `json:"className,omitempty"` // "className": "FCoE lossless", DcbxConfiguration *DcbxConfigurations `json:"dcbxConfiguration,omitempty"` // "dcbxConfiguration": {...}, EgressDot1pValue *int `json:"egressDot1pValue,omitempty"` // "egressDot1pValue": 3, Enabled *bool `json:"enabled,omitempty"` // "enabled": true, MaxBandwidth int `json:"maxBandwidth,omitempty"` // "maxBandwidth": 100, RealTime *bool `json:"realTime,omitempty"` // "realTime": true, Roce *bool `json:"roce,omitempty"` // "roce": true }
type QosTrafficClassifier ¶
type QosTrafficClassifier struct { QosClassificationMapping *QosClassificationMapping `json:"qosClassificationMapping,omitempty"` // "qosClassificationMapping": {...}, QosTrafficClass *QosTrafficClass `json:"qosTrafficClass,omitempty"` // "qosTrafficClass": {...}, }
type RackManager ¶
type RackManager struct { Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8" Force bool `json:"force,omitempty"` Hostname utils.Nstring `json:"hostname,omitempty"` Id string `json:"id,omitempty"` // "43A48BDB-5FAC-42F5-9D1C-A280F48246AD" InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` LicensingIntent string `json:"licensingIntent,omitempty"` //OneViewNoiLO" Location string `json:"location,omitempty"` // null Model string `json:"model,omitempty"` // null Modified string `json:"modified,omitempty"` // "modified": "20150902T175611.657Z", Name string `json:"name,omitempty"` // PartNumber string `json:"partNumber,omitempty"` // "affinity": "Bay", RefreshState string `json:"refreshState,omitempty"` //Current refresh State of this Server Profile RemoteSupportUri utils.Nstring `json:"remoteSupportUri,omitempty"` // " Password utils.Nstring `json:"password,omitempty"` ScopesUri utils.Nstring `json:"scopesUri,omitempty"` // "scopesUri": SerialNumber utils.Nstring `json:"serialNumber,omitempty"` // "serialNumber": "2M25090RMW", State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", SubResources *SubResource `json:"subResources,omitempty"` // "subResources":[] SupportDataCollectionState string `json:"supportDataCollectionState,omitempty"` //supportDataCollectionState SupportDataCollectionType string `json:"supportDataCollectionType,omitempty"` SupportDataCollectionsUri string `json:"supportDataCollectionsUri,omitempty"` SupportState string `json:"supportState,omitempty"` Type string `json:"type,omitempty"` // "type": "ServerProfileV4", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles/9979b3a4- UserName string `json:"username,omitempty"` }
RackManager object for OV
type RackManagerList ¶
type RackManagerList struct { Type string `json:"type,omitempty"` // "type": "server-hardware-list-3", Category string `json:"category,omitempty"` // "category": "server-hardware", Count int `json:"count,omitempty"` // "count": 15, Created string `json:"created,omitempty"` // "created": "2015-09-08T04:58:21.489Z", ETAG string `json:"eTag,omitempty"` // "eTag": "1441688301489", Modified string `json:"modified,omitempty"` // "modified": "2015-09-08T04:58:21.489Z", NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, Start int `json:"start,omitempty"` // "start": 0, Total int `json:"total,omitempty"` // "total": 15, URI string `json:"uri,omitempty"` // "uri": "/rest/server-hardware/*/firmware?filter=serverModel='ProLiant DL380 Gen10'" Members []RackManager `json:"members,omitempty"` // "members":[] }
type ReachablePorts ¶ added in v1.0.0
type ReachablePortsList ¶ added in v1.0.0
type ReachablePortsList struct { Category string `json:"category,omitempty"` Members []ReachablePorts `json:"members,omitempty"` Total int `json:"total,omitempty"` Count int `json:"count,omitempty"` Start int `json:"start,omitempty"` PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
type RemoteSupport ¶ added in v1.0.0
type RemoteSupport struct { RemoteSupportUri string `json:"remoteSupportUri,omitempty"` // "remoteSupportUri": "/rest/support/interconnects/2b322628-e5a9-4843-b184-08345e7140c3", SupportDataCollectionState string `json:"supportDataCollectionState,omitempty"` // "supportDataCollectionState": , SupportDataCollectionType string `json:"supportDataCollectionType,omitempty"` // "supportDataCollectionType": , SupportDataCollectionsUri string `json:"supportDataCollectionsUri,omitempty"` // "supportDataCollectionsUri": "/rest/support/data-collections?deviceID=2b322628-e5a9-4843-b184-08345e7140c3&category=interconnects", SupportSettings SupportSettings `json:"supportSettings,omitempty"` // "supportSettings": {}, SupportState string `json:"supportState,omitempty"` // "supportState": "Disabled", }
type RemoteSupportSettings ¶ added in v1.0.0
type Reports ¶ added in v1.6.0
type Reports struct { AutomaticUpdates []string `json:"automaticUpdates,omitempty"` // "automaticUpdates": [], ConnectivityReport map[string]bool `json:"connectivityReport,omitempty"` // "connectivityReport:"{}, ManualUpdates []string `json:"manualUpdates,omitempty"` // "manualUpdates": [], PossibleTrafficLossTransaction bool `json:"possibleTrafficLossTransaction,omitempty"` // "possibleTrafficLossTransaction": false, }
type ResourcePath ¶ added in v1.3.0
type SHTPort ¶ added in v1.1.0
type SHTPort struct { Mapping int `json:"mapping,omitempty"` // "mapping": 3 MaxSpeedMbps int `json:"maxSpeedMbps,omitempty"` // "maxSpeedMbps":3553 MaxVFsSupported int `json:"maxVFsSupported,omitempty"` // "maxVFsSupported": 23 Number int `json:"number,omitempty"` // "number": 1 PhysicalFunctionCount int `json:"physicalFunctionCount,omitempty"` // "physicalFunctionCount": 4 SupportedFcGbps []string `json:"supportedFcGbps,omitempty"` // "supportedFcGbps": "" Type string `json:"type,omitempty"` // "type": "Ethernet" VirtualPort []VirtualPort `json:"virtualPorts,omitempty"` // "virtualPorts": {} }
type SNMPv1Trap ¶
type SNMPv1TrapList ¶
type SNMPv1TrapList struct { Count int `json:"count,omitempty"` Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` ETAG string `json:"eTag,omitempty"` Members []SNMPv1Trap `json:"members,omitempty"` // "members":[] Modified string `json:"modified,omitempty"` // "modified":null" NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, Start int `json:"start,omitempty"` // "start": 0, Total int `json:"total,omitempty"` // "total": 1, Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
type SNMPv3Trap ¶
type SNMPv3Trap struct { Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` DestinationAddress string `json:"destinationAddress,omitempty"` ETAG string `json:"eTag,omitempty"` EngineID string `json:"engineId,omitempty"` ID string `json:"id,omitempty"` Modified string `json:"modified,omitempty"` Port int `json:"port,omitempty"` TrapType string `json:"traptype,omitempty"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` UserID string `json:"userId,omitempty"` UserURI string `json:"userUri,omitempty"` }
type SNMPv3TrapList ¶
type SNMPv3TrapList struct { Count int `json:"count,omitempty"` Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` ETAG string `json:"eTag,omitempty"` Members []SNMPv3Trap `json:"members,omitempty"` // "members":[] Modified string `json:"modified,omitempty"` // "modified":null" NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, Start int `json:"start,omitempty"` // "start": 0, Total int `json:"total,omitempty"` // "total": 1, Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
type SNMPv3User ¶
type SNMPv3User struct { AuthenticationPassphrase string `json:"authenticationPassphrase,omitempty"` AuthenticationProtocol string `json:"authenticationProtocol,omitempty"` Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` ETAG string `json:"eTag,omitempty"` Id string `json:"id,omitempty"` Modified string `json:"modified,omitempty"` PrivacyPassphrase string `json:"privacyPassphrase,omitempty"` PrivacyProtocol string `json:"privacyProtocol,omitempty"` SecurityLevel string `json:"securityLevel,omitempty"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` UserName string `json:"userName,omitempty"` }
type SNMPv3UserList ¶
type SNMPv3UserList struct { Category string `json:"category,omitempty"` Count int `json:"count,omitempty"` Created string `json:"created,omitempty"` ETAG string `json:"eTag,omitempty"` Members []SNMPv3User `json:"members,omitempty"` // "members":[] Modified string `json:"modified,omitempty"` // "modified":null" NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, Start int `json:"start,omitempty"` // "start": 0, Total int `json:"total,omitempty"` // "total": 1, Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
type SanStorageOptions ¶
type SanStorageOptions struct { ComplianceControl string `json:"complianceControl,omitempty"` // complianceControl HostOSType string `json:"hostOSType,omitempty"` // hostOSType(required), The operating system type of the host. To retrieve the list of supported host OS types, issue a REST Get request using the /rest/storage-systems/host-types API. ManageSanStorage bool `json:"manageSanStorage"` // manageSanStorage(required), Identifies whether SAN storage is managed in this profile. ReapplyState string `json:"reapplyState,omitempty"` //Current reapply state of SAN storage component. SanSystemCredentials []SanSystemCredential `json:"sanSystemCredentials,omitempty"` //array of SanSystemCredentialsV2 SecretsGenerated string `json:"secretsGenerated,omitempty"` // The date and time the SAN Storage CHAP secrets were generated VolumeAttachments []VolumeAttachment `json:"volumeAttachments,omitempty"` // volumeAttachments, The list of storage volume attachments. array of Volume Attachment ScopeUri utils.Nstring `json:"scopeUri,omitempty"` //The URI for the resource scope assignments. SerialNumber string `json:"serialNumber,omitempty"` // serialNumber (searchable) A 10-byte value that is exposed to the Operating System as the server hardware's Serial Number. The value can be a virtual serial number, user defined serial number or physical serial number read from the server's ROM. It cannot be modified after the profile is created. SerialNumberType string `json:"serialNumberType,omitempty"` // serialNumberType (searchable) Specifies the type of Serial Number and UUID to be programmed into the server ROM. The value can be 'Virtual', 'UserDefined', or 'Physical'. The serialNumberType defaults to 'Virtual' when serialNumber or uuid are not specified. It cannot be modified after the profile is created. ServerHardwareReapplyState string `json:"serverHardwareReapplyState,omitempty"` //Current reapply state of the server that is associated with this server profile ServerHardwareTypeURI utils.Nstring `json:"serverHardwareTypeUri,omitempty"` // serverHardwareTypeUri Identifies the server hardware type for which the Server Profile was designed. The serverHardwareTypeUri is determined when the profile is created and cannot be modified. Use GET /rest/server-hardware-types to retrieve the list of server hardware types. ServerHardwareURI utils.Nstring `json:"serverHardwareUri,omitempty"` // serverHardwareUri Identifies the server hardware to which the server profile is currently assigned, if applicable. Use GET /rest/server-profiles/available-targets to retrieve the list of available servers. ServerProfileTemplateUri utils.Nstring `json:"serverProfileTemplateUri,omitempty"` //Identifies the Server profile template the Server Profile is based on ServiceManager string `json:"serviceManager,omitempty"` //Name of a service manager that is designated owner of the profile State string `json:"state,omitempty"` // state (searchable, readonly) Current State of this Server Profile Status string `json:"status,omitempty"` // status (searchable, readonly) Overall health status of this Server Profile TaskURI utils.Nstring `json:"taskUri,omitempty"` // taskUri (read only) URI of the task currently executing or most recently executed on this server profile. TemplateCompliance string `json:"templateCompliance,omitempty"` //The compliance state of the server profile with the server profile template. Type string `json:"type,omitempty"` // type (read only) Identifies the resource type. This field should always be set to 'ServerProfileV4'. URI utils.Nstring `json:"uri,omitempty"` // uri (searchable, readonly) URI of this Server Profile. The URI is automatically generated when the server profile is created and cannot be modified. UUID string `json:"uuid,omitempty"` // uuid (searchable) A 36-byte value that is exposed to the Operating System as the server hardware's UUID. The value can be a virtual uuid, user defined uuid or physical uuid read from the server's ROM. It cannot be modified after the profile is created. WWNType string `json:"wwnType,omitempty"` // wwnType (searchable) Specifies the type of WWN address to be programmed into the IO devices. The value can be 'Virtual' or 'Physical'. It cannot be modified after the profile is created. }
SanStorageOptions specify san storage No San
"sanStorage": { "volumeAttachments": [], "manageSanStorage": false },
type SanStorageV3 ¶
type SanStorageV3 struct { HostOSType string `json:"hostOSType,omitempty"` // hostOSType The operating system type of the host. To retrieve the list of supported host OS types, issue a REST Get request using the /rest/storage-systems/host-types API. string required ManageSanStorage bool `json:"manageSanStorage"` // manageSanStorage Identifies whether SAN storage is managed in this profile. Boolean required VolumeAttachments []VolumeAttachmentV2 `json:"volumeAttachments,omitempty"` // The list of storage volume attachments. }
SanStorageV3 -
type SanSystemCredential ¶ added in v1.6.0
type SanSystemCredential struct { ChapLevel string `json:"chapLevel"` //The Challenge Handshake Authentication Protocol (CHAP) authentication method ChapName string `json:"chapName"` //The Challenge Handshake Authentication Protocol (CHAP) name. ChapSecret string `json:"chapSecret"` //The CHAP secret or password. This secret is automatically generated. ChapSource string `json:"chapSource"` //The CHAP source is AutoGenerated or UserDefine MutualChapName string `json:"mutualChapName"` //The Mutual Challenge Handshake Authentication Protocol MutualChapSecret string `json:"mutualChapSecret"` //The Mutual-CHAP secret. StorageSystemUri utils.Nstring `json:"storageSystemUri"` //The iSCSI storage system uri for which CHAP authentication is used }
Clone clone volume attachment for submits
type Scope ¶ added in v1.0.0
type Scope struct { Description utils.Nstring `json:"description,omitempty"` // "description": "Test from script", Modified string `json:"modified,omitempty"` // "modified": "2018-12-13T10:24:25.267Z", Name string `json:"name,omitempty"` // "name": "updated-SD3", State string `json:"state,omitempty"` // "state": "null", Status string `json:"status,omitempty"` // "status": "null", Type string `json:"type,omitempty"` // "type": "scopesV3", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/scopes/7f658031-c942-4336-be7a-67957cf20ba2" ExtAttributes *ExtraAttributes `json:"extAttributes,omitempty"` //{} ApplianceId string `json:"applianceId,omitempty"` // "category": "scopes", Category string `json:"category,omitempty"` // "category": "scopes", Created string `json:"created,omitempty"` // "created": "2018-12-13T10:05:35.745Z", Etag string `json:"eTag,omitempty"` // "eTag": "\"2018-12-13T10:24:25.267Z/2018-12-13T10:24:25.267Z\"", OldUri utils.Nstring `json:"oldUri,omitempty"` //"oldUri": "null", ScopesUri utils.Nstring `json:"scopesUri,omitempty"` //"scopesUri": "/rest/scopes/resources/rest/scopes/7f658031-c942-4336-be7a-67957cf20ba2" InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` //"initialScopeUris": "/rest/scopes/b2b2e974-743c-11e4-b50b-e7f3da28b112" AddedResourceUris []utils.Nstring `json:"addedResourceUris,omitempty"` //"addedResourceUris": "/rest/ethernet-networks/6d0f7c41-9d1d-4de4-92ef-21a15bb0e8d0" RemovedResourceUris []utils.Nstring `json:"removedResourceUris,omitempty"` //"removedResourceUris":"/rest/ethernet-networks/6d0f7c41-9d1d-4de4-92ef-21a15bb0e8d0" ScopeUris []string `json:"scopeUris,omitempty"` //"scopeUris": [] ResourceUri string `json:"resourceUri,omitempty"` //"resourceUri": "/rest/example/7e05015d-bc6e-4201-99e6-13cd4299141f" }
type ScopeList ¶ added in v1.0.0
type ScopeList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/scopes" Members []Scope `json:"members,omitempty"` // "members":[] }
type ServerCertificate ¶ added in v1.3.0
type ServerCertificate struct { Category string `json:"category,omitempty"` // "category": "server-certificates", CertificateDetails []CertificateDetail `json:"certificateDetails,omitempty"` // "certificateDetails": "", CertificateStatus *CertificateStat `json:"certificateStatus,omitempty"` // "certificateStatus": "", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "Server Certificate 1", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "hostname or IP", State string `json:"state,omitempty"` // "state": "Connected", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "ServerCertificateV2", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-certificates/e2f0031b-52bd-4223-9ac1-d91cb519d548" }
type ServerDisplaySchema ¶
type ServerFirmware ¶ added in v1.1.0
type ServerFirmware struct { Category string `json:"category,omitempty"` // "category": "server-hardware", Components []Component `json:"components,omitempty"` // "components": [], Created string `json:"created,omitempty"` // "created": "2019-02-11T16:01:30.321Z", ETAG string `json:"eTag,omitempty"` // "eTag": null, Modified string `json:"modified,omitempty"` // "modified": "2019-02-11T16:01:30.324Z", ServerHardwareURI utils.Nstring `json:"serverHardwareUri,omitempty"` // "serverHardwareUri": "/rest/server-hardware/31393736-3831-4753-4831-30305837524E", ServerModel string `json:"serverModel,omitempty"` // "serverModel": "ProLiant BL660c Gen9", ServerName string `json:"serverName,omitempty"` // "serverName": "Encl1, bay 1", State string `json:"state,omitempty"` // "state": "Supported", Type string `json:"type,omitempty"` // "type": "server-hardware-firmware-1", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-hardware/31393736-3831-4753-4831-30305837524E/firmware" Client *OVClient `json:"-"` }
ServerFirmware get server firmware from ov
type ServerFirmwareList ¶
type ServerFirmwareList struct { Type string `json:"type,omitempty"` // "type": "server-hardware-list-3", Category string `json:"category,omitempty"` // "category": "server-hardware", Count int `json:"count,omitempty"` // "count": 15, Created string `json:"created,omitempty"` // "created": "2015-09-08T04:58:21.489Z", ETAG string `json:"eTag,omitempty"` // "eTag": "1441688301489", Modified string `json:"modified,omitempty"` // "modified": "2015-09-08T04:58:21.489Z", NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, Start int `json:"start,omitempty"` // "start": 0, Total int `json:"total,omitempty"` // "total": 15, URI string `json:"uri,omitempty"` // "uri": "/rest/server-hardware/*/firmware?filter=serverModel='ProLiant DL380 Gen10'" Members []ServerFirmware `json:"members,omitempty"` // "members":[] }
server firmware list, simillar to ServerProfileList with a TODO
type ServerHardware ¶
type ServerHardware struct { ServerHardwarev200 AssetTag string `json:"assetTag,omitempty"` // "assetTag": "[Unknown]", Category string `json:"category,omitempty"` // "category": "server-hardware", ConfigurationState string `json:"configurationState,omitempty"` // "configurationState": "Managed", Created string `json:"created,omitempty"` // "created": "2015-08-14T21:02:01.537Z", Description utils.Nstring `json:"description,omitempty"` // "description": null, ETAG string `json:"eTag,omitempty"` // "eTag": "1441147370086", Force bool `json:"force,omitempty"` // "force": false, FormFactor string `json:"formFactor,omitempty"` // "formFactor": "HalfHeight", Generation string `json:"generation,omitempty"` // "generation":, Hostname string `json:"hostname,omitempty"` // "hostname": "17.1.1.1" HostOsType int `json:"hostOsType,omitempty"` InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` LicensingIntent string `json:"licensingIntent,omitempty"` // "licensingIntent": "OneView", LocationURI utils.Nstring `json:"locationUri,omitempty"` // "locationUri": "/rest/enclosures/092SN51207RR", MaintenanceMode bool `json:"maintenanceMode,omitempty"` // "maintenanceMode": false, MemoryMb int `json:"memoryMb,omitempty"` // "memoryMb": 262144, Model string `json:"model,omitempty"` // "model": "ProLiant BL460c Gen9", Modified string `json:"modified,omitempty"` // "modified": "2015-09-01T22:42:50.086Z", MpHostsAndRanges []utils.Nstring `json:"mpHostsAndRanges,omitempty"` // "mpHostsAndRanges": ["172.1.1.1-172.1.1.10"], MpFirwareVersion string `json:"mpFirmwareVersion,omitempty"` // "mpFirmwareVersion": "2.03 Nov 07 2014", MpModel string `json:"mpModel,omitempty"` // "mpModel": "iLO4", Name string `json:"name,omitempty"` // "name": "se05, bay 16", OneTimeBoot string `json:"oneTimeBoot,omitempty"` // "oneTimeBoot": "USB", PartNumber string `json:"partNumber,omitempty"` // "partNumber": "727021-B21", Password string `json:"password,omitempty"` // "password":, Position int `json:"position,omitempty"` // "position": 16, PowerLock bool `json:"powerLock,omitempty"` // "powerLock": false, PowerState string `json:"powerState,omitempty"` // "powerState": "Off", ProcessorCoreCount int `json:"processorCoreCount,omitempty"` // "processorCoreCount": 14, ProcessorCount int `json:"processorCount,omitempty"` // "processorCount": 2, ProcessorSpeedMhz int `json:"processorSpeedMhz,omitempty"` // "processorSpeedMhz": 2300, ProcessorType string `json:"processorType,omitempty"` // "processorType": "Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz", RefreshState string `json:"refreshState,omitempty"` // "refreshState": "NotRefreshing", RomVersion string `json:"romVersion,omitempty"` // "romVersion": "I36 11/03/2014", ScopesUri string `json:"scopesUri,omitempty"` ScopeUris []utils.Nstring `json:"scopeUris,omitempty"` SerialNumber utils.Nstring `json:"serialNumber,omitempty"` // "serialNumber": "2M25090RMW", ServerGroupURI utils.Nstring `json:"serverGroupUri,omitempty"` // "serverGroupUri": "/rest/enclosure-groups/56ad0069-8362-42fd-b4e3-f5c5a69af039", ServerHardwareTypeURI utils.Nstring `json:"serverHardwareTypeUri,omitempty"` // "serverHardwareTypeUri": "/rest/server-hardware-types/DB7726F7-F601-4EA8-B4A6-D1EE1B32C07C", ServerName string `json:"servername,omitempty"` // "serverName": "hostname.hpe.com", ServerProfileURI utils.Nstring `json:"serverProfileUri,omitempty"` // "serverProfileUri": "/rest/server-profiles/9979b3a4-646a-4c3e-bca6-80ca0b403a93", ShortModel string `json:"shortModel,omitempty"` // "shortModel": "BL460c Gen9", State string `json:"state,omitempty"` // "state": "ProfileApplied", StateReason string `json:"stateReason,omitempty"` // "stateReason": "NotApplicable", Status string `json:"status,omitempty"` // "status": "Warning", Type string `json:"type,omitempty"` // "type": "server-hardware-3", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-hardware/30373237-3132-4D32-3235-303930524D57", Username string `json:"username,omitempty"` // "username": "dcs", UUID utils.Nstring `json:"uuid,omitempty"` // "uuid": "30373237-3132-4D32-3235-303930524D57", UidState string `json:"uidState,omitempty"` // "uidState": "Off", VirtualSerialNumber utils.Nstring `json:"VirtualSerialNumber,omitempty"` // "virtualSerialNumber": "", VirtualUUID string `json:"virtualUuid,omitempty"` // "virtualUuid": "00000000-0000-0000-0000-000000000000" // v1 properties MpDnsName string `json:"mpDnsName,omitempty"` // "mpDnsName": "ILO2M25090RMW", MpIpAddress string `json:"mpIpAddress,omitempty"` // make this private to force calls to GetIloIPAddress() "mpIpAddress": "172.28.3.136", // extra client struct Client *OVClient `json:"-"` }
ServerHardware get server hardware from ov
func (ServerHardware) GetIloIPAddress ¶
func (h ServerHardware) GetIloIPAddress() string
GetIloIPAddress - Use MpIpAddress for v1 and For v2 check MpHostInfo is not nil , loop through MpHostInfo.MpIPAddress[], and return the first nonzero address
func (ServerHardware) GetPowerState ¶
func (s ServerHardware) GetPowerState() (PowerState, error)
GetPowerState gets the power state
type ServerHardwareList ¶
type ServerHardwareList struct { Type string `json:"type,omitempty"` // "type": "server-hardware-list-3", Category string `json:"category,omitempty"` // "category": "server-hardware", Count int `json:"count,omitempty"` // "count": 15, Created string `json:"created,omitempty"` // "created": "2015-09-08T04:58:21.489Z", ETAG string `json:"eTag,omitempty"` // "eTag": "1441688301489", Modified string `json:"modified,omitempty"` // "modified": "2015-09-08T04:58:21.489Z", NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, Start int `json:"start,omitempty"` // "start": 0, Total int `json:"total,omitempty"` // "total": 15, URI string `json:"uri,omitempty"` // "uri": "/rest/server-hardware?sort=name:asc&filter=serverHardwareTypeUri=%27/rest/server-hardware-types/DB7726F7-F601-4EA8-B4A6-D1EE1B32C07C%27&filter=serverGroupUri=%27/rest/enclosure-groups/56ad0069-8362-42fd-b4e3-f5c5a69af039%27&start=0&count=100" Members []ServerHardware `json:"members,omitempty"` // "members":[] }
server hardware list, simillar to ServerProfileList with a TODO
type ServerHardwareType ¶ added in v0.8.1
type ServerHardwareType struct { Adapters []Adapter `json:"adapters,omitempty"` // "adapters": {}, BiosSettings []BiosSetting `json:"biosSettings,omitempty"` //"biosSettings": {}, BootCapabilities []string `json:"bootCapabilities,omitempty"` // "bootCapabilities":{}, BootModes []string `json:"bootModes,omitempty"` // "bootModes":{}, Capabilities []string `json:"capabilities,omitempty"` // "capabilities": {}, Category string `json:"category,omitempty"` // "category": "server-hardware", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "ServerHardware", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", Family string `json:"family,omitempty"` // "family":"135", FormFactor string `json:"formFactor,omitempty"` // "formFactor":"HalfHeight", Generation string `json:"generation,omitempty` // "generation":"Gen10", Model string `json:"model,omitempty"` // "model":"", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "ServerHardware 1", Platform string `json:"platform,omitempty"` // "platform": "ComputeModule", PxeBootPolicies []string `json:"pxeBootPolicies,omitempty"` // "pxeBootPolicies":{}, ServerDisplaySchema []ServerDisplaySchema `json:"serverDisplaySchema,omitempty"` // "serverDisplaySchema":{}, StorageCapabilities *StorageCapability `json:"storageCapabilities,omitempty"` // "storageCapabilities":{..,}, Type string `json:"type,omitempty"` // "type": "server-hardware-type-10", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-hardware-types/e2f0031b-52bd-4223-9ac1-d91cb519d548" UefiClass string `json:"uefiClass,omitempty"` // "uefiClass":"2" }
type ServerHardwareTypeList ¶ added in v0.8.1
type ServerHardwareTypeList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-hardware-types?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []ServerHardwareType `json:"members,omitempty"` // "members":[] }
type ServerHardwarev200 ¶
type ServerHardwarev200 struct { IntelligentProvisioningVersion string `json:"intelligentProvisioningVersion,omitempty"` // intelligentProvisioningVersion The installed version of the Intelligent Provisioning embedded server provisioning tool. string MpHostInfo *MpHostInfov200 `json:"mpHostInfo,omitempty"` // The host name and IP address information for the Management Processor that resides on this server. MpState string `json:"mpState,omitempty"` // Indicates the current state of the management processor. PortMap *PortMapv200 `json:"portMap,omitempty"` // A list of adapters/slots, their ports and attributes. This information is available for blade servers but not rack servers. ServerSettings *ServerSettingsv200 `json:"serverSettings,omitempty"` // Indicates the current settings on the server and state of these settings. Signature *Signaturev200 `json:"signature,omitempty"` // Data representing the current configuration or 'signature' of the server. }
ServerHardwarev200 get server hardware from ov mphostinfo is private to force calls to GetIloIPAddress
type ServerProfile ¶
type ServerProfile struct { Affinity string `json:"affinity,omitempty"` // "affinity": "Bay", AssociatedServer utils.Nstring `json:"associatedServer,omitempty"` // "associatedServer": null, Bios *BiosOption `json:"bios,omitempty"` // "bios": { }, Boot BootManagement `json:"boot,omitempty"` // "boot": { }, BootMode BootModeOption `json:"bootMode,omitempty"` // "bootMode": {}, Category string `json:"category,omitempty"` // "category": "server-profiles", ConnectionSettings ConnectionSettings `json:"connectionSettings,omitempty"` Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description string `json:"description,omitempty"` // "description": "Docker Machine Bay 16", ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8" EnclosureBay int `json:"enclosureBay,omitempty"` // "enclosureBay": 16, EnclosureGroupURI utils.Nstring `json:"enclosureGroupUri,omitempty"` // "enclosureGroupUri": "/rest/enclosure-groups/56ad0069-8362-42fd-b4e3-f5c5a69af039", EnclosureURI utils.Nstring `json:"enclosureUri,omitempty"` // "enclosureUri": "/rest/enclosures/092SN51207RR", Firmware FirmwareOption `json:"firmware,omitempty"` // "firmware": { }, HideUnusedFlexNics bool `json:"hideUnusedFlexNics,omitempty"` // "hideUnusedFlexNics": false, InProgress bool `json:"inProgress,omitempty"` // "inProgress": false, InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` // "initialScopeUris":[], IscsiInitiatorName string `json:"iscsiInitiatorName,omitempty"` //When iscsiInitatorNameType is set to UserDefined IscsiInitiatorNameType string `json:"iscsiInitiatorNameType,omitempty"` //When set to UserDefined, the value of iscsiInitatorName is used as provided LocalStorage LocalStorageOptions `json:"localStorage,omitempty"` // "localStorage": {}, MACType string `json:"macType,omitempty"` // "macType": "Physical", ManagementProcessors ManagementProcessors `json:"-"` // ManagementProcessor IntManagementProcessor `json:"managementProcessor,omitempty"` // Modified string `json:"modified,omitempty"` // "modified": "20150902T175611.657Z", Name string `json:"name,omitempty"` // "name": "Server_Profile_scs79", ProfileUUID utils.Nstring `json:"profileUUID,omitempty"` //The automatically generated 36-byte Universally Unique ID of the server profile. RefreshState string `json:"refreshState,omitempty"` //Current refresh State of this Server Profile SanStorage SanStorageOptions `json:"sanStorage,omitempty"` // "sanStorage": {}, ScopesUri utils.Nstring `json:"scopesUri,omitempty"` // "scopesUri": "/rest/scopes/resources/rest/server-profiles/DB7726F7-F601-4EA8-B4A6-D1EE1B32C07C", SerialNumber utils.Nstring `json:"serialNumber,omitempty"` // "serialNumber": "2M25090RMW", SerialNumberType string `json:"serialNumberType,omitempty"` // "serialNumberType": "Physical", ServerHardwareReapplyState string `json:"serverHardwareReapplyState,omitempty"` //Current reapply state of the server that is associated with this server profile ServerHardwareTypeURI utils.Nstring `json:"serverHardwareTypeUri,omitempty"` // "serverHardwareTypeUri": "/rest/server-hardware-types/DB7726F7-F601-4EA8-B4A6-D1EE1B32C07C", ServerHardwareURI utils.Nstring `json:"serverHardwareUri,omitempty"` // "serverHardwareUri": "/rest/server-hardware/30373237-3132-4D32-3235-303930524D57", ServerProfileDescription string `json:"serverProfileDescription,omitempty"` // "serverProfileDescription": ServerProfileTemplateURI utils.Nstring `json:"serverProfileTemplateUri,omitempty"` // undocmented option ServiceManager string `json:"serviceManager,omitempty"` //Name of a service manager that is designated owner of the profile State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", TaskURI utils.Nstring `json:"taskUri,omitempty"` // "taskUri": "/rest/tasks/6F0DF438-7D30-41A2-A36D-62AB866BC7E8", TemplateCompliance string `json:"templateCompliance,omitempty"` // v2 Compliant, NonCompliant, Unknown Type string `json:"type,omitempty"` // "type": "ServerProfileV4", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles/9979b3a4-646a-4c3e-bca6-80ca0b403a93", UUID utils.Nstring `json:"uuid,omitempty"` // "uuid": "30373237-3132-4D32-3235-303930524D57", WWNType string `json:"wwnType,omitempty"` // "wwnType": "Physical", }
ServerProfile - server profile object for ov
func (ServerProfile) GetConnectionByName ¶
func (s ServerProfile) GetConnectionByName(name string) (Connection, error)
GetConnectionByName gets the connection from a profile with a given name
type ServerProfileComplianceDetails ¶ added in v1.3.0
type ServerProfileConfig ¶
type ServerProfileConfig struct { InventoryHostName string `json:"connection_network_name"` ServerProfileDescription string `json:"server_profile_template_name"` ServerHardwareName string `json:"server_hardware_name"` EnclosureGroupName string `json:"enclosure_group_name"` ServerProfileName string `json:"server_profile_name"` NetworkNamestring string `json:"network_name"` OvTemplatestring string `json:"ov_template"` }
type ServerProfileList ¶
type ServerProfileList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=serialNumber%20matches%20%272M25090RMW%27&sort=name:asc" Members []ServerProfile `json:"members,omitempty"` // "members":[] }
ServerProfileList a list of ServerProfile objects TODO: missing properties, need to think how we can make a higher lvl structure like an OVList Then things like Members are inherited
type ServerProfilev200 ¶
type ServerProfilev200 struct { TemplateCompliance string `json:"templateCompliance,omitempty"` // v2 Compliant, NonCompliant, Unknown ServerProfileTemplateURI utils.Nstring `json:"serverProfileTemplateUri,omitempty"` // undocmented option }
ServerProfilev200 - v200 changes to ServerProfile
type ServerSettingsv200 ¶
type ServerSettingsv200 struct { FirmwareAndDriversInstallState *FirmwareAndDriversInstallStatev200 `json:"firmwareAndDriversInstallState,omitempty"` // firmwareAndDriversInstallState The current installation status details of the firmware and/or OS drivers on the server. HPSmartUpdateToolStatus *HpSmartUpdateToolStatusv200 `json:"hpSmartUpdateToolStatus,omitempty"` // The status of HP Smart Update Tool installed on the server. }
ServerSettingsv200 -
type Servers ¶ added in v1.5.0
type Servers struct { EnclosureGroupName string `json:"enclosureGroupName,omitempty"` EnclosureName string `json:"enclosureName,omitempty"` EnclosureUri string `json:"enclosureUri,omitempty"` EnclosureBay int `json:"enclosureBay,omitempty"` ServerHardwareName string `json:"serverHardwareName,omitempty"` ServerHardwareUri string `json:"serverHardwareUri,omitempty"` ServerHardwareTypeName string `json:"serverHardwareTypeName,omitempty"` ServerHardwareTypeUri string `json:"serverHardwareTypeUri,omitempty"` EnclosureGroupUri string `json:"enclosuregroupUri,omitempty"` PowerState string `json:"powerState,omitempty"` FormFactor []string `json:"formFactor,omitempty"` ServerHardwareStatus string `json:"serverHardwareStatus,omitempty"` }
type SflowAgent ¶ added in v1.1.0
type SflowAgent struct { BayNumber int `json:"bayNumber,omitempty"` // "bayNumber": 1, EnclosureIndex int `json:"enclosureIndex,omitempty"` // "enclosureIndex": 1, IpAddr string `json:"ipAddr,omitempty"` // "ipAddr": "172.18.1.11", IpMode string `json:"ipMode,omitempty"` // "ipAddr": "SflowAgent", Status string `json:"status,omitempty"` // "status": "Enabled", SubnetMask string `json:"subnetMask,omitempty"` // "subnetMask": "", }
type SflowCollector ¶ added in v1.1.0
type SflowCollector struct { CollectorEnabled *bool `json:"collectorEnabled,omitempty"` // "collectorEnabled": false, CollectorId int `json:"collectorId,omitempty"` // "collectorId": 1, IPAddress string `json:"ipAddress"` //"ipAddress": "172.18.1.11", MaxDatagramSize int `json:"maxDatagramSize,omitempty"` // "maxDatagramSize": 1400, MaxHeaderSize int `json:"maxHeaderSize,omitempty"` // "maxHeaderSize": 128, Name string `json:"name,omitempty"` // "name": "", Port int `json:"port,omitempty"` // "port": 6343, }
type SflowConfiguration ¶ added in v1.1.0
type SflowConfiguration struct { Category string `json:"category,omitempty"` // "category": "sflow-configuration", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", ConsistencyChecking string `json:"consistencyChecking,omitempty"` // "consistencyChecking": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": null, ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", Enabled *bool `json:"enabled,omitempty"` // "enabled": false, Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "sflow configuration", SflowAgents []SflowAgent `json:"sflowAgents,omitempty"` // "sflowAgents": {...}, SflowCollectors []SflowCollector `json:"sflowCollectors,omitempty"` // "sflowCollectors": {...}, SflowNetwork *SflowNetwork `json:"sflowNetwork,omitempty"` // "sflowNetwork": {...}, SflowPorts []SflowPort `json:"sflowPorts,omitempty"` // "sflowPorts": {...}, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "sflow-configuration", URI utils.Nstring `json:"uri,omitempty"` // "uri": null }
type SflowConfigurationMode ¶ added in v1.1.0
type SflowConfigurationMode struct {
// contains filtered or unexported fields
}
type SflowNetwork ¶ added in v1.1.0
type SflowPort ¶ added in v1.1.0
type SflowPort struct { BayNumber int `json:"bayNumber,omitempty"` // "bayNumber": 1, CollectorId int `json:"collectorId,omitempty"` // "collectorId": 1, EnclosureIndex int `json:"enclosureIndex,omitempty"` // "enclosureIndex": 1, IcmName string `json:"icmName,omitempty"` // "icmName": "", PortName string `json:"portName,omitempty"` // "portName": "", SflowConfigurationModes []SflowConfigurationMode `json:"sflowConfigurationModes,omitempty"` // "sflowConfigurationModes": {...}, }
type SharedStorageVolumes ¶
type SharedStorageVolumes struct {}
type Signaturev200 ¶
type Signaturev200 struct { PersonalityChecksum int `json:"personalityChecksum,omitempty"` // A calculated checksum of the server 'personality,' based on the defined connections and server identifiers. integer read only ServerHwChecksum int `json:"serverHwChecksum,omitempty"` // A calculated checksum of the server hardware, based on the hardware components installed in the server. integer read only }
Signaturev200 -
type SnmpConfiguration ¶
type SnmpConfiguration struct { Category utils.Nstring `json:"category,omitempty"` // "category": "snmp-configuration", ConsistencyChecking string `json:"consistencyChecking,omitempty"` // "created": "20150831T154835.250Z", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": null, ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", Enabled *bool `json:"enabled,omitempty"` // "enabled": true, Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "Snmp Config", ReadCommunity *string `json:"readCommunity,omitempty"` // "readCommunity": "public", SnmpAccess []string `json:"snmpAccess"` // "snmpAccess": [], SnmpUsers []Snmpv3User `json:"snmpUsers"` // "snmpUsers": [] State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", SystemContact string `json:"systemContact,omitempty"` // "systemContact": "", TrapDestinations []TrapDestination `json:"trapDestinations"` // "trapDestinations": {...} Type string `json:"type,omitempty"` // "type": "snmp-configuration", URI utils.Nstring `json:"uri,omitempty"` // "uri": null, V3Enabled *bool `json:"v3Enabled,omitempty"` // "v3Enabled": true }
TODO SNMPConfiguration
type Snmpv3User ¶ added in v1.0.0
type Snmpv3User struct { SnmpV3UserName string `json:"snmpV3UserName,omitempty"` //"snmpV3UserName":"", UserCredentials []ExtentedProperty `json:"userCredentials,omitempty"` //"UserCredentials":"", V3AuthProtocol string `json:"v3AuthProtocol,omitempty"` // "v3AuthProtocol":"", V3PrivacyProtocol string `json:"v3PrivacyProtocol,omitempty"` // "v3PrivacyProtocol":"" }
type StartStopFragments ¶ added in v1.5.0
type StorageAttachment ¶ added in v1.0.0
type StorageAttachment struct { Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` Description utils.Nstring `json:"description,omitempty"` ETAG string `json:"eTag,omitempty"` Host *Host `json:"host,omitempty"` Paths []Paths `json:"paths,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` StorageSystemUri utils.Nstring `json:"storageSystemUri,omitempty"` StorageVolumeUri utils.Nstring `json:"storageVolumeUri,omitempty"` OwnerUri utils.Nstring `json:"ownerUri,omitempty"` }
type StorageAttachmentsList ¶ added in v1.1.0
type StorageAttachmentsList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/storage-pools?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []StorageAttachment `json:"members,omitempty"` // "members":[] }
type StorageCapability ¶ added in v1.1.0
type StorageCapability struct { ConotrollerCapabilities []string `json:"controllerCapabilities,omitempty"` // "controllerCapabilities":{} ControllerModes []string `json:"controllerModes,omitempty"` // "controllerModes":{} DedicatedSpareSupported bool `json:"dedicatedSpareSupported,omitempty"` // "dedicatedSpareSupported":false DriveTechnologies []string `json:"driveTechnologies,omitempty"` // "driveTechnologies":{} DriveWriteCacheSupported bool `json:"driveWriteCacheSupported,omitempty"` // "driveWriteCacheSupported":false MaximumDrives int `json:"maximumDrives,omitempty"` // "maximumDrives":5 NvmeBackplaneCapable bool `json:"nvmeBackplaneCapable,omitempty"` // "nvmeBackplaneCapable":true RaidLevels []string `json:"raidLevels,omitempty"` // "raidLevels":{} StandupControllerSupported bool `json:"standupControllerSupported,omitempty"` // "standupControllerSupported,":false }
type StoragePath ¶
type StoragePath struct { ConnectionID int `json:"connectionId,omitempty"` // connectionId (required), The ID of the connection associated with this storage path. Use GET /rest/server-profiles/available-networks to retrieve the list of available networks. IsEnabled bool `json:"isEnabled"` // isEnabled (required), Identifies whether the storage path is enabled. NetworkUri utils.Nstring `json:"networkUri"` //The URI of the network associated with this storage path Status string `json:"status,omitempty"` // status (read only), The overall health status of the storage path. Targets []Target `json:"targets,omitempty"` // only set when storageTargetType is TargetPorts TargetSelector string `json:"targetSelector,omitempty"` }
StoragePath storage path host-to-target paths Use GET /rest/storage-systems/{arrayid}/managedPorts?query="expectedNetworkUri EQ '/rest/fc-networks/{netowrk-id}'" to retrieve the storage targets for the associated network.
type StoragePathV2 ¶
type StoragePathV2 struct { ConnectionID int `json:"connectionId,omitempty"` // connectionId The ID of the connection associated with this storage path. Use GET /rest/server-profiles/available-networks to retrieve the list of available networks. integer required IsEnabled bool `json:"isEnabled,omitempty"` // isEnabled Identifies whether the storage path is enabled. Boolean required Status string `json:"status,omitempty"` // status The overall health status of the storage path. string read only StorageTargetType string `json:"storageTargetType,omitempty"` // storageTargetType If set to Auto, the storage system will automatically identify the storage targets. In this case, set the storageTargets field to an empty array. If set to TargetPorts, the storage targets can be manually specified in the storageTargets field using comma-separated strings. StorageTargets []string `json:"storageTargets,omitempty"` // The WWPNs (World Wide Port Names) of the targets on the storage system. If storageTargetType is set to Auto, the storage system will automatically select the target ports, in which case the storageTargets field is not needed and should be set to an empty array. If storageTargetType is set to TargetPorts, then the the storageTargets field should be an array of comma-separated strings representing the WWPNs intended to be used to connect with the storage system. Use GET /rest/storage-systems/{arrayid}/managedPorts?query="expectedNetworkUri EQ '/rest/fc-networks/{netowrk-id}'" to retrieve the storage targets for the associated network. }
StoragePathV2 - A list of host-to-target path associations.
type StoragePool ¶ added in v1.1.0
type StoragePool struct { Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` Description utils.Nstring `json:"description"` ETAG string `json:"eTag,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` AllocatedCapacity string `json:"allocatedCapacity,omitempty"` InitialScopeUris utils.Nstring `json:"initialScopeUris,omitempty"` DeviceSpecificAttributes *DeviceSpecificAttributesStoragePool `json:"deviceSpecificAttributes,omitempty"` StorageSystemUri utils.Nstring `json:"storageSystemUri,omitempty"` TotalCapacity string `json:"totalCapacity,omitempty"` FreeCapacity string `json:"freeCapacity,omitempty"` IsManaged bool `json:"isManaged"` }
type StoragePoolsList ¶ added in v1.1.0
type StoragePoolsList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/storage-pools?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []StoragePool `json:"members,omitempty"` // "members":[] }
type StorageSystem ¶ added in v1.1.0
type StorageSystem struct { Hostname string `json:"hostname,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Credentials *Credentials `json:"credentials,omitempty"` Category string `json:"category,omitempty"` ETAG string `json:"eTag,omitempty"` Name string `json:"name,omitempty"` Description utils.Nstring `json:"description,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` Family string `json:"family,omitempty"` StoragePoolsUri utils.Nstring `json:"storagePoolsUri,omitempty"` TotalCapacity string `json:"totalCapacity,omitempty"` Mode string `json:"mode,omitempty"` Ports []Ports `json:"ports,omitempty"` StorageSystemDeviceSpecificAttributes *StorageSystemDeviceSpecificAttributes `json:"deviceSpecificAttributes,omitempty"` }
type StorageSystemConfig ¶
type StorageSystemDeviceSpecificAttributes ¶ added in v1.0.0
type StorageSystemDeviceSpecificAttributes struct { Firmware string `json:"firmware,omitempty"` Model string `json:"model,omitempty"` ManagedPools []ManagedPools `json:"managedPools,omitempty"` ManagedDomain string `json:"managedDomain,omitempty"` DefaultEncryptionCipher string `json:"defaultEncryptionCipher,omitempty"` IsDefaultEncryptionForced bool `json:"isDefaultEncryptionForced,omitempty"` PerformancePolicies []PerformancePolicies `json:"performancePolicies,omitempty"` ProtectionTemplates []ProtectionTemplates `json:"protectionTemplates,omitempty"` SoftwareVersion string `json:"softwareVersion,omitempty"` }
type StorageSystemsList ¶ added in v1.1.0
type StorageSystemsList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/storage-systems" Members []StorageSystem `json:"members,omitempty"` // "members":[] }
type StorageVolume ¶ added in v1.1.0
type StorageVolume struct { Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` Description utils.Nstring `json:"description,omitempty"` ETAG string `json:"eTag,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` DeviceVolumeName string `json:"deviceVolumeName,omitempty"` RequestingRefresh bool `json:"requestingRefresh,omitempty"` AllocatedCapacity string `json:"allocatedCapacity,omitempty"` InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` DeviceSpecificAttributes *DeviceSpecificAttributes `json:"deviceSpecificAttributes,omitempty"` VolumeTemplateUri utils.Nstring `json:"volumeTemplateUri,omitempty"` StoragePoolUri utils.Nstring `json:"storagePoolUri,omitempty"` StorageSystemUri utils.Nstring `json:"storageSystemUri,omitempty"` ProvisionedCapacity string `json:"provisionedCapacity,omitempty"` Properties *Properties `json:"properties,omitempty"` TemplateURI utils.Nstring `json:"templateURI,omitempty"` IsPermanent *bool `json:"isPermanent,omitempty"` ProvisioningTypeForUpdate string `json:"provisioningType,omitempty"` TemplateVersion string `json:"templateVersion,omitempty"` }
type StorageVolumeTemplate ¶ added in v1.1.0
type StorageVolumeTemplate struct { Category string `json:"category,omitempty"` Created string `json:"created,omitempty"` CompatibleStorageSystemsUri utils.Nstring `json:"compatibleStorageSystemsUri,omitempty"` Description utils.Nstring `json:"description,omitempty"` ETAG string `json:"eTag,omitempty"` IsRoot bool `json:"isRoot,omitempty"` ScopesURI utils.Nstring `json:"scopesUri,omitempty"` Name string `json:"name,omitempty"` State string `json:"state,omitempty"` Status string `json:"status,omitempty"` Type string `json:"type,omitempty"` URI utils.Nstring `json:"uri,omitempty"` InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` RootTemplateUri utils.Nstring `json:"rootTemplateUri,omitempty"` StoragePoolUri utils.Nstring `json:"storagePoolUri,omitempty"` Version string `json:"version,omitempty"` Uuid string `json:"uuid,omitempty"` Family string `json:"family,omitempty"` TemplateProperties *TemplateProperties `json:"properties,omitempty"` }
type StorageVolumeTemplateList ¶ added in v1.1.0
type StorageVolumeTemplateList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []StorageVolumeTemplate `json:"members,omitempty"` // "members":[] }
type StorageVolumesList ¶ added in v1.1.0
type StorageVolumesList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []StorageVolume `json:"members,omitempty"` // "members":[] }
type SubResource ¶
type SubResource struct { Chassis subresourceDat Partition subresourceDat Managers subresourceDat RemoteSupportSettings subresourceDat FwInventories subresourceDat }
type SubnetAllocatorList ¶
type SubnetCollectorList ¶
type SubnetList ¶
type SubnetList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/id-pools/ipv4/subnets?filter=networkId='10.10'" Members []Ipv4Subnet `json:"members,omitempty"` // "members":[] }
type SupportDumps ¶ added in v1.6.0
type SupportDumps struct { Encrypt utils.Nstring `json:"encrypt,omitempty"` //""encrypt":"true", ErrorCode string `json:"errorCode,omitempty"` //""errorCode":"MyDump16", ExcludeApplianceDump bool `json:"excludeApplianceDump,omitempty"` //""excludeApplianceDump":false, LogicalInterconnectUris []utils.Nstring `json:"logicalInterconnectUris,omitempty"` //"logicalInterconnectUris":"", }
type SupportSettings ¶ added in v1.0.0
type SwitchMapEntry ¶
type SwitchMapEntry struct { PermittedSwitchTypeUri utils.Nstring `json:"permittedSwitchTypeUri"` //"permittedSwitchTypeUri": "/rest/switch-types/a2bc8f42-8bb8-4560-b80f-6c3c0e0d66e0", LogicalLocation LogicalLocation `json:"logicalLocation"` }
type SwitchMapTemplate ¶
type SwitchMapTemplate struct {
SwitchMapEntryTemplates []SwitchMapEntry `json:"switchMapEntryTemplates"`
}
type SwitchType ¶
type SwitchTypeList ¶
type SwitchTypeList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/server-profiles?filter=connectionTemplateUri%20matches%7769cae0-b680-435b-9b87-9b864c81657fsort=name:asc" Members []SwitchType `json:"members,omitempty"` // "members":[] }
type Task ¶
type Task struct { Type string `json:"type,omitempty"` // "type": "TaskResourceV2", Data TaskData `json:"data,omitempty"` // "data": null, Category string `json:"category,omitempty"` // "category": "tasks", Hidden bool `json:"hidden,omitempty"` // "hidden": false, StateReason string `json:"stateReason,omitempty"` // "stateReason": null, User string `json:"User,omitempty"` // "taskType": "User", AssociatedRes AssociatedResource `json:"associatedResource,omitempty"` // "associatedResource": { }, PercentComplete int `json:"percentComplete,omitempty"` // "percentComplete": 0, AssociatedTaskURI utils.Nstring `json:"associatedTaskUri,omitempty"` // "associatedTaskUri": null, CompletedSteps int `json:"completedSteps,omitempty"` // "completedSteps": 0, ComputedPercentComplete int `json:"computedPercentComplete,omitempty"` // "computedPercentComplete": 0, ExpectedDuration int `json:"expectedDuration,omitempty"` // "expectedDuration": 300, ParentTaskURI utils.Nstring `json:"parentTaskUri,omitempty"` // "parentTaskUri": null, ProgressUpdates []ProgressUpdate `json:"progressUpdates,omitempty"` // "progressUpdates": [], TaskErrors []TaskError `json:"taskErrors,omitempty"` // "taskErrors": [], TaskOutput []string `json:"taskOutput,omitempty"` // "taskOutput": [], TaskState string `json:"taskState,omitempty"` // "taskState": "New", TaskStatus string `json:"taskStatus,omitempty"` // "taskStatus": "Power off Server: se05, bay 16", TaskType string `json:"taskType,omitempty"` TotalSteps int `json:"totalSteps,omitempty"` // "totalSteps": 0, UserInitiated bool `json:"userInitiated,omitempty"` // "userInitiated": true, Name string `json:"name,omitempty"` // "name": "Power off", Owner string `json:"owner,omitempty"` // "owner": "wenlock", ETAG string `json:"eTag,omitempty"` // "eTag": "0", Created string `json:"created,omitempty"` // "created": "2015-09-07T03:25:54.844Z", Modified string `json:"modified,omitempty"` // "modified": "2015-09-07T03:25:54.844Z", URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/tasks/145F808A-A8DD-4E1B-8C86-C2379C97B3B2" TaskIsDone bool // when true, task are done IsCancellable bool Timeout int // time before timeout on Executor WaitTime time.Duration // time between task checks Client *OVClient }
Task structure
func (*Task) GetCurrentTaskStatus ¶
GetCurrentTaskStatus - Get the current status
func (*Task) GetLastStatusUpdate ¶
GetLastStatusUpdate - get last detail updates from task
func (*Task) NewProfileTask ¶
NewProfileTask - Create New Task
type TaskError ¶
type TaskError struct { Data map[string]interface{} `json:"data,omitempty"` // "data":{}, ErrorCode string `json:"errorCode,omitempty"` // "errorCode":"MacTypeDiffGlobalMacType", Details string `json:"details,omitempty"` // "details":"", NestedErrors []TaskError `json:"nestedErrors,omitempty"` // "nestedErrors":[], Message string `json:"message,omitempty"` // "message":"When macType is not user defined, mac type should be same as the global Mac assignment Virtual." ErrorSource utils.Nstring `json:"errorSource,omitempty"` // "errorSource":null, RecommendedActions []string `json:"recommendedActions,omitempty"` // "recommendedActions":["Verify parameters and try again."], }
TaskError struct
type TaskServer ¶
type TaskServer struct { Name string `json:"name,omitempty"` // "Name to server URI string `json:"uri,omitempty"` // "URI to server }
TaskServer Example: {"name":"se05, bay 14", "uri":"/rest/server-hardware/30373237-3132-4D32-3235-303930524D52"}
type TasksList ¶ added in v1.0.0
type TasksList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/tasks/7769cae0-b680-435b-9b87-9b864c81657" Members []Task `json:"members,omitempty"` // "members":[] }
type TelemetryConfiguration ¶
type TelemetryConfiguration struct { Category string `json:"category,omitempty"` // "category": "telemetry-configuration", Created string `json:"created,omitempty"` // "created": "20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": null, ETAG string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", EnableTelemetry *bool `json:"enableTelemetry,omitempty"` // "enableTelemetry": false, Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", Name string `json:"name,omitempty"` // "name": "telemetry configuration", SampleCount int `json:"sampleCount,omitempty"` // "sampleCount": 12 SampleInterval int `json:"sampleInterval,omitempty"` // "sampleInterval": 300, State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", Type string `json:"type,omitempty"` // "type": "telemetry-configuration", URI utils.Nstring `json:"uri,omitempty"` // "uri": null, VcfcsampleIntervals string `json:"vcfcsampleIntervals,omitempty"` // "vcfcsampleIntervals": "NOT_APPLICABLE" }
type TemplateProperties ¶ added in v1.1.0
type TemplateProperties struct { Name *TemplatePropertyDatatypeStructString `json:"name,omitempty"` StoragePool *TemplatePropertyDatatypeStructString `json:"storagePool,omitempty"` Size *TemplatePropertyDatatypeStructInt `json:"size,omitempty"` ProvisioningType *TemplatePropertyDatatypeStructString `json:"provisioningType,omitempty"` SnapshotPool *TemplatePropertyDatatypeStructString `json:"snapshotPool,omitempty"` DataTransferLimit *TemplatePropertyDatatypeStructInt `json:"dataTransferLimit,omitempty"` IsDeduplicated *TemplatePropertyDatatypeStructBool `json:"isDeduplicated,omitempty"` IsEncrypted *TemplatePropertyDatatypeStructBool `json:"isEncrypted,omitempty"` IsPinned *TemplatePropertyDatatypeStructBool `json:"isPinned,omitempty"` IopsLimit *TemplatePropertyDatatypeStructInt `json:"iopsLimit,omitempty"` Folder *TemplatePropertyDatatypeStructString `json:"folder,omitempty"` TemplateVersion *TemplatePropertyDatatypeStructString `json:"templateVersion,omitempty"` PerformancePolicy *TemplatePropertyDatatypeStructString `json:"performancePolicy,omitempty"` VolumetSet *TemplatePropertyDatatypeStructString `json:"volumeSet,omitempty"` Description *TemplatePropertyDatatypeStructString `json:"description,omitempty"` IsAdaptiveOptimizationEnabled *TemplatePropertyDatatypeStructBool `json:"isAdaptiveOptimizationEnabled,omitempty"` IsCompressed *TemplatePropertyDatatypeStructBool `json:"isCompressed,omitempty"` DataProtectionLevel *TemplatePropertyDatatypeStructString `json:"dataProtectionLevel,omitempty"` }
type TemplatePropertyDatatypeStructBool ¶ added in v1.1.0
type TemplatePropertyDatatypeStructBool struct { Meta *Meta `json:"meta,omitempty"` Type string `json:"type,omitempty"` Title string `json:"title,omitempty"` Required bool `json:"required"` Description utils.Nstring `json:"description"` Enum []string `json:"enum,omitempty"` Default bool `json:"default"` Format string `json:"format,omitempty"` }
Struct for properties whose default value is a bool
type TemplatePropertyDatatypeStructInt ¶ added in v1.1.0
type TemplatePropertyDatatypeStructInt struct { Meta *Meta `json:"meta,omitempty"` Type string `json:"type,omitempty"` Title string `json:"title,omitempty"` Required bool `json:"required"` Description utils.Nstring `json:"description"` Enum []string `json:"enum,omitempty"` Default int `json:"default"` Maximum int `json:"maximum,omitempty"` Minimum int `json:"minimum,omitempty"` Format string `json:"format,omitempty"` }
Struct for properties whose default value is an int
type TemplatePropertyDatatypeStructString ¶ added in v1.1.0
type TemplatePropertyDatatypeStructString struct { Meta *Meta `json:"meta,omitempty"` Type string `json:"type,omitempty"` Title string `json:"title,omitempty"` Required bool `json:"required"` Maxlength int `json:"maxLength,omitempty"` Minlength int `json:"minLength,omitempty"` Description utils.Nstring `json:"description"` Enum []string `json:"enum,omitempty"` Default string `json:"default,omitempty"` Minimum int `json:"minimum,omitempty"` Format string `json:"format,omitempty"` }
Struct for properties whose default value is a string
type TestEmailRequest ¶ added in v1.5.0
type TestEmailResponse ¶ added in v1.5.0
type TestEmailResponse struct { Category string `json:"category,omitempty"` URI utils.Nstring `json:"uri,omitempty"` ETAG string `json:"eTag,omitempty"` Modified string `json:"modified,omitempty"` Created string `json:"created,omitempty"` Type string `json:"type,omitempty"` Password utils.Nstring `json:"password,omitempty"` SenderEmailAddress utils.Nstring `json:"senderEmailAddress,omitempty"` SmtpPort int `json:"smtpPort,omitempty"` UserProvidedSmtpServer utils.Nstring `json:"userProvidedSmtpServer,omitempty"` PreferredSmtpServer utils.Nstring `json:"preferredSmtpServer,omitempty"` }
type TrapDestination ¶
type TrapDestination struct { CommunityString string `json:"communityString,omitempty"` //"communityString": "public", EnetTrapCategories []string `json:"enetTrapCategories,omitempty"` //"enetTrapCategories": ["PortStatus", "Other"], EngineId string `json:"engineId,omitempty"` //"engineId": "", FcTrapCategories []string `json:"fcTrapCategories,omitempty"` //"fcTrapCategories": ["PortStatus", "Other"] Inform *bool `json:"inform,omitempty"` // "inform": true Port int `json:"port,omitempty"` // "port": 12 TrapDestination string `json:"trapDestination,omitempty"` //"trapDestination": "127.0.0.1", TrapFormat string `json:"trapFormat,omitempty"` //"trapFormat", "SNMPv1", TrapSeverities []string `json:"trapSeverities,omitempty"` //"trapSeverities": "Info", UserName string `json:"userName,omitempty"` //"userName", "", VcmTrapCategories []string `json:"vcmTrapCategories,omitempty"` // "vcmTrapCategories": ["Legacy"], }
type Trapv1ValidationAddress ¶
type UpdateAllocatorList ¶ added in v1.5.0
type UpdateCollectorList ¶ added in v1.5.0
type UpdateIpv4 ¶ added in v1.5.0
type UplinkSet ¶
type UplinkSet struct { Category string `json:"category,omitempty"` //"category":"uplink-sets", ConnectionMode string `json:"connectionMode,omitempty"` // "connectionMode":"Auto", Created string `json:"created,omitempty"` //"created":"20150831T154835.250Z", Description utils.Nstring `json:"description,omitempty"` // "description": "Uplink-set 1", Etag string `json:"eTag,omitempty"` // "eTag": "1441036118675/8", Name string `json:"name,omitempty"` // "name": "Uplink77", LogicalInterconnectURI utils.Nstring `json:"logicalInterconnectUri,omitempty"` // "logicalInterconnectUri": "/rest/logical-interconnects/7769cae0-b680-435b-9b87-9b864c81657f", NetworkURIs []utils.Nstring `json:"networkUris,omitempty"` // "networkUris": "/rest/ethernet-networks/e2f0031b-52bd-4223-9ac1-d91cb519d548", FcNetworkURIs []utils.Nstring `json:"fcNetworkUris"` // "fcNetworkUris": "[]", FcoeNetworkURIs []utils.Nstring `json:"fcoeNetworkUris"` // "fcoeNetworkUris": "[]", PortConfigInfos []PortConfigInfos `json:"portConfigInfos"` // "portConfigInfos": "[]", NetworkType string `json:"networkType,omitempty"` // "networkType":"Ethernet", EthernetNetworkType string `json:"ethernetNetworkType,omitempty"` // "ethernetNetworkType":"Tagged", ManualLoginRedistributionState string `json:"manualLoginRedistributionState,omitempty"` //"manualLoginRedistributionState":"NotSupported" URI utils.Nstring `json:"uri,omitempty"` // "uri": "/rest/uplink-sets/"e2f0031b-52bd-4223-9ac1-d91cb519d548", Type string `json:"type,omitempty"` // "type": "uplink-setV5", Modified string `json:"modified,omitempty"` // "modified": "20150831T154835.250Z", LacpTimer string `json:"lacpTimer,omitempty"` // "lacpTimer": "Long", FcMode string `json:"fcMode,omitempty"` // "fcMode": "TRUNK", NativeNetworkUri utils.Nstring `json:"nativeNetworkUri,omitempty"` // "nativeNetworkUri": null, PrimaryPortLocation *Location `json:"primaryPort,omitempty"` // "primaryPort": {...}, Reachability string `json:"reachability,omitempty"` // "reachability": "Reachable", State string `json:"state,omitempty"` // "state": "Normal", Status string `json:"status,omitempty"` // "status": "Critical", PrivateVlanDomains []PrivateVlanDomains `json:"privateVlanDomains,omitempty"` //"privateVlanDomains: []", }
type UplinkSetList ¶ added in v1.0.0
type UplinkSetList struct { Total int `json:"total,omitempty"` // "total": 1, Count int `json:"count,omitempty"` // "count": 1, Start int `json:"start,omitempty"` // "start": 0, PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` // "prevPageUri": null, NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` // "nextPageUri": null, URI string `json:"uri,omitempty"` // "uri": "/rest/uplink-sets?start=0&count=10" Members []UplinkSet `json:"members,omitempty"` // "members":[] }
type UplinkSets ¶ added in v1.0.0
type UplinkSets struct { ConsistencyChecking string `json:"consistencyChecking,omitempty"` // "ethernetNetworkType": "Tagged", DcbxOverride *DcbxOverride `json:"dcbxOverride"` // "dcbxOverride": {...}, EthernetNetworkType string `json:"ethernetNetworkType,omitempty"` // "ethernetNetworkType": "Tagged", LacpTimer string `json:"lacpTimer,omitempty"` // "lacpTimer": "Long", LogicalPortConfigInfos []LogicalPortConfigInfo `json:"logicalPortConfigInfos"` // "logicalPortConfigInfos": {...}, Mode string `json:"mode,omitempty"` // "mode": "Auto", FcMode string `json:"fcMode,omitempty"` //"fcMode": "NA", LoadBalancingMode string `json:"loadBalancingMode,omitempty"` //"loadBalancingMode": "None", Name string `json:"name,omitempty"` // "name": "Uplink 1", NativeNetworkUri utils.Nstring `json:"nativeNetworkUri,omitempty"` // "nativeNetworkUri": null, NetworkType string `json:"networkType,omitempty"` // "networkType": "Ethernet", NetworkUris []utils.Nstring `json:"networkUris"` // "networkUris": ["/rest/ethernet-networks/f1e38895-721b-4204-8395-ae0caba5e163"] PrimaryPort *LogicalLocation `json:"primaryPort,omitempty"` // "primaryPort": {...}, PrivateVlanDomains []PrivateVlanDomain `json:"privateVlanDomains"` // "privateVlanDomains": {...} Reachability string `json:"reachability,omitempty"` // "reachability": "Reachable", }
type ValidateSNMPv3Address ¶
type Validation ¶
type VirtualPort ¶ added in v1.1.0
type VirtualPortv200 ¶
type VirtualPortv200 struct { CurrentAllocatedVirtualFunctionCount int `json:"currentAllocatedVirtualFunctionCount,omitempty"` // currentAllocatedVirtualFunctionCount The number of virtual functions presently allocated to this virtual port. integer read only MAC string `json:"mac,omitempty"` // mac The mac address assigned to this virtual port. string read only PortFunction string `json:"portFunction,omitempty"` // portFunction The function identifier for this FlexNIC, such as a, b, c or d. string read only PortNumber int `json:"portNumber,omitempty"` // portNumber The port number assigned to this virtual port. integer read only WWNN string `json:"WWNN,omitempty"` // wwnn The world wide node name assigned to this virtual port. string read only WWPN string `json:"WWPN,omitempty"` // wwpn The world wide port name assigned to this virtual port. string read only }
VirtualPortv200 -
type VirtualSwitchConfigPolicy ¶ added in v1.3.0
type VirtualSwitchConfigPolicy struct { ConfigurePortGroups bool `json:"configurePortGroups,omitempty"` //"configurePortGroups":"true" CustomVirtualSwitches bool `json:"customVirtualSwitches,omitempty"` //"customVirtualSwitches":"false" ManageVirtualSwitches bool `json:"manageVirtualSwitches,omitempty"` //"manageVirtualSwitches":"true" }
type VirtualSwitchLayout ¶ added in v1.3.0
type VirtualSwitchPortGroups ¶ added in v1.3.0
type VirtualSwitchPortGroups struct { Action string `json:"action,omitempty"` //"action":"NONE" Name string `json:"name,omitempty"` //"name":"mgmt" NetworkUris []utils.Nstring `json:"networkUris,omitempty"` //"networkUris":"" VirtualSwitchPorts []VirtualSwitchPorts `json:"virtualSwitchPorts,omitempty"` //"virtualSwitchPorts":"" Vlan string `json:"vlan,omitempty"` //"vlan":"0" }
type VirtualSwitchPorts ¶ added in v1.3.0
type VirtualSwitchPorts struct { Action string `json:"action,omitempty"` //"action":"NONE" Dhcp bool `json:"dhcp,omitempty"` //"dhcp":"false" IpAddress string `json:"ipAddress,omitempty"` //"ipAddress":"null" SubnetMask string `json:"subnetMask,omitempty"` //"subnetMask":"null" VirtualPortPurpose []utils.Nstring `json:"virtualPortPurpose,omitempty"` //"virtualPortPurpose":"" }
type VirtualSwitchUplinks ¶ added in v1.3.0
type VirtualSwitchUplinks struct { Action string `json:"action,omitempty"` //"action":"NONE" Active bool `json:"active,omitempty"` //"active":"false" Mac string `json:"mac,omitempty"` //"mac":"null" Name string `json:"name,omitempty"` //"name":"Mezz 3:1-c" Vmnic string `json:"vmnic,omitempty"` //"vmnic":"null" }
type VirtualSwitches ¶ added in v1.3.0
type VirtualSwitches struct { Action string `json:"action,omitempty"` //"action":"NONE" Name string `json:"name,omitempty"` //"name":"mgmt" NetworkUris []utils.Nstring `json:"networkUris,omitempty"` //"networkUris":"" Version string `json:"version,omitempty"` //"version":"null" VirtualSwitchPortGroups []VirtualSwitchPortGroups `json:"virtualSwitchPortGroups,omitempty"` //"virtualSwitchPortGroups":"" VirtualSwitchType string `json:"virtualSwitchType,omitempty"` //"virtualSwitchType":"Standard" VirtualSwitchUplinks []VirtualSwitchUplinks `json:"virtualSwitchUplinks,omitempty"` //"virtualSwitchUplinks":"" }
type VlanAttributes ¶ added in v1.1.0
type Volume ¶ added in v1.6.0
type Volume struct { InitialScopeUris []utils.Nstring `json:"initialScopeUris,omitempty"` //Initial scopes for the volume. IsPermanent *bool `json:"isPermanent,omitempty"` //If true, indicates that the volume will persist when the profile using this volume is deleted. Properties *PropertiesSP `json:"properties,omitempty"` //The properties specific to a storage system family required for the creation of a storage volume. TemplateUri utils.Nstring `json:"templateUri,omitempty"` //URI of the storage volume template from which the volume will be created. }
type VolumeAttachment ¶
type VolumeAttachment struct { AssociatedTemplateAttachmentId string `json:"associatedTemplateAttachmentId,omitempty"` //A "key" value uniquely identifying the definition of a volume attachment in a template BootVolumePriority string `json:"bootVolumePriority,omitempty"` //Identifies whether the volume will be used as a boot volume and with what priority ID int `json:"id,omitempty"` // id, The ID of the attached storage volume. LUN string `json:"lun,omitempty"` // lun, The logical unit number. LUNType string `json:"lunType,omitempty"` // lunType(required), The logical unit number type: Auto or Manual. IsPermanent *bool `json:"isPermanent,omitempty"` // permanent, If true, indicates that the volume will persist when the profile is deleted. If false, then the volume will be deleted when the profile is deleted. State string `json:"state,omitempty"` // state(read only), current state of the attachment Status string `json:"status,omitempty"` // status(read only), The current status of the attachment. StoragePaths []StoragePath `json:"storagePaths,omitempty"` // A list of host-to-target path associations. Volume *Volume `json:"volume,omitempty"` //Contains properties describing a volume to be create VolumeStorageSystemURI utils.Nstring `json:"volumeStorageSystemUri,omitempty"` // The URI of the storage system associated with this volume attachment. Use GET /rest/server-profiles/available-storage-systems to retrieve the URI of the storage system associated with a volume. VolumeURI utils.Nstring `json:"volumeUri,omitempty"` // The URI of the storage volume associated with this volume attachment. Use GET /rest/server-profiles/available-storage-systems to retrieve the URIs of available storage volumes. }
VolumeAttachment volume attachment
type VolumeAttachmentStateV2 ¶
type VolumeAttachmentStateV2 int
VolumeAttachmentStateV2 -
const ( VAAttachFailed VolumeAttachmentStateV2 = 1 + iota VAAttached VAAttaching VACreating VADeleteFailed VADeleted VADeleting VAReserveFailed VAReserved VAReserving VAUpdating VAUserDeleted VAVolumeCreateFailed VAVolumeCreating )
Constants for VolumeAttachmentStateV2
func (VolumeAttachmentStateV2) Equal ¶
func (o VolumeAttachmentStateV2) Equal(s string) bool
Equal - helper
func (VolumeAttachmentStateV2) String ¶
func (o VolumeAttachmentStateV2) String() string
String - helper
type VolumeAttachmentV2 ¶
type VolumeAttachmentV2 struct { ID int `json:"id,omitempty"` // id The ID of the attached storage volume. integer LUN string `json:"lun,omitempty"` // lun The logical unit number. string LUNType string `json:"lunType,omitempty"` // lunType The logical unit number type: Auto or Manual. string required Permanent bool `json:"permanent"` // permanent If true, indicates that the volume will persist when the profile is deleted. If false, then the volume will be deleted when the profile is deleted. Boolean State string `json:"state,omitempty"` //state The current state of the attachment. VolumeAttachmentStateV2 read only Status string `json:"status,omitempty"` // status The current status of the attachment. string read only StoragePaths []StoragePathV2 `json:"storagePaths,omitempty"` // A list of host-to-target path associations. VolumeDescription string `json:"volumeDescription,omitempty"` // volumeDescription The description of the storage volume. string VolumeName string `json:"volumeName,omitempty"` // volumeName The name of the volume. This attribute is required when creating a volume. string VolumeProvisionType string `json:"volumeProvisionType,omitempty"` // volumeProvisionType The provisioning type of the new volume: Thin or Thick. This attribute is required when creating a volume. string VolumeProvisionedCapacityBytes string `json:"volumeProvisionedCapacityBytes,omitempty"` // volumeProvisionedCapacityBytes The requested provisioned capacity of the storage volume in bytes. This attribute is required when creating a volume. string VolumeStoragePoolURI utils.Nstring `json:"volumeStoragePoolUri,omitempty"` // volumeStoragePoolUri The URI of the storage pool associated with this volume attachment's volume. Use GET /rest/server-profiles/available-storage-systems to retrieve the URI of the storage pool associated with a volume. string VolumeStorageSystemURI utils.Nstring `json:"volumeStorageSystemUri,omitempty"` // volumeStorageSystemUri The URI of the storage system associated with this volume attachment. Use GET /rest/server-profiles/available-storage-systems to retrieve the URI of the storage system associated with a volume. string Format URI VolumeURI utils.Nstring `json:"volumeUri,omitempty"` // volumeUri The URI of the storage volume associated with this volume attachment. Use GET /rest/server-profiles/available-storage-systems to retrieve the URIs of available storage volumes. string Format URI }
VolumeAttachmentV2 The list of storage volume attachments.
type VolumeAttachmentV3 ¶ added in v0.8.2
type VolumeAttachmentV3 struct {
IsBootVolume bool `json:"isBootVolume,omitempty"` // "isBootVolume": true,
}
type VolumeCreationSpace ¶ added in v1.1.0
type VolumeSetList ¶ added in v1.1.0
type VolumeSetList struct { Category string `json:"category,omitempty"` Members []VolumeSet `json:"members,omitempty"` Total int `json:"total,omitempty"` Count int `json:"count,omitempty"` Start int `json:"start,omitempty"` PrevPageURI utils.Nstring `json:"prevPageUri,omitempty"` NextPageURI utils.Nstring `json:"nextPageUri,omitempty"` URI utils.Nstring `json:"uri,omitempty"` }
Source Files ¶
- api_version.go
- appliance_configuration_timeconfig.go
- appliance_device_snmp_v3_user.go
- appliance_snmp_v1_trap_destinations.go
- appliance_snmp_v3_trap_destinations.go
- appliance_ssh_access.go
- appliance_time_and_local_configuration.go
- auth.go
- config.go
- connection.go
- connection_templates.go
- connectionv2.go
- enclosure.go
- enclosure_group.go
- ethernet_network.go
- fc_network.go
- fcoe_network.go
- firmware_drivers.go
- hypervisor_cluster_profile.go
- hypervisor_manager.go
- id_pools.go
- id_pools_ipv4_range.go
- id_pools_ipv4_subnets.go
- interconnect.go
- interconnect_type.go
- labels.go
- logical_enclosure.go
- logical_interconnect_group.go
- logical_interconnects.go
- logical_switch.go
- logical_switch_group.go
- network_set.go
- notifications.go
- ov.go
- power_state.go
- profile_templates.go
- profiles.go
- profilesv2.go
- profilesv3.go
- rack_manager.go
- scope.go
- server_certificate.go
- server_hardware.go
- server_hardware_type.go
- server_hardwarev2.go
- storage.go
- storage_pool.go
- storage_system.go
- storage_volume.go
- storage_volume_attachment.go
- storage_volume_template.go
- storagev2.go
- storagev3.go
- switch_type.go
- task.go
- uplink_set.go