-
Notifications
You must be signed in to change notification settings - Fork 81
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
removed NodeInfo #1020
base: main
Are you sure you want to change the base?
removed NodeInfo #1020
Commits on Sep 23, 2024
-
Split overlays into discrete functionality and test
- Closes warewulf#987 To make the overlays testable in isolation, and after discussion with the TSC, removed host/time/source from overlay files. Signed-off-by: Jonathon Anderson <janderson@ciq.com>
Configuration menu - View commit details
-
Copy full SHA for 750eea9 - Browse repository at this point
Copy the full SHA 750eea9View commit details -
Fix wwlog.Output format strings during overlay show
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
Configuration menu - View commit details
-
Copy full SHA for 0c70ddf - Browse repository at this point
Copy the full SHA 0c70ddfView commit details -
Tests already exist for this at internal/pkg/batch/batch_test.go Signed-off-by: Jonathon Anderson <janderson@ciq.com>
Configuration menu - View commit details
-
Copy full SHA for 5b8369f - Browse repository at this point
Copy the full SHA 5b8369fView commit details -
Omit internal tests from overlay installation
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
Configuration menu - View commit details
-
Copy full SHA for 4d834d5 - Browse repository at this point
Copy the full SHA 4d834d5View commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for aa5b614 - Browse repository at this point
Copy the full SHA aa5b614View commit details -
wwctl commands without NodeInfo
mostly remove Get and calls for the id Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for d6465fe - Browse repository at this point
Copy the full SHA d6465feView commit details -
api changes for use without NodeInfo
Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for f274d01 - Browse repository at this point
Copy the full SHA f274d01View commit details -
fix test to run without NodeInfo
Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 36c6a7b - Browse repository at this point
Copy the full SHA 36c6a7bView commit details -
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>
Configuration menu - View commit details
-
Copy full SHA for 730321d - Browse repository at this point
Copy the full SHA 730321dView commit details -
this types like WWbool are needed so that they can have their own command line parses which allows a UNDEF for e.g. bool or ints. Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 25b8ee6 - Browse repository at this point
Copy the full SHA 25b8ee6View commit details -
update to yaml/v3 for project files
Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 617e9ce - Browse repository at this point
Copy the full SHA 617e9ceView commit details -
changes for yaml/v3 for wwctl commands
Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for be98ec6 - Browse repository at this point
Copy the full SHA be98ec6View commit details -
api changes to modify unexported fields
changes can now not be done directly but must go to SetNode or SetProfile. Although its also now possible to access the field direclty with GetNodePtr Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 9adf166 - Browse repository at this point
Copy the full SHA 9adf166View commit details -
Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for ad1ec39 - Browse repository at this point
Copy the full SHA ad1ec39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d1a150 - Browse repository at this point
Copy the full SHA 8d1a150View commit details -
net.IPMask doesn't have any advantages, as it would marshalled to mask: - 1 - 2 - 3 - 4 Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 083ccf4 - Browse repository at this point
Copy the full SHA 083ccf4View commit details -
updated testsafter test splitting
tests are updated as * Get isn't possible any more * defaults.conf isn't there any more * bools are now not strings any more in yaml Signed-off-by: Christian Goll <cgoll@suse.com>
Configuration menu - View commit details
-
Copy full SHA for c20cc72 - Browse repository at this point
Copy the full SHA c20cc72View commit details