summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-02 19:09:54 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-02 19:09:54 +0200
commit92d04a74411695b61c78985a91ca0a68017091ef (patch)
treebb6792ac7f7b56f4a45949b208765952d78c8e98 /python
parent80a22daab12172c767dcacb70f8c5a8a52c383cc (diff)
downloadvyos-1x-92d04a74411695b61c78985a91ca0a68017091ef.tar.gz
vyos-1x-92d04a74411695b61c78985a91ca0a68017091ef.zip
ifconfig: l2tpv3: T1823: add missing items from config dict to options
Commit 8a4dd6c2816 ("ifconfig: T2057: add class Register") added the interface options but not all have been migrated. The forgotten ones have been added by this commit (session_id & peer_session_id).
Diffstat (limited to 'python')
-rw-r--r--python/vyos/ifconfig/l2tpv3.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/l2tpv3.py b/python/vyos/ifconfig/l2tpv3.py
index 07f1cf8a3..d98b11ab0 100644
--- a/python/vyos/ifconfig/l2tpv3.py
+++ b/python/vyos/ifconfig/l2tpv3.py
@@ -41,7 +41,9 @@ class L2TPv3If(Interface):
}
}
options = Interface.options + \
- ['tunnel_id', 'peer_tunnel_id', 'local_port', 'remote_port', 'encapsulation', 'local_address', 'remote_address']
+ ['tunnel_id', 'peer_tunnel_id', 'local_port', 'remote_port',
+ 'encapsulation', 'local_address', 'remote_address', 'session_id',
+ 'peer_session_id']
def _create(self):
# create tunnel interface