1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
|
# Copyright (c) 2006-2025 Broadcom. All Rights Reserved.
# Broadcom Confidential. The term "Broadcom" refers to Broadcom Inc.
# and/or its subsidiaries.
# ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from typing import ClassVar
from typing import Optional
from pyVmomi.VmomiSupport import Enum
from pyVmomi.vmodl import DynamicData
from pyVmomi.vim.host import HostBusAdapter
from pyVmomi.vim.option import OptionDef
from pyVmomi.vim.option import OptionValue
class InternetScsiHba(HostBusAdapter):
class ParamValue(OptionValue):
isInherited: Optional[bool] = None
class DiscoveryCapabilities(DynamicData):
iSnsDiscoverySettable: bool
slpDiscoverySettable: bool
staticTargetDiscoverySettable: bool
sendTargetsDiscoverySettable: bool
class DiscoveryProperties(DynamicData):
class ISnsDiscoveryMethod(Enum):
isnsStatic: ClassVar['ISnsDiscoveryMethod'] = 'isnsStatic'
isnsDhcp: ClassVar['ISnsDiscoveryMethod'] = 'isnsDhcp'
isnsSlp: ClassVar['ISnsDiscoveryMethod'] = 'isnsSlp'
class SlpDiscoveryMethod(Enum):
slpDhcp: ClassVar['SlpDiscoveryMethod'] = 'slpDhcp'
slpAutoUnicast: ClassVar['SlpDiscoveryMethod'] = 'slpAutoUnicast'
slpAutoMulticast: ClassVar['SlpDiscoveryMethod'] = 'slpAutoMulticast'
slpManual: ClassVar['SlpDiscoveryMethod'] = 'slpManual'
iSnsDiscoveryEnabled: bool
iSnsDiscoveryMethod: Optional[str] = None
iSnsHost: Optional[str] = None
slpDiscoveryEnabled: bool
slpDiscoveryMethod: Optional[str] = None
slpHost: Optional[str] = None
staticTargetDiscoveryEnabled: bool
sendTargetsDiscoveryEnabled: bool
class ChapAuthenticationType(Enum):
chapProhibited: ClassVar['ChapAuthenticationType'] = 'chapProhibited'
chapDiscouraged: ClassVar['ChapAuthenticationType'] = 'chapDiscouraged'
chapPreferred: ClassVar['ChapAuthenticationType'] = 'chapPreferred'
chapRequired: ClassVar['ChapAuthenticationType'] = 'chapRequired'
class AuthenticationCapabilities(DynamicData):
chapAuthSettable: bool
krb5AuthSettable: bool
srpAuthSettable: bool
spkmAuthSettable: bool
mutualChapSettable: Optional[bool] = None
targetChapSettable: Optional[bool] = None
targetMutualChapSettable: Optional[bool] = None
class AuthenticationProperties(DynamicData):
chapAuthEnabled: bool
chapName: Optional[str] = None
chapSecret: Optional[str] = None
chapAuthenticationType: Optional[str] = None
chapInherited: Optional[bool] = None
mutualChapName: Optional[str] = None
mutualChapSecret: Optional[str] = None
mutualChapAuthenticationType: Optional[str] = None
mutualChapInherited: Optional[bool] = None
class DigestType(Enum):
digestProhibited: ClassVar['DigestType'] = 'digestProhibited'
digestDiscouraged: ClassVar['DigestType'] = 'digestDiscouraged'
digestPreferred: ClassVar['DigestType'] = 'digestPreferred'
digestRequired: ClassVar['DigestType'] = 'digestRequired'
class DigestCapabilities(DynamicData):
headerDigestSettable: Optional[bool] = None
dataDigestSettable: Optional[bool] = None
targetHeaderDigestSettable: Optional[bool] = None
targetDataDigestSettable: Optional[bool] = None
class DigestProperties(DynamicData):
headerDigestType: Optional[str] = None
headerDigestInherited: Optional[bool] = None
dataDigestType: Optional[str] = None
dataDigestInherited: Optional[bool] = None
class IPCapabilities(DynamicData):
addressSettable: bool
ipConfigurationMethodSettable: bool
subnetMaskSettable: bool
defaultGatewaySettable: bool
primaryDnsServerAddressSettable: bool
alternateDnsServerAddressSettable: bool
ipv6Supported: Optional[bool] = None
arpRedirectSettable: Optional[bool] = None
mtuSettable: Optional[bool] = None
hostNameAsTargetAddress: Optional[bool] = None
nameAliasSettable: Optional[bool] = None
ipv4EnableSettable: Optional[bool] = None
ipv6EnableSettable: Optional[bool] = None
ipv6PrefixLengthSettable: Optional[bool] = None
ipv6PrefixLength: Optional[int] = None
ipv6DhcpConfigurationSettable: Optional[bool] = None
ipv6LinkLocalAutoConfigurationSettable: Optional[bool] = None
ipv6RouterAdvertisementConfigurationSettable: Optional[bool] = None
ipv6DefaultGatewaySettable: Optional[bool] = None
ipv6MaxStaticAddressesSupported: Optional[int] = None
class IscsiIpv6Address(DynamicData):
class AddressConfigurationType(Enum):
DHCP: ClassVar['AddressConfigurationType'] = 'DHCP'
AutoConfigured: ClassVar['AddressConfigurationType'] = 'AutoConfigured'
Static: ClassVar['AddressConfigurationType'] = 'Static'
Other: ClassVar['AddressConfigurationType'] = 'Other'
class IPv6AddressOperation(Enum):
add: ClassVar['IPv6AddressOperation'] = 'add'
remove: ClassVar['IPv6AddressOperation'] = 'remove'
address: str
prefixLength: int
origin: str
operation: Optional[str] = None
class IPv6Properties(DynamicData):
iscsiIpv6Address: list[IscsiIpv6Address] = []
ipv6DhcpConfigurationEnabled: Optional[bool] = None
ipv6LinkLocalAutoConfigurationEnabled: Optional[bool] = None
ipv6RouterAdvertisementConfigurationEnabled: Optional[bool] = None
ipv6DefaultGateway: Optional[str] = None
class IPProperties(DynamicData):
mac: Optional[str] = None
address: Optional[str] = None
dhcpConfigurationEnabled: bool
subnetMask: Optional[str] = None
defaultGateway: Optional[str] = None
primaryDnsServerAddress: Optional[str] = None
alternateDnsServerAddress: Optional[str] = None
ipv6Address: Optional[str] = None
ipv6SubnetMask: Optional[str] = None
ipv6DefaultGateway: Optional[str] = None
arpRedirectEnabled: Optional[bool] = None
mtu: Optional[int] = None
jumboFramesEnabled: Optional[bool] = None
ipv4Enabled: Optional[bool] = None
ipv6Enabled: Optional[bool] = None
ipv6properties: Optional[IPv6Properties] = None
class SendTarget(DynamicData):
address: str
port: Optional[int] = None
authenticationProperties: Optional[AuthenticationProperties] = None
digestProperties: Optional[DigestProperties] = None
supportedAdvancedOptions: list[OptionDef] = []
advancedOptions: list[ParamValue] = []
parent: Optional[str] = None
class StaticTarget(DynamicData):
class TargetDiscoveryMethod(Enum):
staticMethod: ClassVar['TargetDiscoveryMethod'] = 'staticMethod'
sendTargetMethod: ClassVar['TargetDiscoveryMethod'] = 'sendTargetMethod'
slpMethod: ClassVar['TargetDiscoveryMethod'] = 'slpMethod'
isnsMethod: ClassVar['TargetDiscoveryMethod'] = 'isnsMethod'
unknownMethod: ClassVar['TargetDiscoveryMethod'] = 'unknownMethod'
address: str
port: Optional[int] = None
iScsiName: str
discoveryMethod: Optional[str] = None
authenticationProperties: Optional[AuthenticationProperties] = None
digestProperties: Optional[DigestProperties] = None
supportedAdvancedOptions: list[OptionDef] = []
advancedOptions: list[ParamValue] = []
parent: Optional[str] = None
class TargetSet(DynamicData):
staticTargets: list[StaticTarget] = []
sendTargets: list[SendTarget] = []
class NetworkBindingSupportType(Enum):
notsupported: ClassVar['NetworkBindingSupportType'] = 'notsupported'
optional: ClassVar['NetworkBindingSupportType'] = 'optional'
required: ClassVar['NetworkBindingSupportType'] = 'required'
isSoftwareBased: bool
canBeDisabled: Optional[bool] = None
networkBindingSupport: Optional[NetworkBindingSupportType] = None
discoveryCapabilities: DiscoveryCapabilities
discoveryProperties: DiscoveryProperties
authenticationCapabilities: AuthenticationCapabilities
authenticationProperties: AuthenticationProperties
digestCapabilities: Optional[DigestCapabilities] = None
digestProperties: Optional[DigestProperties] = None
ipCapabilities: IPCapabilities
ipProperties: IPProperties
supportedAdvancedOptions: list[OptionDef] = []
advancedOptions: list[ParamValue] = []
iScsiName: str
iScsiAlias: Optional[str] = None
configuredSendTarget: list[SendTarget] = []
configuredStaticTarget: list[StaticTarget] = []
maxSpeedMb: Optional[int] = None
currentSpeedMb: Optional[int] = None
|