Merge upstream v2.7.8 into develop

This commit is contained in:
Marco Ceppi
2020-02-27 07:18:06 -05:00
1195 changed files with 107886 additions and 16972 deletions

View File

@@ -1,5 +1,4 @@
from dcim.models import Interface, Device, DeviceRole
from dcim.constants import IFACE_TYPE_KEYSTONE
from ruamel.yaml import YAML
from pathlib import Path
@@ -31,6 +30,6 @@ with file.open('r') as stream:
i += 2
interface, created = Interface.objects.get_or_create(name=name, device=locker, type=IFACE_TYPE_KEYSTONE)
interface, created = Interface.objects.get_or_create(name=name, device=locker, type='keystone')
if created:
print("🔗 Created interface {} for {}".format(interface.name, locker.name))