Closed chrismarget-j closed 2 months ago
Biggest change here is that I eliminated the global rawTelemetryServiceRegistryEntry object
rawTelemetryServiceRegistryEntry
The TestGetTelemetryServicesDeviceMapping() still needs some work. It seems to rely on pre-existing Apstra configurations.
TestGetTelemetryServicesDeviceMapping()
Also, I have a question about this thing:
type TelemetryServiceMapping struct { ServiceName string `json:"service_name"` Devices []string `json:"devices"` }
Should Devices here be []ObjectId? My Apstra doesn't have any values, so I can't tell what this is supposed to be.
Devices
[]ObjectId
Biggest change here is that I eliminated the global
rawTelemetryServiceRegistryEntry
objectThe
TestGetTelemetryServicesDeviceMapping()
still needs some work. It seems to rely on pre-existing Apstra configurations.Also, I have a question about this thing:
Should
Devices
here be[]ObjectId
? My Apstra doesn't have any values, so I can't tell what this is supposed to be.