transpower-nz / open-scd

Apache License 2.0
4 stars 1 forks source link

Scheme validation to check MAC address duplication? #7

Open Uffel3 opened 6 months ago

Uffel3 commented 6 months ago

At the moment, I can apply the same MAC address to GSE of different IED's and OpenSCD does not complain. Can we have a check function so someone does not do something stupid? This is not a big deal for a new project, but can be an issue where you add an IED to an existing project.

image

danyill commented 6 months ago

I do think this would be a nice to have but at the moment it is somewhat trivial to select everything, sort by MAC address and eyeball it for duplications.

Ultimately being able to write validators to check the design is as we expect would be a nice improvement to make.