The rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface Module

The rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface Module

class rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface.IntelRackScaleField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

status = <rsd_lib.base.StatusField object>

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

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

This indicates if VLAN is tagged (as defined in IEEE 802.1Q).

class rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface.OemField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

intel_rackscale = <rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface.IntelRackScaleField object>

Intel Rack Scale Design specific properties.

class rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface.VLANField(*args, **kwargs)

Bases: sushy.resources.base.CompositeField

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

This indicates if this VLAN is enabled.

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

This indicates the VLAN identifier for this VLAN.

class rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface.VLanNetworkInterface(connector, path='', redfish_version=None, reader=None)

Bases: rsd_lib.base.ResourceBase

VLanNetworkInterface resource class

This resource contains information for a Virtual LAN (VLAN) network instance available on a manager, system or other device.

oem = <rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface.OemField object>

Oem specific properties.

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

This indicates if this VLAN is enabled.

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

This indicates the VLAN identifier for this VLAN.

class rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface.VLanNetworkInterfaceCollection(connector, path, redfish_version=None)

Bases: rsd_lib.base.ResourceCollectionBase

add_vlan(vlan_network_interface_req)

Add a vlan to port

Parameters

vlan_network_interface_req – JSON for vlan network interface

Returns

The location of the vlan network interface

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.