mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Fix divers
This commit is contained in:
parent
6652e33d8c
commit
42d2f80470
2 changed files with 2 additions and 1 deletions
|
@ -349,6 +349,7 @@ class OptionalMachineSerializer(NamespacedHMSerializer):
|
||||||
class OptionalTopologieSerializer(NamespacedHMSerializer):
|
class OptionalTopologieSerializer(NamespacedHMSerializer):
|
||||||
"""Serialize `preferences.models.OptionalTopologie` objects.
|
"""Serialize `preferences.models.OptionalTopologie` objects.
|
||||||
"""
|
"""
|
||||||
|
switchs_management_interface_ip = serializers.CharField()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = preferences.OptionalTopologie
|
model = preferences.OptionalTopologie
|
||||||
|
|
|
@ -552,7 +552,7 @@ class Port(AclMixin, RevMixin, models.Model):
|
||||||
return port_profile
|
return port_profile
|
||||||
else:
|
else:
|
||||||
nothing_profile, _created = PortProfile.objects.get_or_create(
|
nothing_profile, _created = PortProfile.objects.get_or_create(
|
||||||
profile_default='nothing',
|
profil_default='nothing',
|
||||||
name='nothing',
|
name='nothing',
|
||||||
radius_type='NO'
|
radius_type='NO'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue