The rsd_lib.resources.v2_1.system.network_device_function Module

class rsd_lib.resources.v2_1.system.network_device_function.EthernetField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

mac_address = <sushy.resources.base.Field object>

This is the currently configured MAC address of the (logical port) network device function.

class rsd_lib.resources.v2_1.system.network_device_function.NetworkDeviceFunction(connector, path='', redfish_version=None, registries=None, reader=None)

Bases: rsd_lib.base.ResourceBase

NetworkDeviceFunction resource class

A Network Device Function represents a logical interface exposed by the network adapter.

device_enabled = <sushy.resources.base.Field object>

Whether the network device function is enabled.

ethernet = <rsd_lib.resources.v2_1.system.network_device_function.EthernetField object>

Ethernet.

iscsi_boot = <rsd_lib.resources.v2_1.system.network_device_function.iSCSIBootField object>

iSCSI Boot.

status = <rsd_lib.base.StatusField object>

This indicates the known state of the resource, such as if it is enabled.

update(ethernet=None, iscsi_boot=None)

Enable iSCSI boot of compute node

Parameters
  • ethernet – Ethernet capabilities for this network device function

  • iscsi_boot – iSCSI boot capabilities, status, and configuration values for this network device function

class rsd_lib.resources.v2_1.system.network_device_function.NetworkDeviceFunctionCollection(connector, path, redfish_version=None, registries=None)

Bases: rsd_lib.base.ResourceCollectionBase

class rsd_lib.resources.v2_1.system.network_device_function.iSCSIBootField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

authentication_method = <sushy.resources.base.Field object>

The iSCSI boot authentication method for this network device function.

chap_secret = <sushy.resources.base.Field object>

The shared secret for CHAP authentication.

chap_username = <sushy.resources.base.Field object>

The username for CHAP authentication.

initiator_default_gateway = <sushy.resources.base.Field object>

The IPv6 or IPv4 iSCSI boot default gateway.

initiator_ip_address = <sushy.resources.base.Field object>

The IPv6 or IPv4 address of the iSCSI initiator.

initiator_name = <sushy.resources.base.Field object>

The iSCSI initiator name.

initiator_netmask = <sushy.resources.base.Field object>

The IPv6 or IPv4 netmask of the iSCSI boot initiator.

ip_address_type = <sushy.resources.base.Field object>

The type of IP address (IPv6 or IPv4) being populated in the iSCSIBoot IP address fields.

ip_mask_dns_via_dhcp = <sushy.resources.base.Field object>

Whether the iSCSI boot initiator uses DHCP to obtain the iniator name, IP address, and netmask.

mutual_chap_secret = <sushy.resources.base.Field object>

The CHAP Secret for 2-way CHAP authentication.

mutual_chap_username = <sushy.resources.base.Field object>

The CHAP Username for 2-way CHAP authentication.

primary_dns = <sushy.resources.base.Field object>

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

primary_lun = <sushy.resources.base.Field object>

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

primary_target_ip_address = <sushy.resources.base.Field object>

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

primary_target_name = <sushy.resources.base.Field object>

The name of the iSCSI primary boot target.

primary_target_tcp_port = <sushy.resources.base.Field object>

The TCP port for the primary iSCSI boot target.

primary_vlan_enable = <sushy.resources.base.Field object>

This indicates if the primary VLAN is enabled.

primary_vlan_id = <sushy.resources.base.Field object>

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

router_advertisement_enabled = <sushy.resources.base.Field object>

Whether IPv6 router advertisement is enabled for the iSCSI boot target.

secondary_dns = <sushy.resources.base.Field object>

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

secondary_lun = <sushy.resources.base.Field object>

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

secondary_target_ip_address = <sushy.resources.base.Field object>

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

secondary_target_name = <sushy.resources.base.Field object>

The name of the iSCSI secondary boot target.

secondary_target_tcp_port = <sushy.resources.base.Field object>

The TCP port for the secondary iSCSI boot target.

secondary_vlan_enable = <sushy.resources.base.Field object>

This indicates if the secondary VLAN is enabled.

secondary_vlan_id = <sushy.resources.base.Field object>

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

target_info_via_dhcp = <sushy.resources.base.Field object>

Whether the iSCSI boot target name, LUN, IP address, and netmask should be obtained from DHCP.