Jonathon Anderson
66450a7dcd
Simpler names for overlay methods
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-08-27 22:33:18 -06:00
Jonathon Anderson
a2c7caa4ba
Rebuild overlays for discovered nodes
...
- Fixes : #1468
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-07-09 14:29:38 -06:00
Jonathon Anderson
4005afac4c
Add a new OpenAPI v3 REST API to warewulfd at /api
...
Co-authored-by: jason yang <jasonyangshadow@gmail.com >
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-04-03 07:12:03 -06:00
Christian Goll
a4035faff9
Fix warewulfd panic when netdev is only in profile
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-03-18 10:55:24 -06:00
Jonathon Anderson
fdbdf88df0
Rename NodeConf to NodesConf
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:09:02 -07:00
Jonathon Anderson
0665d5dc88
Refactor node
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-11 00:08:47 -07:00
Christian Goll
0dd0317740
replaced errors.Wrap with fmt.Errorf
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-11-07 22:57:29 -07:00
Christian Goll
342236b9b9
updated test for yaml/v3
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 15:30:54 -04:00
Christian Goll
5bd4fd4712
use yaml/v3 and don't export Nodes
...
introduced wwbool and don't export
Nodes and NodeConfs. This requires new
explict Yaml (un)marshaling as the standard
marshaller won't touch these fields
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 15:30:54 -04:00
Christian Goll
28a7b9fe84
removed NodeInfo and using NodeConf instead
...
This is a significant change in the undelying data model!
nodeDb, err := node.New()
will result in a structure which contains the on disk
values. Only
nodeDb.FindAllNodes() or nodeDb.GetNode(id) will give
the nodes with its merged in profiles.
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-17 13:35:42 -04:00
Jonathon Anderson
a1832ad8c1
Complete transfer of Warewulf from HPCng
...
Warewulf is now being maintained in its own GitHub organization at
github.com/warewulf
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-01-26 21:35:04 -07:00
Jonathon Anderson
42842aeee1
Format entire source code using make fmt
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2023-10-23 17:56:20 -06:00
Carter Dodd
7caabc439d
separate safe/unsafe db operations
2022-06-02 22:22:19 -05:00
Carter Dodd
04fb854aa7
fixup import
2022-06-02 20:20:03 -05:00
Carter Dodd
95ca053960
Lock server node db when updating discoverable node
2022-06-02 20:06:34 -05:00
Gregory Kurtzer
dd1cf6f4a5
Don't force LC on node set
...
This makes it so we can never UNDEF/DELETE an entry as that requires
upper case. So we are doing the lower case now where it matters.
2022-05-03 21:53:47 -07:00
Gregory Kurtzer
39ec7c0807
A few usability fixes and put full node DB logic into warewulfd
2021-12-31 02:38:48 +00:00
Gregory Kurtzer
e3eb57efcd
Adding timestamps to log output (re: #121 )
2021-09-09 21:16:07 -07:00
WestleyR
4edc16953e
Fix linting issues
2021-09-07 20:48:51 -07:00
Gregory Kurtzer
c60be743ba
Update sources to use upstream errors package
2021-09-06 14:50:27 -07:00
Gregory Kurtzer
667c512bb7
Merge branch 'main' of github.com:ctrliq/warewulf into main
2021-02-23 19:54:04 -08:00
Gregory Kurtzer
33e68eaeac
Minor fixups to daemon process and reloading the database on configuring a new node
2021-02-23 19:52:39 -08:00
Ian Kaneshiro
846b45524c
Tidy up
...
- Ran goimports to format code and imports
- Removed unused module from go.mod
- Added .editorconfig to keep formatting standard across contributors
2021-02-16 11:54:12 -08:00
Gregory Kurtzer
d00ea3ba00
Index node database for daemon to make lookups always instantaneous
2021-02-12 22:58:22 -08:00