Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions xoa_driver/internals/commands/p4_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -1917,12 +1917,10 @@ class GetDataAttr(ResponseBodyStruct):
vlans: typing.List[subtypes.VlanTag] = field(XmpSequence(types_chunk=[XmpShort(), XmpByte()])) # A list of vlans. up to 8 TCIs can be define

def set(self, state: DhcpVlanState, vlans: typing.List[subtypes.VlanTag]) -> "Token":
"""Set a list of VLANs for current DHCP Process
Up to 8 TCIs can be defined.
The order of the VLANs is like the following: ethernet/vlan0/vlan1/../vlanN/uppler_layer(like IPv4)
"""Set a list of VLANs for current DHCP Process, up to 8 TCIs can be defined. The order of the VLANs is like the following: ethernet/vlan0/vlan1/../vlanN/uppler_layer(like IPv4)

:param state: Enable/Disable Vlan configuration
:type DhcpVlanState(byte)
:type state: DhcpVlanState
:param vlans: specifying a list of VlanTag
:type vlans: typing.List[subtypes.VlanTag]
"""
Expand Down