Skip to content

ansible role for configuring sqm aspects of your openwrt system

License

Notifications You must be signed in to change notification settings

flandiGT/openwrt-sqm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openwrt-sqm

configure sqm (Smart Queue Management) aspects of your openwrt system. compare: [https://wiki.openwrt.org/doc/uci/sqm]

Dependencies

  • openwrt-uci
  • python installed (if any package is being to installed)

Role Variables

variable name type description/structure default
queues map of objects key: interface, value: see attributes below []

Role Variable elements

interfaces attributes:

attribute name property type Mandatory? valid values / examples
enabled boolean yes True / False
upload number yes in kBit/s
download number yes in kBit/s
qdisc text ? see documentation on openwrt.org
qdisc_advanced boolean no True / False, see documentation on openwrt.org
qdisc_really_really_advanced boolean no True / False, see documentation on openwrt.org
script text ? see documentation on openwrt.org
linklayer text ? see documentation on openwrt.org
linklayer text ? see documentation on openwrt.org
debug_log boolean ? see documentation on openwrt.org
verbosity number ? see documentation on openwrt.org

Example Playbook

  - role: openwrt-sqm
    luci_support: True
    queues:
      eth0:
        enabled: True
        upload: 975
        download: 18000
        qdisc: fq_codel
        qdisc_advanced: None
        qdisc_really_really_advanced: True
        script: simple.qos
        linklayer: none
        debug_logging: True
        verbosity: 2

Official documentation:

About

ansible role for configuring sqm aspects of your openwrt system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published