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

Retire des modifications qui viendrons avec les switchs.

This commit is contained in:
Hugo LEVY-FALK 2018-07-17 22:27:58 +02:00
parent 7166318e19
commit 4679bbe604

View file

@ -338,15 +338,11 @@ class OptionalMachineSerializer(NamespacedHMSerializer):
class OptionalTopologieSerializer(NamespacedHMSerializer):
"""Serialize `preferences.models.OptionalTopologie` objects.
"""
switchs_management_interface_ip= serializers.CharField(read_only=True)
class Meta:
model = preferences.OptionalTopologie
fields = ('radius_general_policy', 'vlan_decision_ok',
'vlan_decision_nok', 'switchs_ip_type', 'switchs_web_management',
'switchs_web_management_ssl', 'switchs_rest_management',
'switchs_management_utils', 'switchs_management_interface_ip',
'provision_switchs_enabled')
'vlan_decision_nok')
class GeneralOptionSerializer(NamespacedHMSerializer):