diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-07 18:35:10 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-07 18:35:37 +0200 |
commit | ed976b809d2ae330f8bfa575339a14b42121e8b8 (patch) | |
tree | f0598ddbbeeade4b6b5411a03f1e8f123d4eb0f0 /src/conf_mode | |
parent | cae4d9c959a1f29c7da91adae869b7b61b5736f1 (diff) | |
download | vyos-1x-ed976b809d2ae330f8bfa575339a14b42121e8b8.tar.gz vyos-1x-ed976b809d2ae330f8bfa575339a14b42121e8b8.zip |
ipv6: T4346: deprecate CLI command to disable IPv6 address family
(cherry picked from commit 0f7e5371e702d4e2389f6fa6dfbda11bc9da6257)
Diffstat (limited to 'src/conf_mode')
-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): |