From d5ac587ac809ebb2f72bc3d39275756934a1f1c7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 1 Jul 2022 11:07:53 +0200 Subject: vti: T2455: add link-local IPv6 address support Interface should receive an auto generated link-local IPv6 address as we do with all VyOS interfaces by default. --- python/vyos/ifconfig/vti.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python/vyos/ifconfig/vti.py') diff --git a/python/vyos/ifconfig/vti.py b/python/vyos/ifconfig/vti.py index c50cd5ce9..dc99d365a 100644 --- a/python/vyos/ifconfig/vti.py +++ b/python/vyos/ifconfig/vti.py @@ -1,4 +1,4 @@ -# Copyright 2021 VyOS maintainers and contributors +# Copyright 2021-2022 VyOS maintainers and contributors # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -53,3 +53,7 @@ class VTIIf(Interface): self._cmd(cmd.format(**self.config)) self.set_interface('admin_state', 'down') + + def get_mac(self): + """ Get a synthetic MAC address. """ + return self.get_mac_synthetic() -- cgit v1.2.3