diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-07 19:59:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 19:59:14 +0200 |
commit | 25d65249bd81f6405dcf6b6b94bb4ea23436d532 (patch) | |
tree | f0598ddbbeeade4b6b5411a03f1e8f123d4eb0f0 /src | |
parent | 7bd5a1c76ed37b5c65622c730db827f90262941f (diff) | |
parent | ed976b809d2ae330f8bfa575339a14b42121e8b8 (diff) | |
download | vyos-1x-25d65249bd81f6405dcf6b6b94bb4ea23436d532.tar.gz vyos-1x-25d65249bd81f6405dcf6b6b94bb4ea23436d532.zip |
Merge pull request #1276 from c-po/t4346-deprecate-ipv6-disable
T4346 Deprecate "system ipv6 disable" option to disable address family within OS kernel (equuleus)
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/system-ipv6.py | 4 |
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): |