diff --git a/api/serializers.py b/api/serializers.py index 8bb0833e..2e675add 100644 --- a/api/serializers.py +++ b/api/serializers.py @@ -715,9 +715,11 @@ class ProfilSerializer(NamespacedHMSerializer): class ModelSwitchSerializer(NamespacedHMSerializer): + constructor = serializers.CharField(read_only=True) + class Meta: model = topologie.ModelSwitch - fields = ('reference', 'firmware') + fields = ('reference', 'firmware', 'constructor') class SwitchBaySerializer(NamespacedHMSerializer):