Commit 21f54486 authored by Hugo LEVY-FALK's avatar Hugo LEVY-FALK
Browse files

Fix switch creation

parent 71dc9c9b
......@@ -304,7 +304,7 @@ class Switch(AclMixin, Machine):
def get_name(self):
return or self.main_interface()
return or getattr(self.main_interface(), 'domain', 'Unknown')
def get_radius_key(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment