diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-11 15:12:52 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-11 15:12:52 +0200 |
commit | 07080afd4015a900fb7474e1c81008f58b478565 (patch) | |
tree | 3d879f900b09f1437d8063a594a3c98dcb52008d /python/vyos/configtree.py | |
parent | f8e9d1ecea05aa40555b7eb7e337f7fb9e495bae (diff) | |
download | vyos-1x-07080afd4015a900fb7474e1c81008f58b478565.tar.gz vyos-1x-07080afd4015a900fb7474e1c81008f58b478565.zip |
vpn: l2tp: T2264: migrate IPv6 prefix node to common CLI style
Combining multiple options into a single CLI node is considered bad practice.
IPv6 prefixes consited of the prefix itself and a mask send to the client in
one node only.
The following CLI parts have been migrated from
client-ipv6-pool {
delegate-prefix fc00:0:1::/48,64
prefix 2001:db8::/64,64
}
to
client-ipv6-pool {
delegate fc00:0:1::/48 {
delegation-prefix 48
}
prefix 2001:db8::/48 {
mask 64
}
}
Thus regular validation steps from the VyOS CLI can be used when a prefix is
configured.
Diffstat (limited to 'python/vyos/configtree.py')
0 files changed, 0 insertions, 0 deletions