diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/interfaceconfig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/vyos/interfaceconfig.py b/python/vyos/interfaceconfig.py index 1d3215a0a..9fd0d83f9 100644 --- a/python/vyos/interfaceconfig.py +++ b/python/vyos/interfaceconfig.py @@ -55,7 +55,7 @@ class Interface: self._ifname = str(ifname) - + @property def remove(self): """ Remove system interface @@ -63,8 +63,8 @@ class Interface: Example: from vyos.interfaceconfig import Interface - i = Interface('br111') - i.remove() + i = Interface('br111', type='bridge') + i.remove """ # NOTE (Improvement): |