summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-05-11 17:42:23 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-05-11 17:42:23 +0200
commit86e6b946ffeda358264adf07a5c73aae90db1b46 (patch)
tree69deb275c7b3ffe509cf406eb0d0128e22ecef7d /python/vyos
parent126f2a3bdd2b91d828b7057d6b53a96f957a23df (diff)
downloadvyos-1x-86e6b946ffeda358264adf07a5c73aae90db1b46.tar.gz
vyos-1x-86e6b946ffeda358264adf07a5c73aae90db1b46.zip
vlan: T2449: set accept_ra on vlan interfaces
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/configdict.py1
-rw-r--r--python/vyos/ifconfig_vlan.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py
index 7c1ecdd5d..8325355e8 100644
--- a/python/vyos/configdict.py
+++ b/python/vyos/configdict.py
@@ -122,6 +122,7 @@ vlan_default = {
'ip_enable_arp_announce': 0,
'ip_enable_arp_ignore': 0,
'ip_proxy_arp': 0,
+ 'ipv6_accept_ra': 1,
'ipv6_autoconf': 0,
'ipv6_eui64_prefix': [],
'ipv6_eui64_prefix_remove': [],
diff --git a/python/vyos/ifconfig_vlan.py b/python/vyos/ifconfig_vlan.py
index bb93121e7..6410be9aa 100644
--- a/python/vyos/ifconfig_vlan.py
+++ b/python/vyos/ifconfig_vlan.py
@@ -101,6 +101,8 @@ def apply_vlan_config(vlan, config):
vlan.set_arp_ignore(config['ip_enable_arp_ignore'])
# configure Proxy ARP
vlan.set_proxy_arp(config['ip_proxy_arp'])
+ # IPv6 accept RA
+ vlan.set_ipv6_accept_ra(config['ipv6_accept_ra'])
# IPv6 address autoconfiguration
vlan.set_ipv6_autoconf(config['ipv6_autoconf'])
# IPv6 forwarding