From ff31ce51b388240a6cf4108661c49a6dff2079ec Mon Sep 17 00:00:00 2001 From: Leonard Yu Date: Fri, 1 Dec 2023 09:24:15 +0100 Subject: [PATCH] Fix P4_DHCP_VLAN docstring --- xoa_driver/internals/commands/p4_commands.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/xoa_driver/internals/commands/p4_commands.py b/xoa_driver/internals/commands/p4_commands.py index d41e07e1..a34463e5 100644 --- a/xoa_driver/internals/commands/p4_commands.py +++ b/xoa_driver/internals/commands/p4_commands.py @@ -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] """