8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Fix divers

This commit is contained in:
detraz 2018-09-24 20:01:20 +02:00 committed by Alexandre Iooss
parent f580dfcec1
commit bccdd1c425
2 changed files with 2 additions and 1 deletions

View file

@ -349,6 +349,7 @@ class OptionalMachineSerializer(NamespacedHMSerializer):
class OptionalTopologieSerializer(NamespacedHMSerializer):
"""Serialize `preferences.models.OptionalTopologie` objects.
"""
switchs_management_interface_ip = serializers.CharField()
class Meta:
model = preferences.OptionalTopologie

View file

@ -552,7 +552,7 @@ class Port(AclMixin, RevMixin, models.Model):
return port_profile
else:
nothing_profile, _created = PortProfile.objects.get_or_create(
profile_default='nothing',
profil_default='nothing',
name='nothing',
radius_type='NO'
)