rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface
Module¶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).
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.
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.
rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface.
VLanNetworkInterface
(connector, path='', redfish_version=None, registries=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.
rsd_lib.resources.v2_1.ethernet_switch.vlan_network_interface.
VLanNetworkInterfaceCollection
(connector, path, redfish_version=None, registries=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 |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.