tacker/samples/tosca-templates/vnfd/tosca-config-openwrt-dnsmasq.yaml
Trinh Nguyen 8602f8657e Add dnsmasq and qos support for OpenWRT VNFM management driver
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
2018-02-27 17:23:15 +09:00

40 lines
1.1 KiB
YAML

vdus:
VDU1:
config:
dhcp: |
package dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option localservice '1'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv6 'server'
option ra 'server'
option ra_management '1'
config 'domain'
option 'name' 'www.facebook.com'
option 'ip' '1.2.3.4'
config 'domain'
option 'name' 'www.google.com'
option 'ip' '192.168.1.140'