tsnlab / libtsn

TSN library for C
GNU General Public License v3.0
5 stars 3 forks source link

Add vlan info command to show interface configurations #6

Closed tribela closed 3 years ago

tribela commented 3 years ago

Example output:

enp37s0:
  cbs:
    a:
      credits: {hicredit: 108, idleslope: 70000000, locredit: 287, sendslope: -930000000}
      prios:
        3: {bandwidth: 70000kbps, class: a, max_frame: 512B}
    b:
      credits: {hicredit: 173, idleslope: 30000000, locredit: -3973, sendslope: -970000000}
      prios:
        2: {bandwidth: 30Mbps, class: b, max_frame: 512B}
  tas:
    base_time: 0
    schedule:
    - prio: [5]
      time: 300000
    - prio: [2, 3]
      time: 300000
    - prio: [-1]
      time: 400000
    txtime_delay: 500000