Skip to main content

IscsiBoot

Struct IscsiBoot 

Source
pub struct IscsiBoot {
Show 27 fields pub ip_address_type: Option<Option<IpAddressType>>, pub initiator_ip_address: Option<Option<String>>, pub initiator_name: Option<Option<String>>, pub initiator_default_gateway: Option<Option<String>>, pub initiator_netmask: Option<Option<String>>, pub target_info_via_dhcp: Option<Option<Boolean>>, pub primary_target_name: Option<Option<String>>, pub primary_target_ip_address: Option<Option<String>>, pub primary_target_tcp_port: Option<Option<Int64>>, pub primary_lun: Option<Option<Int64>>, pub primary_vlan_enable: Option<Option<Boolean>>, pub primary_vlanid: Option<Option<Int64>>, pub primary_dns: Option<Option<String>>, pub secondary_target_name: Option<Option<String>>, pub secondary_target_ip_address: Option<Option<String>>, pub secondary_target_tcp_port: Option<Option<Int64>>, pub secondary_lun: Option<Option<Int64>>, pub secondary_vlan_enable: Option<Option<Boolean>>, pub secondary_vlanid: Option<Option<Int64>>, pub secondary_dns: Option<Option<String>>, pub ip_mask_dns_via_dhcp: Option<Option<Boolean>>, pub router_advertisement_enabled: Option<Option<Boolean>>, pub authentication_method: Option<Option<AuthenticationMethod>>, pub chap_username: Option<Option<String>>, pub chap_secret: Option<Option<String>>, pub mutual_chap_username: Option<Option<String>>, pub mutual_chap_secret: Option<Option<String>>,
}
Expand description

The iSCSI boot capabilities, status, and configuration for a network device function.

This type shall describe the iSCSI boot capabilities, status, and configuration values for a network device function.

Fields§

§ip_address_type: Option<Option<IpAddressType>>

The type of IP address being populated in the iSCSIBoot IP address fields.

This property shall contain the type of IP address being populated in the iSCSIBoot IP address fields. Mixing IPv6 and IPv4 addresses on the same network device function shall not be permissible.

§initiator_ip_address: Option<Option<String>>

The IPv6 or IPv4 address of the iSCSI initiator.

This property shall contain the IPv6 or IPv4 address of the iSCSI boot initiator.

§initiator_name: Option<Option<String>>

The iSCSI initiator name.

This property shall contain the iSCSI boot initiator name. This property should match formats defined in RFC3720 or RFC3721.

§initiator_default_gateway: Option<Option<String>>

The IPv6 or IPv4 iSCSI boot default gateway.

This property shall contain the IPv6 or IPv4 iSCSI boot default gateway.

§initiator_netmask: Option<Option<String>>

The IPv6 or IPv4 netmask of the iSCSI boot initiator.

This property shall contain the IPv6 or IPv4 netmask of the iSCSI boot initiator.

§target_info_via_dhcp: Option<Option<Boolean>>

An indication of whether the iSCSI boot target name, LUN, IP address, and netmask should be obtained from DHCP.

This property shall indicate whether the iSCSI boot target name, LUN, IP address, and netmask should be obtained from DHCP.

§primary_target_name: Option<Option<String>>

The name of the iSCSI primary boot target.

This property shall contain the name of the primary iSCSI boot target. This property should match formats defined in RFC3720 or RFC3721.

§primary_target_ip_address: Option<Option<String>>

The IPv4 or IPv6 address for the primary iSCSI boot target.

This property shall contain the IPv4 or IPv6 address for the primary iSCSI boot target.

§primary_target_tcp_port: Option<Option<Int64>>

The TCP port for the primary iSCSI boot target.

This property shall contain the TCP port for the primary iSCSI boot target.

§primary_lun: Option<Option<Int64>>

The logical unit number (LUN) for the primary iSCSI boot target.

This property shall contain the logical unit number (LUN) for the primary iSCSI boot target.

§primary_vlan_enable: Option<Option<Boolean>>

An indication of whether the primary VLAN is enabled.

This property shall indicate whether this VLAN is enabled for the primary iSCSI boot target.

§primary_vlanid: Option<Option<Int64>>

The 802.1q VLAN ID to use for iSCSI boot from the primary target.

This property shall contain the 802.1q VLAN ID to use for iSCSI boot from the primary target. This VLAN ID is only used if PrimaryVLANEnable is true.

§primary_dns: Option<Option<String>>

The IPv6 or IPv4 address of the primary DNS server for the iSCSI boot initiator.

This property shall contain the IPv6 or IPv4 address of the primary DNS server for the iSCSI boot initiator.

§secondary_target_name: Option<Option<String>>

The name of the iSCSI secondary boot target.

This property shall contain the name of the secondary iSCSI boot target. This property should match formats defined in RFC3720 or RFC3721.

§secondary_target_ip_address: Option<Option<String>>

The IPv4 or IPv6 address for the secondary iSCSI boot target.

This property shall contain the IPv4 or IPv6 address for the secondary iSCSI boot target.

§secondary_target_tcp_port: Option<Option<Int64>>

The TCP port for the secondary iSCSI boot target.

This property shall contain the TCP port for the secondary iSCSI boot target.

§secondary_lun: Option<Option<Int64>>

The logical unit number (LUN) for the secondary iSCSI boot target.

This property shall contain the logical unit number (LUN) for the secondary iSCSI boot target.

§secondary_vlan_enable: Option<Option<Boolean>>

An indication of whether the secondary VLAN is enabled.

This property shall indicate whether this VLAN is enabled for the secondary iSCSI boot target.

§secondary_vlanid: Option<Option<Int64>>

The 802.1q VLAN ID to use for iSCSI boot from the secondary target.

This property shall contain the 802.1q VLAN ID to use for iSCSI boot from the secondary target. This VLAN ID is only used if SecondaryVLANEnable is true.

§secondary_dns: Option<Option<String>>

The IPv6 or IPv4 address of the secondary DNS server for the iSCSI boot initiator.

This property shall contain the IPv6 or IPv4 address of the secondary DNS server for the iSCSI boot initiator.

§ip_mask_dns_via_dhcp: Option<Option<Boolean>>

An indication of whether the iSCSI boot initiator uses DHCP to obtain the initiator name, IP address, and netmask.

This property shall indicate whether the iSCSI boot initiator uses DHCP to obtain the initiator name, IP address, and netmask.

§router_advertisement_enabled: Option<Option<Boolean>>

An indication of whether IPv6 router advertisement is enabled for the iSCSI boot target.

This property shall indicate whether IPv6 router advertisement is enabled for the iSCSI boot target. This setting shall apply to only IPv6 configurations.

§authentication_method: Option<Option<AuthenticationMethod>>

The iSCSI boot authentication method for this network device function.

This property shall contain the iSCSI boot authentication method for this network device function.

§chap_username: Option<Option<String>>

The username for CHAP authentication.

This property shall contain the username for CHAP authentication.

§chap_secret: Option<Option<String>>

The shared secret for CHAP authentication.

This property shall contain the shared secret for CHAP authentication.

§mutual_chap_username: Option<Option<String>>

The CHAP username for two-way CHAP authentication.

This property shall contain the CHAP username for two-way CHAP authentication.

§mutual_chap_secret: Option<Option<String>>

The CHAP secret for two-way CHAP authentication.

This property shall contain the CHAP secret for two-way CHAP authentication.

Trait Implementations§

Source§

impl Debug for IscsiBoot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for IscsiBoot

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Send for IscsiBoot

SAFETY: All generated data types are Send

Source§

impl Sync for IscsiBoot

SAFETY: All generated data types are Sync

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,