diff --git a/config/config.go b/config/config.go index e0465ba..0b9326a 100644 --- a/config/config.go +++ b/config/config.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // Package config handles the configuration parsing for FabricMon. package config diff --git a/infiniband/bitops.go b/infiniband/bitops.go index 1fb0a80..2f2eeb6 100644 --- a/infiniband/bitops.go +++ b/infiniband/bitops.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // Low-level bit operations. diff --git a/infiniband/bitops_test.go b/infiniband/bitops_test.go index 49a3a5f..331e170 100644 --- a/infiniband/bitops_test.go +++ b/infiniband/bitops_test.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // Low-level bit operations. diff --git a/infiniband/ibumad.go b/infiniband/ibumad.go index 92318f1..0ff0b9b 100644 --- a/infiniband/ibumad.go +++ b/infiniband/ibumad.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // Functions analogous to libibumad. // Note: When running in an ibsim environment, the libumad2sim.so LD_PRELOAD hijacks libc syscall diff --git a/infiniband/infiniband.go b/infiniband/infiniband.go index 74cc6ec..62f4194 100644 --- a/infiniband/infiniband.go +++ b/infiniband/infiniband.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // // TODO: Implement user-friendly display of link rate (see ib_types.h). diff --git a/infiniband/netdiscover.go b/infiniband/netdiscover.go index f8eebf5..f4bf722 100644 --- a/infiniband/netdiscover.go +++ b/infiniband/netdiscover.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later package infiniband diff --git a/infiniband/nodenamemap.go b/infiniband/nodenamemap.go index ac08b98..d51f8c3 100644 --- a/infiniband/nodenamemap.go +++ b/infiniband/nodenamemap.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // Go implementation of InfiniBand node name map lookup functions. diff --git a/infiniband/nodenamemap_test.go b/infiniband/nodenamemap_test.go index 6d1907e..36844f7 100644 --- a/infiniband/nodenamemap_test.go +++ b/infiniband/nodenamemap_test.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later package infiniband diff --git a/infiniband/sm.go b/infiniband/sm.go index 1ac20ba..1778362 100644 --- a/infiniband/sm.go +++ b/infiniband/sm.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // Subnet manager functions. diff --git a/main.go b/main.go index ef4533d..07b5246 100644 --- a/main.go +++ b/main.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // cgo wrapper around libibumad / libibnetdiscover. // Note: Due to the usual permissions on /dev/infiniband/umad*, this will probably need to be diff --git a/version/info.go b/version/info.go index 609de86..19fdda9 100644 --- a/version/info.go +++ b/version/info.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later package version diff --git a/writer/forcegraph/forcegraph.go b/writer/forcegraph/forcegraph.go index b62c467..31498c9 100644 --- a/writer/forcegraph/forcegraph.go +++ b/writer/forcegraph/forcegraph.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // Package forecegraph implements the ForceGraphWriter, which writes the fabric topology to a JSON // file suitable for use by the d3.js force graph functions. diff --git a/writer/influxdb/influxdb.go b/writer/influxdb/influxdb.go index a25953c..901228f 100644 --- a/writer/influxdb/influxdb.go +++ b/writer/influxdb/influxdb.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // Package influxdb implements the InfluxDBWriter, which writes InfiniBand performance counters to // one or more configured InfluxDB backends. diff --git a/writer/writer.go b/writer/writer.go index 981a6c6..d5eb170 100644 --- a/writer/writer.go +++ b/writer/writer.go @@ -1,5 +1,5 @@ // Copyright 2017-20 Daniel Swarbrick. All rights reserved. -// Use of this source code is governed by a GPL license that can be found in the LICENSE file. +// SPDX-License-Identifier: GPL-3.0-or-later // Package writer defines the FabricWriter interface type, which all FabricMon writers must // implement in order to receive fabric topologies and counters. What each writer does with that