tacker/samples/tosca-templates/vnfd/tosca-config-openwrt-dnsmas...

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'