summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-bridge.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-21 18:33:53 +0200
committerGitHub <noreply@github.com>2019-08-21 18:33:53 +0200
commit8520b829e381382af66833f6ea61aa04e03c332b (patch)
treef63836e5a7c9b950a5f0aca0cfeb084a91f933c1 /src/conf_mode/interface-bridge.py
parent63855b5c6b674d102804b43bcda85499a43973a4 (diff)
parentd553b380d59961093f777ce55f7e98cc8bd1844b (diff)
downloadvyos-1x-8520b829e381382af66833f6ea61aa04e03c332b.tar.gz
vyos-1x-8520b829e381382af66833f6ea61aa04e03c332b.zip
Merge pull request #111 from c-po/t1601-loopback
T1601 loopback
Diffstat (limited to 'src/conf_mode/interface-bridge.py')
-rwxr-xr-xsrc/conf_mode/interface-bridge.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/conf_mode/interface-bridge.py b/src/conf_mode/interface-bridge.py
index 543349e7b..65b5c4066 100755
--- a/src/conf_mode/interface-bridge.py
+++ b/src/conf_mode/interface-bridge.py
@@ -178,9 +178,6 @@ def get_config():
return bridge
def verify(bridge):
- if bridge is None:
- return None
-
conf = Config()
for br in conf.list_nodes('interfaces bridge'):
# it makes no sense to verify ourself in this case
@@ -195,15 +192,9 @@ def verify(bridge):
return None
def generate(bridge):
- if bridge is None:
- return None
-
return None
def apply(bridge):
- if bridge is None:
- return None
-
cmd = ''
if bridge['deleted']:
# bridges need to be shutdown first