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