summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-07 18:35:10 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-07 18:35:10 +0200
commit0f7e5371e702d4e2389f6fa6dfbda11bc9da6257 (patch)
treede4d503703faf215d204665f79334957496c7524
parent957f73ed8c2c22afd5e56adc36b4d032b3f1a5f1 (diff)
downloadvyos-1x-0f7e5371e702d4e2389f6fa6dfbda11bc9da6257.tar.gz
vyos-1x-0f7e5371e702d4e2389f6fa6dfbda11bc9da6257.zip
ipv6: T4346: deprecate CLI command to disable IPv6 address family
-rwxr-xr-xsrc/conf_mode/system-ipv6.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf_mode/system-ipv6.py b/src/conf_mode/system-ipv6.py
index 7fb2dd1cf..e6bcc12ad 100755
--- a/src/conf_mode/system-ipv6.py
+++ b/src/conf_mode/system-ipv6.py
@@ -17,6 +17,7 @@
import os
from sys import exit
+from vyos.base import DeprecationWarning
from vyos.config import Config
from vyos.configdict import dict_merge
from vyos.configdict import leaf_node_changed
@@ -49,6 +50,9 @@ def get_config(config=None):
return opt
def verify(opt):
+ if 'disable' in opt:
+ DeprecationWarning('VyOS 1.4 (sagitta) will remove the CLI command to '\
+ 'disable IPv6 address family in the Linux Kernel!')
pass
def generate(opt):