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
40 lines
1.1 KiB
YAML
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'
|