From e619cb8bf1fb83dc4aaffeba798b4bf8ca79d88f Mon Sep 17 00:00:00 2001 From: Philipp Jungkamp Date: Tue, 18 Apr 2023 11:17:12 +0200 Subject: [PATCH] rename node to iec61850-8-1 Signed-off-by: Philipp Jungkamp --- .../{iec61850-goose.conf => iec61850-8-1.conf} | 2 +- lib/nodes/iec61850_goose.cpp | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) rename etc/examples/nodes/{iec61850-goose.conf => iec61850-8-1.conf} (99%) diff --git a/etc/examples/nodes/iec61850-goose.conf b/etc/examples/nodes/iec61850-8-1.conf similarity index 99% rename from etc/examples/nodes/iec61850-goose.conf rename to etc/examples/nodes/iec61850-8-1.conf index 74c66b73b..819e128ef 100644 --- a/etc/examples/nodes/iec61850-goose.conf +++ b/etc/examples/nodes/iec61850-8-1.conf @@ -1,7 +1,7 @@ nodes = { goose = { - type = "iec61850-goose" + type = "iec61850-8-1" out = { # Ethernet interface to publish on diff --git a/lib/nodes/iec61850_goose.cpp b/lib/nodes/iec61850_goose.cpp index c7c3d4d94..338ed9750 100644 --- a/lib/nodes/iec61850_goose.cpp +++ b/lib/nodes/iec61850_goose.cpp @@ -927,14 +927,6 @@ int GooseNode::stop() return Node::stop(); } -static char name[] = "iec61850-goose"; -static char description[] = "Subscribe to and publish GOOSE messages"; -static NodePlugin< - GooseNode, - name, - description, - (int) NodeFactory::Flags::SUPPORTS_READ - | (int) NodeFactory::Flags::SUPPORTS_WRITE - | (int) NodeFactory::Flags::SUPPORTS_POLL, - 1 -> p; +static char name[] = "iec61850-8-1"; +static char description[] = "IEC 61850-8-1 (GOOSE)"; +static NodePlugin p;