diff --git a/doc/openapi/components/schemas/config/hooks/_gate.yaml b/doc/openapi/components/schemas/config/hooks/_gate.yaml index 5702f7fb8..b9d13bafa 100644 --- a/doc/openapi/components/schemas/config/hooks/_gate.yaml +++ b/doc/openapi/components/schemas/config/hooks/_gate.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/components/schemas/formats/sogno-old.yaml b/doc/openapi/components/schemas/formats/sogno-old.yaml index 77ad74657..f5badb87c 100644 --- a/doc/openapi/components/schemas/formats/sogno-old.yaml +++ b/doc/openapi/components/schemas/formats/sogno-old.yaml @@ -1,4 +1,3 @@ - # yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 diff --git a/doc/openapi/openapi.yaml b/doc/openapi/openapi.yaml index f28d7edc3..d5aa52d0c 100644 --- a/doc/openapi/openapi.yaml +++ b/doc/openapi/openapi.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/capabilities.yaml b/doc/openapi/paths/capabilities.yaml index d8b873e3c..fe0dfde7a 100644 --- a/doc/openapi/paths/capabilities.yaml +++ b/doc/openapi/paths/capabilities.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/config.yaml b/doc/openapi/paths/config.yaml index bc4a65b13..7f5a19f2d 100644 --- a/doc/openapi/paths/config.yaml +++ b/doc/openapi/paths/config.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/graph.{format}.yaml b/doc/openapi/paths/graph.{format}.yaml index 23e2b2b57..5607f9168 100644 --- a/doc/openapi/paths/graph.{format}.yaml +++ b/doc/openapi/paths/graph.{format}.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}.yaml b/doc/openapi/paths/node/node@{uuid-or-name}.yaml index ee8b5484d..5ee458410 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}@file@rewind.yaml b/doc/openapi/paths/node/node@{uuid-or-name}@file@rewind.yaml index 373c0cc83..e94f3e0a4 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}@file@rewind.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}@file@rewind.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}@file@seek.yaml b/doc/openapi/paths/node/node@{uuid-or-name}@file@seek.yaml index 77b329e13..6d4a59157 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}@file@seek.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}@file@seek.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}@pause.yaml b/doc/openapi/paths/node/node@{uuid-or-name}@pause.yaml index 6915f87a1..36f004609 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}@pause.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}@pause.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}@restart.yaml b/doc/openapi/paths/node/node@{uuid-or-name}@restart.yaml index 320d8b4b5..567399b6c 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}@restart.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}@restart.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}@resume.yaml b/doc/openapi/paths/node/node@{uuid-or-name}@resume.yaml index a53b819aa..bd59f1915 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}@resume.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}@resume.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}@start.yaml b/doc/openapi/paths/node/node@{uuid-or-name}@start.yaml index bf0a0182e..64b8bfcfe 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}@start.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}@start.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}@stats.yaml b/doc/openapi/paths/node/node@{uuid-or-name}@stats.yaml index daef64382..f35dff857 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}@stats.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}@stats.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}@stats@reset.yaml b/doc/openapi/paths/node/node@{uuid-or-name}@stats@reset.yaml index 8e279210f..142454491 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}@stats@reset.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}@stats@reset.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/node/node@{uuid-or-name}@stop.yaml b/doc/openapi/paths/node/node@{uuid-or-name}@stop.yaml index e4182c664..4fc93abe6 100644 --- a/doc/openapi/paths/node/node@{uuid-or-name}@stop.yaml +++ b/doc/openapi/paths/node/node@{uuid-or-name}@stop.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/nodes.yaml b/doc/openapi/paths/nodes.yaml index e49dcf175..223eb5232 100644 --- a/doc/openapi/paths/nodes.yaml +++ b/doc/openapi/paths/nodes.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/path/path@{uuid}.yaml b/doc/openapi/paths/path/path@{uuid}.yaml index 5c1792cac..11a3e488a 100644 --- a/doc/openapi/paths/path/path@{uuid}.yaml +++ b/doc/openapi/paths/path/path@{uuid}.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/path/path@{uuid}@start.yaml b/doc/openapi/paths/path/path@{uuid}@start.yaml index 0898e1104..8436516e6 100644 --- a/doc/openapi/paths/path/path@{uuid}@start.yaml +++ b/doc/openapi/paths/path/path@{uuid}@start.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/path/path@{uuid}@stop.yaml b/doc/openapi/paths/path/path@{uuid}@stop.yaml index 8a4a7cb54..de808e9ee 100644 --- a/doc/openapi/paths/path/path@{uuid}@stop.yaml +++ b/doc/openapi/paths/path/path@{uuid}@stop.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/paths.yaml b/doc/openapi/paths/paths.yaml index 8bb80fe1d..7329d7220 100644 --- a/doc/openapi/paths/paths.yaml +++ b/doc/openapi/paths/paths.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/restart.yaml b/doc/openapi/paths/restart.yaml index fa4d892fd..cd2bbf621 100644 --- a/doc/openapi/paths/restart.yaml +++ b/doc/openapi/paths/restart.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/shutdown.yaml b/doc/openapi/paths/shutdown.yaml index 179721ffb..e6fe57e2e 100644 --- a/doc/openapi/paths/shutdown.yaml +++ b/doc/openapi/paths/shutdown.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/openapi/paths/status.yaml b/doc/openapi/paths/status.yaml index 65441c6a7..12bbc7f0f 100644 --- a/doc/openapi/paths/status.yaml +++ b/doc/openapi/paths/status.yaml @@ -1,3 +1,4 @@ +# yaml-language-server: $schema=http://json-schema.org/draft-07/schema # SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University # SPDX-License-Identifier: Apache-2.0 --- diff --git a/doc/theme/header.html b/doc/theme/header.html index 93e1cd4ab..a35fab67e 100644 --- a/doc/theme/header.html +++ b/doc/theme/header.html @@ -1,9 +1,9 @@ + - diff --git a/doc/theme/style.css b/doc/theme/style.css index 2f0e4d845..4dfcc39cb 100644 --- a/doc/theme/style.css +++ b/doc/theme/style.css @@ -1,7 +1,7 @@ /* -SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University -SPDX-License-Identifier: Apache-2.0 -*/ + * SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University + * SPDX-License-Identifier: Apache-2.0 + */ #projectname { font-size: 200%; diff --git a/include/villas/kernel/if.hpp b/include/villas/kernel/if.hpp index 1cc45502b..d5ae1a5b1 100644 --- a/include/villas/kernel/if.hpp +++ b/include/villas/kernel/if.hpp @@ -48,7 +48,7 @@ protected: int affinity; // IRQ / Core Affinity of this interface. std::list irqs; // List of IRQs of the NIC. - std::list nodes; // List of nodes which use this interface. + std::list nodes; // List of nodes which use this interface. Logger logger; diff --git a/include/villas/node/config.hpp.in b/include/villas/node/config.hpp.in index 9176fa292..ab3e7c172 100644 --- a/include/villas/node/config.hpp.in +++ b/include/villas/node/config.hpp.in @@ -6,7 +6,7 @@ * Author: Steffen Vogel * SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University * SPDX-License-Identifier: Apache-2.0 - *********************************************************************************/ + */ #pragma once diff --git a/include/villas/node_compat.hpp b/include/villas/node_compat.hpp index 42427a8c3..b023bfb3f 100644 --- a/include/villas/node_compat.hpp +++ b/include/villas/node_compat.hpp @@ -5,10 +5,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/* - * @addtogroup node Node - * @{ - */ #pragma once @@ -144,11 +140,7 @@ public: virtual std::vector getPollFDs(); - /* Get list of socket file descriptors for configuring network emulation. - - * - * @return The number of file descriptors which have been put into \p sds. - */ + // Get list of socket file descriptors for configuring network emulation. virtual std::vector getNetemFDs(); diff --git a/include/villas/nodes/ethercat_config.hpp b/include/villas/nodes/ethercat_config.hpp index 5154574d2..ed1386b0b 100644 --- a/include/villas/nodes/ethercat_config.hpp +++ b/include/villas/nodes/ethercat_config.hpp @@ -3,7 +3,7 @@ * Author: Niklas Eiling * Author: Steffen Vogel * Author: Divya Laxetti - * SPDX-FileCopyrightText: 2018-2020 Institute for Automation of Complex Power Systems, RWTH Aachen University + * SPDX-FileCopyrightText: 2018-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University * SPDX-License-Identifier: Apache-2.0 */ diff --git a/include/villas/nodes/temper.hpp b/include/villas/nodes/temper.hpp index f3b144127..4bbecd157 100644 --- a/include/villas/nodes/temper.hpp +++ b/include/villas/nodes/temper.hpp @@ -1,4 +1,4 @@ -/* An temper get started with new implementations of new node-types. +/* TEMPer node-type. * * Author: Steffen Vogel * SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University diff --git a/lib/formats/villas.proto b/lib/formats/villas.proto index 27a581b2b..61c01b485 100644 --- a/lib/formats/villas.proto +++ b/lib/formats/villas.proto @@ -4,7 +4,6 @@ /// Author: Steffen Vogel /// SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University /// SPDX-License-Identifier: Apache-2.0 -//////////////////////////////////////////////////////////////////////////////////// syntax = "proto2";