8602f8657e
This also includes using a custom image that fixes the issue of OpenWRT keeps respawning: https://bugs.launchpad.net/tacker/+bug/1557008 And fixed by haint at https://review.openstack.org/#/c/543413/ Change-Id: I05430ead22bd6a89953b1f0df025a32b3cb43dcc Implements: blueprint advanced-openwrt-driver
72 lines
1.8 KiB
YAML
72 lines
1.8 KiB
YAML
vdus:
|
|
VDU1:
|
|
config:
|
|
qos: |
|
|
package qos
|
|
|
|
config interface 'wan'
|
|
option classgroup 'Default'
|
|
option upload '1000'
|
|
option download '16000'
|
|
option enabled '1'
|
|
|
|
config classify
|
|
option target 'Priority'
|
|
option ports '22,53'
|
|
option comment 'ssh, dns'
|
|
|
|
config classify
|
|
option target 'Normal'
|
|
option proto 'tcp'
|
|
option ports '20,21,25,80,110,443,993,995'
|
|
option comment 'ftp, smtp, http(s), imap'
|
|
|
|
config classify
|
|
option target 'Express'
|
|
option ports '5190'
|
|
option comment 'AOL, iChat, ICQ'
|
|
|
|
config default
|
|
option target 'Express'
|
|
option proto 'udp'
|
|
option pktsize '-500'
|
|
|
|
config reclassify
|
|
option target 'Priority'
|
|
option proto 'icmp'
|
|
|
|
config default
|
|
option target 'Bulk'
|
|
option portrange '1024-65535'
|
|
|
|
config classgroup 'Default'
|
|
option classes 'Priority Express Normal Bulk'
|
|
option default 'Normal'
|
|
|
|
config class 'Priority'
|
|
option packetsize '400'
|
|
option avgrate '10'
|
|
option priority '20'
|
|
|
|
config class 'Priority_down'
|
|
option packetsize '1000'
|
|
option avgrate '10'
|
|
|
|
config class 'Express'
|
|
option packetsize '1000'
|
|
option avgrate '50'
|
|
option priority '10'
|
|
|
|
config class 'Normal'
|
|
option packetsize '1500'
|
|
option packetdelay '100'
|
|
option avgrate '10'
|
|
option priority '5'
|
|
|
|
config class 'Normal_down'
|
|
option avgrate '20'
|
|
|
|
config class 'Bulk'
|
|
option avgrate '1'
|
|
option packetdelay '200'
|