The rsd_lib.resources.v2_1.system.network_device_function Module

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

macaddress = <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, identity, redfish_version=None)

Bases: sushy.resources.base.ResourceBase

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

The description of NetworkDeviceFunction

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>

This object shall contain Ethernet capabilities for this network device function

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

The NetworkDeviceFunction identity string

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

This object shall contain iSCSI boot capabilities, status, and configuration values for this network device function

Links for this NetworkDeviceFunction

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

The NetworkDeviceFunction name

status = <rsd_lib.common.StatusField object>

The NetworkDeviceFunction status

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)

Bases: sushy.resources.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 value of this property shall be the iSCSI boot authentication method for this network device function

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

The value of this property shall be the shared secret for CHAP authentication

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

The value of this property shall be username for CHAP authentication

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

The value of this property shall be 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 value of this property shall be the iSCSI boot initiator name

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

The value of this property shall be 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>

The value of this property shall be a boolean indicating 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 value of this property shall be the CHAP Secret for 2-way CHAP authentication

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

The value of this property shall be the CHAP Username for 2-way CHAP authentication

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

The value of this property shall be the IPv6 or IPv4 address of the primary DNS server for the iSCSI boot initiator

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

The value of this property shall be the logical unit number (LUN) for the primary iSCSI boot target

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

The value of this property shall be the IP address (IPv6 or IPv4) for the primary iSCSI boot target

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

The value of this property shall be the name of the primary iSCSI boot target (iSCSI Qualified Name, IQN)

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

The value of this property shall be the TCP port for the primary iSCSI boot target

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

The value of this property shall be used to indicate if PrimaryVLANId is enabled for the primary iSCSI boot target

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

The value of this property shall be the 802.1q VLAN ID to use for iSCSI boot from the primary target. This VLAN ID is only used if PrimaryVLANEnable is true.

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

The value of this property shall be a boolean indicating whether IPv6 router advertisement is enabled for the iSCSI boot target. This setting shall only apply to IPv6 configurations.

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

The value of this property shall be the IPv6 or IPv4 address of the secondary DNS server for the iSCSI boot initiator

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

The value of this property shall be the logical unit number (LUN) for the secondary iSCSI boot target

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

The value of this property shall be the IP address (IPv6 or IPv4) for the secondary iSCSI boot target

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

The value of this property shall be the name of the secondary iSCSI boot target (iSCSI Qualified Name, IQN)

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

The value of this property shall be the TCP port for the secondary iSCSI boot target

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

The value of this property shall be used to indicate if this VLAN is enabled for the secondary iSCSI boot target

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

The value of this property shall be the 802.1q VLAN ID to use for iSCSI boot from the secondary target. This VLAN ID is only used if SecondaryVLANEnable is true.

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

The value of this property shall be a boolean indicating whether the iSCSI boot target name, LUN, IP address, and netmask should be obtained from DHCP

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.