Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCD files without gateway IP addresses causes model build failure - DockerComposeGenerator.java #486

Open
JT-simutech opened this issue Dec 12, 2023 · 0 comments

Comments

@JT-simutech
Copy link

The gateway IP address quite frequently is missing in SCD files for IEDs in the network that is referenced during build. Maybe better to state "using default gateway" or similar if this is missing. The code is inside a try-catch block but the build process will not complete. If the SCD file is read in OMICRON IEDScout it is not causing any problems that gateway is missing. Could be optional with gateway IP?

InetAddress gateway = InetAddress.getByName( subNetwork.getConnectedAPs().get(0).getAddress().getAddressParameter("IP-GATEWAY").getText());

image
image

Maybe better to catch the unknownhostexception and replace with some default IP if missing or rebuild code to make robust on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant