summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/geneve.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-22 16:37:15 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-22 16:37:17 +0100
commit7a509a4d725eb9f9786d9abc59a90fe8e31e4c1f (patch)
tree90a1d4f090aba190ff95841b97df775b53712e8a /python/vyos/ifconfig/geneve.py
parentf90abbe3062a1d687c797ff2f2ffde048430d350 (diff)
downloadvyos-1x-7a509a4d725eb9f9786d9abc59a90fe8e31e4c1f.tar.gz
vyos-1x-7a509a4d725eb9f9786d9abc59a90fe8e31e4c1f.zip
ifconfig: T2104: remove superfluous __init__ in derived classes
__init__ should be added to a derived class only if it does work in the ctor.
Diffstat (limited to 'python/vyos/ifconfig/geneve.py')
-rw-r--r--python/vyos/ifconfig/geneve.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/python/vyos/ifconfig/geneve.py b/python/vyos/ifconfig/geneve.py
index 46782a685..c6834fcd7 100644
--- a/python/vyos/ifconfig/geneve.py
+++ b/python/vyos/ifconfig/geneve.py
@@ -32,9 +32,6 @@ class GeneveIf(Interface):
'type': 'geneve',
}
- def __init__(self, ifname, **kargs):
- super().__init__(ifname, **kargs)
-
def _create(self):
cmd = 'ip link add name {} type geneve id {} remote {}' \
.format(self.config['ifname'], config['vni'], config['remote'])