iSCSI¶
This section documents the iSCSI (Internet Small Computer Systems Interface) functionality.
Device Management¶
sts.iscsi.device
¶
iSCSI device management.
This module provides functionality for managing iSCSI devices: - Device discovery - Device information - Device operations
iSCSI (Internet SCSI) enables: - Block storage over IP networks - SAN functionality without FC hardware - Storage consolidation and sharing - Remote boot capabilities
Key concepts: - Initiator: Client that accesses storage - Target: Storage server that provides devices - IQN: iSCSI Qualified Name (unique identifier) - Portal: IP:Port where target listens - Session: Connection between initiator and target
IscsiDevice
dataclass
¶
iSCSI device representation.
An iSCSI device represents a remote block device that: - Appears as a local SCSI device - Requires network connectivity - Can use authentication (CHAP) - Supports multipath for redundancy
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
Device name (e.g. 'sda') |
required |
path
|
Path | str
|
Device path (e.g. '/dev/sda') |
required |
size
|
int
|
Device size in bytes |
required |
ip
|
str
|
Target IP address |
required |
port
|
int
|
Target port (default: 3260) |
3260
|
target_iqn
|
str
|
Target IQN (e.g. 'iqn.2003-01.org.linux-iscsi.target') |
required |
initiator_iqn
|
str | None
|
Initiator IQN (optional, from /etc/iscsi/initiatorname.iscsi) |
None
|
Example
device = IscsiDevice(
name='sda',
path='/dev/sda',
size=1000000000000,
ip='192.168.1.100',
target_iqn='iqn.2003-01.org.linux-iscsi.target',
)
Source code in sts_libs/src/sts/iscsi/device.py
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 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 |
|
session_id: str | None
deletable
property
writable
¶
Get iSCSI session ID.
The session ID uniquely identifies an active connection: - Format is typically a small integer (e.g. '1') - None if device is not logged in - Cached to avoid repeated lookups
Returns:
Type | Description |
---|---|
str | None
|
Session ID if device is logged in, None otherwise |
Example
device.session_id
'1'
__post_init__()
¶
Initialize iSCSI device.
Converts path string to Path object if needed.
Source code in sts_libs/src/sts/iscsi/device.py
90 91 92 93 94 95 96 97 |
|
disable_chap()
¶
Disable CHAP authentication.
Removes all CHAP settings: - Node authentication - Discovery authentication - Mutual CHAP settings
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Example
device.disable_chap()
True
Source code in sts_libs/src/sts/iscsi/device.py
324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 |
|
discover(ip, port=3260)
classmethod
¶
Discover available targets.
Uses SendTargets discovery: - Queries portal for targets - Returns list of IQNs - No authentication needed - Fast operation
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ip
|
str
|
Target IP address |
required |
port
|
int
|
Target port (default: 3260) |
3260
|
Returns:
Type | Description |
---|---|
list[str]
|
List of discovered target IQNs |
Example
IscsiDevice.discover('192.168.1.100')
['iqn.2003-01.org.linux-iscsi.target1', 'iqn.2003-01.org.linux-iscsi.target2']
Source code in sts_libs/src/sts/iscsi/device.py
457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 |
|
get_all()
classmethod
¶
Get list of all iSCSI devices.
Discovery process: 1. Get all active sessions 2. Get portal info for each session 3. Get disk info for each session 4. Create device objects
Returns:
Type | Description |
---|---|
list[IscsiDevice]
|
List of IscsiDevice instances |
Example
IscsiDevice.get_all()
[IscsiDevice(name='sda', ...), IscsiDevice(name='sdb', ...)]
Source code in sts_libs/src/sts/iscsi/device.py
398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 |
|
login()
¶
Log in to target.
Login process: 1. Discover target (SendTargets) 2. Create session 3. Authenticate if needed 4. Create device nodes
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Example
device.login()
True
Source code in sts_libs/src/sts/iscsi/device.py
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 |
|
logout()
¶
Log out from target.
Logout process: 1. Close session 2. Remove device nodes 3. Clear session ID
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Example
device.logout()
True
Source code in sts_libs/src/sts/iscsi/device.py
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 |
|
set_chap(username, password, mutual_username=None, mutual_password=None)
¶
Set CHAP authentication.
CHAP (Challenge Handshake Authentication Protocol): - One-way: Target authenticates initiator - Mutual: Both sides authenticate each other - Requires matching config on target
Parameters:
Name | Type | Description | Default |
---|---|---|---|
username
|
str
|
CHAP username |
required |
password
|
str
|
CHAP password |
required |
mutual_username
|
str | None
|
Mutual CHAP username (optional) |
None
|
mutual_password
|
str | None
|
Mutual CHAP password (optional) |
None
|
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Example
device.set_chap('user', 'pass')
True
Source code in sts_libs/src/sts/iscsi/device.py
267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 |
|
Session Management¶
sts.iscsi.session
¶
iSCSI session management.
This module provides functionality for managing iSCSI sessions: - Session discovery - Session information - Session operations
An iSCSI session represents: - Connection between initiator and target - Authentication and parameters - Associated SCSI devices - Network transport details
IscsiSession
dataclass
¶
iSCSI session representation.
A session maintains the connection state between: - Initiator (local system) - Target (remote storage) - Multiple connections possible - Negotiated parameters
Parameters:
Name | Type | Description | Default |
---|---|---|---|
session_id
|
str
|
Session ID (unique identifier) |
required |
target_iqn
|
str
|
Target IQN (iSCSI Qualified Name) |
required |
portal
|
str
|
Portal address (IP:Port) |
required |
Source code in sts_libs/src/sts/iscsi/session.py
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 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
|
SessionDisk
dataclass
¶
iSCSI session disk representation.
Represents a SCSI disk exposed through the session: - Maps to local block device - Has SCSI addressing (H:C:T:L) - Tracks operational state
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
Disk name (e.g. 'sda') |
state |
str
|
Disk state (e.g. 'running') |
scsi_n |
str
|
SCSI host number |
channel |
str
|
SCSI channel number |
id |
str
|
SCSI target ID |
lun |
str
|
SCSI Logical Unit Number |
Source code in sts_libs/src/sts/iscsi/session.py
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 |
|
is_running()
¶
Check if disk is running.
'running' state indicates: - Device is accessible - I/O is possible - No error conditions
Returns:
Type | Description |
---|---|
bool
|
True if disk state is 'running' |
Source code in sts_libs/src/sts/iscsi/session.py
163 164 165 166 167 168 169 170 171 172 173 174 |
|
get_all()
classmethod
¶
Get list of all iSCSI sessions.
Lists active sessions by: - Querying iscsiadm - Parsing session information - Creating session objects
Returns:
Type | Description |
---|---|
list[IscsiSession]
|
List of IscsiSession instances |
Source code in sts_libs/src/sts/iscsi/session.py
232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 |
|
get_by_portal(portal)
classmethod
¶
Get session by portal address.
Finds session matching portal: - Searches all active sessions - Matches exact portal address - Returns first match
Parameters:
Name | Type | Description | Default |
---|---|---|---|
portal
|
str
|
Portal address (e.g. '127.0.0.1:3260') |
required |
Returns:
Type | Description |
---|---|
list[IscsiSession]
|
List of IscsiSession instances matching portal |
Source code in sts_libs/src/sts/iscsi/session.py
282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 |
|
get_by_target(target_iqn)
classmethod
¶
Get session by target IQN.
Finds session matching target: - Searches all active sessions - Matches exact IQN - Returns all matches
Parameters:
Name | Type | Description | Default |
---|---|---|---|
target_iqn
|
str
|
Target IQN |
required |
Returns:
Type | Description |
---|---|
list[IscsiSession]
|
List of IscsiSession instances matching target IQN |
Source code in sts_libs/src/sts/iscsi/session.py
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 |
|
get_data()
¶
Get session data.
Retrieves basic session information: - Authentication method - CHAP credentials - Connection parameters - Session options
Returns:
Type | Description |
---|---|
dict[str, str]
|
Dictionary of session data from 'iscsiadm -m session -r |
Example
session.get_data()
{
'node.session.auth.authmethod': 'None',
'node.session.auth.username': '',
'node.session.auth.password': '',
...
}
Source code in sts_libs/src/sts/iscsi/session.py
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 |
|
get_data_p2()
¶
Get session data with print level 2.
Retrieves detailed session information: - Target details - Portal information - Connection state - SCSI information
Returns:
Type | Description |
---|---|
dict[str, str]
|
Dictionary of session data from 'iscsiadm -m session -r |
Example
session.get_data_p2()
{
'Target': 'iqn.2003-01.org.linux-iscsi.target',
'Current Portal': '192.168.1.100:3260,1',
'Persistent Portal': '192.168.1.100:3260',
...
}
Source code in sts_libs/src/sts/iscsi/session.py
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 |
|
get_disks()
¶
Get list of disks attached to session.
Discovers SCSI disks by: - Parsing session information - Matching SCSI addresses - Checking device states
Returns:
Type | Description |
---|---|
list[SessionDisk]
|
List of SessionDisk instances |
Example
session.get_disks()
[SessionDisk(name='sda', state='running', scsi_n='2', channel='00', id='0', lun='0')]
Source code in sts_libs/src/sts/iscsi/session.py
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 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
|
get_parameters()
¶
Get parameters from session.
Retrieves negotiated parameters: - Connection settings - Authentication options - Performance tuning - Error recovery
Returns:
Type | Description |
---|---|
dict[str, str]
|
Dictionary of parameters |
Source code in sts_libs/src/sts/iscsi/session.py
299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 |
|
logout()
¶
Log out from session.
Logout process: - Closes all connections - Removes session - Cleans up resources
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Source code in sts_libs/src/sts/iscsi/session.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|
Configuration¶
sts.iscsi.config
¶
iSCSI configuration.
This module provides configuration classes for iSCSI: - Interface configuration - Node configuration - Overall configuration - Daemon configuration
Key components: - Initiator name (unique identifier) - Network interfaces - Target discovery - Authentication - Service management
ConfVars
¶
Bases: TypedDict
iSCSI configuration variables.
Complete configuration includes: - Local initiator name - List of targets to connect to - Network interface configurations - Hardware offload driver (if used)
Source code in sts_libs/src/sts/iscsi/config.py
238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
|
IscsiConfig
dataclass
¶
iSCSI configuration.
Complete iSCSI initiator configuration: - Local identification - Network setup - Target connections - Hardware offload
Attributes:
Name | Type | Description |
---|---|---|
initiatorname |
str | None
|
Initiator IQN (local identifier) |
ifaces |
list[IscsiInterface]
|
List of interface configurations |
targets |
list[IscsiNode] | None
|
List of target configurations |
driver |
str | None
|
Hardware offload driver name (if used) |
Source code in sts_libs/src/sts/iscsi/config.py
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 |
|
IscsiInterface
dataclass
¶
iSCSI interface configuration.
An interface defines how iSCSI traffic is sent: - Which network interface to use - What IP address to bind to - Optional hardware address binding
Attributes:
Name | Type | Description |
---|---|---|
iscsi_ifacename |
str
|
Interface name (e.g. 'iface0') |
ipaddress |
str
|
IP address to bind to |
hwaddress |
str | None
|
Hardware address (optional, for HBA binding) |
Source code in sts_libs/src/sts/iscsi/config.py
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
|
IscsiNode
dataclass
¶
iSCSI node configuration.
A node represents a connection to a target: - Target identification - Network location - Interface binding - Session management
Attributes:
Name | Type | Description |
---|---|---|
target_iqn |
str
|
Target IQN (unique identifier) |
portal |
str
|
Portal address (IP:Port) |
interface |
str
|
Interface name to use |
Source code in sts_libs/src/sts/iscsi/config.py
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 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 |
|
login()
¶
Log in to target.
Login process: 1. Discover target if needed 2. Create new session 3. Authenticate if configured 4. Create SCSI devices
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Source code in sts_libs/src/sts/iscsi/config.py
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
|
logout()
¶
Log out from target.
Logout process: 1. Close session 2. Remove SCSI devices 3. Clean up resources
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Source code in sts_libs/src/sts/iscsi/config.py
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 |
|
setup_and_login(portal, initiator_iqn, target_iqn=None)
classmethod
¶
Set up node and log in.
Complete setup process: 1. Create node configuration 2. Discover target if needed 3. Log in to create session
Parameters:
Name | Type | Description | Default |
---|---|---|---|
portal
|
str
|
Portal address (IP:Port) |
required |
initiator_iqn
|
str
|
Initiator IQN (local identifier) |
required |
target_iqn
|
str | None
|
Target IQN (optional, will be discovered) |
None
|
Returns:
Type | Description |
---|---|
IscsiNode
|
IscsiNode instance |
Source code in sts_libs/src/sts/iscsi/config.py
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 |
|
IscsidConfig
¶
iSCSI daemon configuration.
Manages iscsid.conf settings: - Connection parameters - Authentication - Timeouts - Retry behavior
Source code in sts_libs/src/sts/iscsi/config.py
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 |
|
__init__()
¶
Initialize configuration.
Loads existing config if available.
Source code in sts_libs/src/sts/iscsi/config.py
289 290 291 292 293 294 295 296 |
|
get_parameter(name)
¶
Get parameter value.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
Parameter name (dot-separated) |
required |
Returns:
Type | Description |
---|---|
str | None
|
Parameter value if found, None otherwise |
Source code in sts_libs/src/sts/iscsi/config.py
332 333 334 335 336 337 338 339 340 341 |
|
save()
¶
Save configuration to file.
Preserves file format: - Keeps comments - Maintains spacing - Updates values
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Source code in sts_libs/src/sts/iscsi/config.py
343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 |
|
set_parameters(parameters)
¶
Set configuration parameters.
Updates multiple parameters at once: - Overwrites existing values - Adds new parameters - No validation performed
Parameters:
Name | Type | Description | Default |
---|---|---|---|
parameters
|
dict[str, str]
|
Dictionary of parameter names and values |
required |
Source code in sts_libs/src/sts/iscsi/config.py
319 320 321 322 323 324 325 326 327 328 329 330 |
|
create_iscsi_iface(iface_name)
¶
Create iSCSI interface.
An iSCSI interface binds sessions to: - Network interface - IP address - Hardware address - Transport type
Parameters:
Name | Type | Description | Default |
---|---|---|---|
iface_name
|
str
|
Interface name |
required |
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Source code in sts_libs/src/sts/iscsi/config.py
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
|
rand_iscsi_string(length)
¶
Generate random string following iSCSI naming rules.
Text format is based on Internet Small Computer System Interface (iSCSI) Protocol (RFC 7143) Section 6.1: - ASCII letters and digits - Limited punctuation - No spaces or control chars
Parameters:
Name | Type | Description | Default |
---|---|---|---|
length
|
int
|
Length of the random string |
required |
Returns:
Type | Description |
---|---|
str | None
|
Random string or None if length is invalid |
Example
rand_iscsi_string(8)
'Abc123_+'
Source code in sts_libs/src/sts/iscsi/config.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
set_initiatorname(name)
¶
Set initiator name.
The initiator name uniquely identifies this system: - Must be valid IQN format - Must be unique on network - Stored in /etc/iscsi/initiatorname.iscsi
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
Initiator name (IQN format) |
required |
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Source code in sts_libs/src/sts/iscsi/config.py
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
|
setup(variables)
¶
Configure iSCSI initiator based on env variables.
Complete setup process: 1. Set initiator name 2. Configure interfaces 3. Start required services 4. Discover targets 5. Enable services
Parameters:
Name | Type | Description | Default |
---|---|---|---|
variables
|
IscsiConfig
|
Configuration variables |
required |
Returns:
Type | Description |
---|---|
bool
|
True if successful, False otherwise |
Source code in sts_libs/src/sts/iscsi/config.py
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 |
|