13.07.2015 Views

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

[MS-VDS]: Virtual Disk Service (VDS) Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The server MUST set the CHAP shared secret that pInitiatorSharedSecret specifies in the iSCSIinitiator, and return an HRESULT indicating failure or success.3.4.5.2.9 IVds<strong>Service</strong>SAN Methods3.4.5.2.9.1 IVds<strong>Service</strong>SAN::GetSANPolicy (Opnum 3)The GetSANPolicy method returns the current SAN policy setting.HRESULT GetSANPolicy([out] <strong>VDS</strong>_SAN_POLICY* pSanPolicy);pSanPolicy: A pointer to a <strong>VDS</strong>_SAN_POLICY (section 2.2.2.2.1.1) structure that, if theoperation is successfully completed, receives the SAN policy setting's current value.Return Values: The method MUST return zero or a non-error HRESULT, as specified in [<strong>MS</strong>-ERREF], to indicate success or return an implementation-specific nonzero error code toindicate failure. For the HRESULT values predefined by the <strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> Remote<strong>Protocol</strong>, see section 2.2.3.When the server receives this message, it MUST validate the following parameter:•Verify that pSanPolicy is not NULL.The server MUST populate the <strong>VDS</strong>_SAN_POLICY structure that pSanPolicy references with thecurrent SAN policy setting's value, and return an HRESULT that indicates failure or success.3.4.5.2.9.2 IVds<strong>Service</strong>SAN::SetSANPolicy (Opnum 4)The SetSANPolicy method sets the SAN policy value.HRESULT SetSANPolicy([in] <strong>VDS</strong>_SAN_POLICY SanPolicy);SanPolicy: A <strong>VDS</strong>_SAN_POLICY (section 2.2.2.2.1.1) structure that, if the operation issuccessfully completed, is used to set the new value for the SAN policy.Return Values: The method MUST return zero or a non-error HRESULT, as specified in [<strong>MS</strong>-ERREF], to indicate success or return an implementation-specific nonzero error code toindicate failure. For the HRESULT values predefined by the <strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> Remote<strong>Protocol</strong>, see section 2.2.3.When the server receives this message, it MUST set the SAN policy for the machine to the valueindicated in the <strong>VDS</strong>_SAN_POLICY structure that SanPolicy references, and return an HRESULTthat indicates failure or success.3.4.5.2.10 IVdsHbaPort Methods3.4.5.2.10.1 IVdsHbaPort::GetProperties (Opnum 3)The GetProperties method retrieves the properties of the HBA port that the object exposing thisinterface and method represents.[<strong>MS</strong>-<strong>VDS</strong>] — v20110610<strong>Virtual</strong> <strong>Disk</strong> <strong>Service</strong> (<strong>VDS</strong>) <strong>Protocol</strong> <strong>Specification</strong>Copyright © 2011 Microsoft Corporation.Release: Friday, June 10, 2011185 / 360

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!