|
1 | 1 | # @summary Network device configuration(Link) Link section definition |
2 | 2 | # @see https://www.freedesktop.org/software/systemd/man/latest/systemd.link.html |
3 | 3 | type Systemd::Interface::Link::Link = Struct[{ |
4 | | - 'Description' => Optional[String[1]], |
5 | | - 'Property' => Optional[String[1]], |
6 | | - 'ImportProperty' => Optional[String[1]], |
7 | | - 'UnsetProperty' => Optional[String[1]], |
8 | | - 'Alias' => Optional[String[1]], |
9 | | - 'MACAddressPolicy' => Optional[Enum['persistent', 'random', 'none', '']], |
10 | | - 'MACAddress' => Optional[String[1]], |
11 | | - 'NamePolicy' => Optional[Enum[ |
12 | | - 'kernel', 'database', 'onboard', 'slot', |
13 | | - 'path', 'mac', 'keep' |
14 | | - ]], |
15 | | - 'Name' => Optional[String[1]], |
16 | | - 'AlternativeNamesPolicy' => Optional[String[1]], |
17 | | - 'AlternativeName' => Optional[String[1]], |
18 | | - 'TransmitQueues' => Optional[Integer[1,4096]], |
19 | | - 'ReceiveQueues' => Optional[Integer[1,4096]], |
20 | | - 'TransmitQueueLength' => Optional[Integer[0, 4294967294]], |
21 | | - 'MTUBytes' => Optional[Integer[1280]], |
22 | | - 'BitsPerSecond' => Optional[String[1]], |
23 | | - 'Duplex' => Optional[String[1]], |
24 | | - 'AutoNegotiation' => Optional[Enum['yes','no']], |
25 | | - 'WakeOnLan' => Optional[Enum[ |
26 | | - 'phy', 'unicast', 'multicast', 'broadcast', |
27 | | - 'arp', 'magic', 'secureon' |
28 | | - ]], |
29 | | - 'WakeOnLanPassword' => Optional[String[1]], |
30 | | - 'Port' => Optional[Enum['tp', 'aui', 'bnc', 'mii', 'fibre']], |
31 | | - 'Advertise' => Optional[Variant[ |
32 | | - Systemd::Interface::Link::Link_advertise, |
33 | | - Array[Systemd::Interface::Link::Link_advertise] |
34 | | - ]], |
35 | | - 'ReceiveChecksumOffload' => Optional[Enum['yes','no']], |
36 | | - 'TransmitChecksumOffload' => Optional[Enum['yes','no']], |
37 | | - 'TCPSegmentationOffload' => Optional[Enum['yes','no']], |
38 | | - 'TCP6SegmentationOffload' => Optional[Enum['yes','no']], |
39 | | - 'GenericSegmentationOffload' => Optional[Enum['yes','no']], |
40 | | - 'GenericReceiveOffload' => Optional[Enum['yes','no']], |
41 | | - 'LargeReceiveOffload' => Optional[Enum['yes','no']], |
42 | | - 'ReceivePacketSteeringCPUMask' => Optional[String[1]], |
43 | | - 'ReceiveVLANCTAGHardwareAcceleration' => Optional[Enum['yes','no']], |
44 | | - 'TransmitVLANCTAGHardwareAcceleration'=> Optional[Enum['yes','no']], |
45 | | - 'ReceiveVLANCTAGFilter' => Optional[Enum['yes','no']], |
46 | | - 'TransmitVLANSTAGHardwareAcceleration'=> Optional[Enum['yes','no']], |
47 | | - 'NTupleFilter' => Optional[Enum['yes','no']], |
48 | | - 'RxChannels' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
49 | | - 'TxChannels' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
50 | | - 'OtherChannels' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
51 | | - 'CombinedChannels' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
52 | | - 'RxBufferSize' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
53 | | - 'RxMiniBufferSize' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
54 | | - 'RxJumboBufferSize' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
55 | | - 'TxBufferSize' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
56 | | - 'RxFlowControl' => Optional[Enum['yes','no']], |
57 | | - 'TxFlowControl' => Optional[Enum['yes','no']], |
58 | | - 'AutoNegotiationFlowControl' => Optional[Enum['yes','no']], |
59 | | - 'GenericSegmentOffloadMaxBytes' => Optional[String[1]], |
60 | | - 'GenericSegmentOffloadMaxSegments' => Optional[Integer[1, 65535]], |
61 | | - 'UseAdaptiveRxCoalesce' => Optional[Enum['yes','no']], |
62 | | - 'UseAdaptiveTxCoalesce' => Optional[Enum['yes','no']], |
63 | | - 'RxCoalesceSec' => Optional[Integer], |
64 | | - 'RxCoalesceIrqSec' => Optional[Integer], |
65 | | - 'RxCoalesceLowSec' => Optional[Integer], |
66 | | - 'RxCoalesceHighSec' => Optional[Integer], |
67 | | - 'TxCoalesceSec' => Optional[Integer], |
68 | | - 'TxCoalesceIrqSec' => Optional[Integer], |
69 | | - 'TxCoalesceLowSec' => Optional[Integer], |
70 | | - 'TxCoalesceHighSec' => Optional[Integer], |
71 | | - 'RxMaxCoalescedFrames' => Optional[Integer], |
72 | | - 'RxMaxCoalescedIrqFrames' => Optional[Integer], |
73 | | - 'RxMaxCoalescedLowFrames' => Optional[Integer], |
74 | | - 'RxMaxCoalescedHighFrames' => Optional[Integer], |
75 | | - 'TxMaxCoalescedFrames' => Optional[Integer], |
76 | | - 'TxMaxCoalescedIrqFrames' => Optional[Integer], |
77 | | - 'TxMaxCoalescedLowFrames' => Optional[Integer], |
78 | | - 'TxMaxCoalescedHighFrames' => Optional[Integer], |
79 | | - 'CoalescePacketRateLow' => Optional[Integer], |
80 | | - 'CoalescePacketRateHigh' => Optional[Integer], |
81 | | - 'CoalescePacketRateSampleIntervalSec' => Optional[Integer], |
82 | | - 'StatisticsBlockCoalesceSec' => Optional[Integer[1]], |
83 | | - 'MDI' => Optional[Enum['straight', 'mdi', 'crossover', 'mdi-x', 'mdix', 'auto']], |
84 | | - 'SR_IOVVirtualFunctions' => Optional[Integer[0, 2147483647]], |
| 4 | + 'Description' => Optional[String[1]], |
| 5 | + 'Property' => Optional[String[1]], |
| 6 | + 'ImportProperty' => Optional[String[1]], |
| 7 | + 'UnsetProperty' => Optional[String[1]], |
| 8 | + 'Alias' => Optional[String[1]], |
| 9 | + 'MACAddressPolicy' => Optional[Enum['persistent', 'random', 'none', '']], |
| 10 | + 'MACAddress' => Optional[String[1]], |
| 11 | + 'NamePolicy' => Optional[Enum[ |
| 12 | + 'kernel', 'database', 'onboard', 'slot', |
| 13 | + 'path', 'mac', 'keep' |
| 14 | + ]], |
| 15 | + 'Name' => Optional[String[1]], |
| 16 | + 'AlternativeNamesPolicy' => Optional[String[1]], |
| 17 | + 'AlternativeName' => Optional[String[1]], |
| 18 | + 'TransmitQueues' => Optional[Integer[1,4096]], |
| 19 | + 'ReceiveQueues' => Optional[Integer[1,4096]], |
| 20 | + 'TransmitQueueLength' => Optional[Integer[0, 4294967294]], |
| 21 | + 'MTUBytes' => Optional[Integer[1280]], |
| 22 | + 'BitsPerSecond' => Optional[String[1]], |
| 23 | + 'Duplex' => Optional[String[1]], |
| 24 | + 'AutoNegotiation' => Optional[Enum['yes','no']], |
| 25 | + 'WakeOnLan' => Optional[Enum[ |
| 26 | + 'phy', 'unicast', 'multicast', 'broadcast', |
| 27 | + 'arp', 'magic', 'secureon' |
| 28 | + ]], |
| 29 | + 'WakeOnLanPassword' => Optional[String[1]], |
| 30 | + 'Port' => Optional[Enum['tp', 'aui', 'bnc', 'mii', 'fibre']], |
| 31 | + 'Advertise' => Optional[Variant[ |
| 32 | + Systemd::Interface::Link::Link_advertise, |
| 33 | + Array[Systemd::Interface::Link::Link_advertise] |
| 34 | + ]], |
| 35 | + 'ReceiveChecksumOffload' => Optional[Enum['yes','no']], |
| 36 | + 'TransmitChecksumOffload' => Optional[Enum['yes','no']], |
| 37 | + 'TCPSegmentationOffload' => Optional[Enum['yes','no']], |
| 38 | + 'TCP6SegmentationOffload' => Optional[Enum['yes','no']], |
| 39 | + 'GenericSegmentationOffload' => Optional[Enum['yes','no']], |
| 40 | + 'GenericReceiveOffload' => Optional[Enum['yes','no']], |
| 41 | + 'LargeReceiveOffload' => Optional[Enum['yes','no']], |
| 42 | + 'ReceivePacketSteeringCPUMask' => Optional[String[1]], |
| 43 | + 'ReceiveVLANCTAGHardwareAcceleration' => Optional[Enum['yes','no']], |
| 44 | + 'TransmitVLANCTAGHardwareAcceleration'=> Optional[Enum['yes','no']], |
| 45 | + 'ReceiveVLANCTAGFilter' => Optional[Enum['yes','no']], |
| 46 | + 'TransmitVLANSTAGHardwareAcceleration'=> Optional[Enum['yes','no']], |
| 47 | + 'NTupleFilter' => Optional[Enum['yes','no']], |
| 48 | + 'RxChannels' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
| 49 | + 'TxChannels' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
| 50 | + 'OtherChannels' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
| 51 | + 'CombinedChannels' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
| 52 | + 'RxBufferSize' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
| 53 | + 'RxMiniBufferSize' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
| 54 | + 'RxJumboBufferSize' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
| 55 | + 'TxBufferSize' => Optional[Variant[Enum['max'],Integer[1,4294967295]]], |
| 56 | + 'RxFlowControl' => Optional[Enum['yes','no']], |
| 57 | + 'TxFlowControl' => Optional[Enum['yes','no']], |
| 58 | + 'AutoNegotiationFlowControl' => Optional[Enum['yes','no']], |
| 59 | + 'GenericSegmentOffloadMaxBytes' => Optional[String[1]], |
| 60 | + 'GenericSegmentOffloadMaxSegments' => Optional[Integer[1, 65535]], |
| 61 | + 'UseAdaptiveRxCoalesce' => Optional[Enum['yes','no']], |
| 62 | + 'UseAdaptiveTxCoalesce' => Optional[Enum['yes','no']], |
| 63 | + 'RxCoalesceSec' => Optional[Integer], |
| 64 | + 'RxCoalesceIrqSec' => Optional[Integer], |
| 65 | + 'RxCoalesceLowSec' => Optional[Integer], |
| 66 | + 'RxCoalesceHighSec' => Optional[Integer], |
| 67 | + 'TxCoalesceSec' => Optional[Integer], |
| 68 | + 'TxCoalesceIrqSec' => Optional[Integer], |
| 69 | + 'TxCoalesceLowSec' => Optional[Integer], |
| 70 | + 'TxCoalesceHighSec' => Optional[Integer], |
| 71 | + 'RxMaxCoalescedFrames' => Optional[Integer], |
| 72 | + 'RxMaxCoalescedIrqFrames' => Optional[Integer], |
| 73 | + 'RxMaxCoalescedLowFrames' => Optional[Integer], |
| 74 | + 'RxMaxCoalescedHighFrames' => Optional[Integer], |
| 75 | + 'TxMaxCoalescedFrames' => Optional[Integer], |
| 76 | + 'TxMaxCoalescedIrqFrames' => Optional[Integer], |
| 77 | + 'TxMaxCoalescedLowFrames' => Optional[Integer], |
| 78 | + 'TxMaxCoalescedHighFrames' => Optional[Integer], |
| 79 | + 'CoalescePacketRateLow' => Optional[Integer], |
| 80 | + 'CoalescePacketRateHigh' => Optional[Integer], |
| 81 | + 'CoalescePacketRateSampleIntervalSec' => Optional[Integer], |
| 82 | + 'StatisticsBlockCoalesceSec' => Optional[Integer[1]], |
| 83 | + 'MDI' => Optional[Enum['straight', 'mdi', 'crossover', 'mdi-x', 'mdix', 'auto']], |
| 84 | + 'SR_IOVVirtualFunctions' => Optional[Integer[0, 2147483647]], |
85 | 85 | }] |
0 commit comments