aboutsummaryrefslogtreecommitdiffstats
path: root/vicn/resource/linux/bridge.py
diff options
context:
space:
mode:
Diffstat (limited to 'vicn/resource/linux/bridge.py')
-rw-r--r--vicn/resource/linux/bridge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vicn/resource/linux/bridge.py b/vicn/resource/linux/bridge.py
index 882f0226..7b5ceed7 100644
--- a/vicn/resource/linux/bridge.py
+++ b/vicn/resource/linux/bridge.py
@@ -46,7 +46,7 @@ class Bridge(Channel, BaseNetDevice):
Requirement('bridge_manager')
])
device_name = Attribute(
- default = DEFAULT_BRIDGE_NAME,
+ default = lambda self: self._state.manager.get('bridge_name'),
mandatory = False)
#--------------------------------------------------------------------------