@classmethod
    def serialize_network_params(cls, cluster):
        fields = cls.network_cfg_fields
        if objects.Cluster.is_component_enabled(cluster, 'ironic'):
            fields += ('baremetal_gateway', 'baremetal_range')
        return BasicSerializer.serialize(cluster.network_config, fields)
Overrides default serialization, adds baremetal fields if need
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/extensions/network_manager/objects/serializers/network_configuration.py/NeutronNetworkConfigurationSerializer.serialize_network_params