diff --git a/devops/models/network.py b/devops/models/network.py index e89dea78..6018d69f 100644 --- a/devops/models/network.py +++ b/devops/models/network.py @@ -258,11 +258,13 @@ def addresses(self): @staticmethod def interface_create(network, node, type='network', mac_address=None, model='virtio', - interface_map={}): + interface_map=None): """Create interface :rtype : Interface """ + if interface_map is None: + interface_map = {} interfaces = [] def _create(mac_addr=None):