Commit Graph

55 Commits

Author SHA1 Message Date
Christian Goll
063c781710 recreate CreateFlag based on NodeConf
This will always create the network named default,
so this has to be changed if a new netowk is set
2022-08-19 16:33:46 +02:00
Christian Goll
b485ea999f removed optionStrMap in favor of NodeConf
openStrMap is a map[string]string which is sent arround. This is now
done by using a unmarshalled NodeConf instead.
2022-08-18 19:22:55 +02:00
Christian Goll
0ca17dd454 using functor for Get and GetReal 2022-08-16 15:38:07 +02:00
Christian Goll
8c2d40881d use reflect on overlays 2022-08-10 17:09:10 +02:00
Christian Goll
41d12888ab reflections for unmarshal 2022-08-10 14:16:48 +02:00
Christian Goll
d819eef792 tags for ipmi and kernel 2022-08-04 20:07:24 +02:00
Christian Goll
925a5a2155 Fix node set 2022-07-26 12:01:13 +02:00
Christian Goll
99e9316011 restore old node list 2022-07-20 12:13:19 +02:00
Christian Goll
e23f794166 simplified node list command 2022-07-19 17:21:27 +02:00
Christian Goll
510f6a60a9 added excludellist to CreateFlags 2022-07-14 10:40:46 +02:00
Christian Goll
e0c62a81a4 testing profile set 2022-07-14 10:35:27 +02:00
Christian Goll
59141a6dac change network hadnling 2022-07-13 11:52:24 +02:00
Christian Goll
c8d70e23ad rebased on new API 2022-07-11 16:34:08 +02:00
Christian Goll
a37fa71de0 add explicit set of netname 2022-07-07 11:38:19 +02:00
Christian Goll
8902f08c87 added hangling of map[string]*struct 2022-07-07 11:37:18 +02:00
Christian Goll
84d3b72f63 added more abstrac setter for nested structs 2022-07-07 11:29:58 +02:00
Christian Goll
f5b6287486 Explicit setter func at complie time 2022-07-07 11:29:19 +02:00
Christian Goll
3ced0e2836 add brackets for PrintB if its default 2022-06-23 12:35:19 +02:00
Christian Goll
28de9f5220 addnil to remove option 2022-06-08 16:20:17 +02:00
Christian Goll
04551ef264 for removing a value an empty string is needed 2022-06-08 16:16:52 +02:00
jcsiadal
dbd747788f wwctl profile fixes
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-19 21:59:34 +00:00
Christian Goll
edc7c04bc2 PrintB returns string 2022-04-14 11:43:02 +02:00
Christian Goll
4782d7e726 fixup profile handling 2022-04-11 14:41:43 +02:00
Christian Goll
fa052a0f57 simplified GotReal 2022-04-08 15:15:16 +02:00
Christian Goll
49bb9a40f0 reserve memory ofr kernel and ipmi entry 2022-04-08 14:47:19 +02:00
Christian Goll
c0f7ecf357 store the ovelats as yaml list 2022-03-24 19:45:51 +01:00
Christian Goll
265dbad6c1 do not combine overlays any more 2022-03-17 12:50:51 +01:00
Christian Goll
29074f34ea fixed recusrive call and SliceAppendUniq 2022-03-11 16:22:26 +01:00
Christian Goll
351b81b9e3 ignore defval on GetSlice
if there is an value the default gets not included in the slice of an value
2022-03-11 15:59:38 +01:00
Christian Goll
f279863d7f node list prints combine valuse for node 2022-03-11 12:27:36 +01:00
Christian Goll
afac77dbbe allow multiple generic and wwinit overlays 2022-03-11 11:50:38 +01:00
Gregory Kurtzer
b1b893861e Fix for faulty boolean logic (ref #292) 2022-02-12 01:53:18 +00:00
Gregory Kurtzer
93ff88d544 Fix lint 2022-02-10 16:43:04 +00:00
Gregory Kurtzer
b165928699 Change how boolean node members behave (transform two and from strings) 2022-02-10 16:36:14 +00:00
Gregory Kurtzer
2f6a9251cd Optimized FilterByName() to weed out redundant queries 2021-12-30 03:35:54 +00:00
Christian Goll
6bf8695951 Adding '^' and '$' to serach string to avoid greedy regexp 2021-11-09 13:51:57 +01:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Gregory Kurtzer
371767daed Merge branch 'main' of github.com:hpcng/warewulf into cleanups 2021-08-22 19:10:09 -07:00
Gregory Kurtzer
7bbe942a32 Fixed bug found with regards to boolean Alt/Profile values 2021-08-21 08:50:37 -07:00
Gregory Kurtzer
73ed7d1891 Another method to "unset" a configuration 2021-08-20 19:40:24 -07:00
Gregory Kurtzer
4bc523a052 Optimized sorting methods across nodes and profiles 2021-04-25 15:43:35 -07:00
Gregory Kurtzer
3e0d48762e code cleanups 2021-04-24 15:00:54 -07:00
Gregory Kurtzer
902c6974c8 added "UNSET" and "UNDEF" (WW3 compat) to node object sets 2021-03-06 18:56:15 -08:00
Gregory Kurtzer
5c23ef9f94 Fininshed with node discovery and service refactoring 2020-12-13 20:20:03 -08:00
Gregory Kurtzer
e80878b240 Changed DomainName to ClusterName 2020-12-03 19:37:52 -08:00
Gregory Kurtzer
ec037228cc Changing node.conf structure and moved controllers out of this config 2020-12-03 17:26:51 -08:00
Gregory Kurtzer
84bf9fbb43 profile and node commands and DB all working as expected now 2020-12-03 13:49:49 -08:00
Gregory Kurtzer
eaf6bb1196 This is a work in progress API shift as the data structure has changed and I'm cleaning the interface. 2020-12-03 07:34:26 -08:00
Gregory Kurtzer
7516cca031 Data format changes and updated API for NodesDB 2020-12-01 23:33:01 -08:00
Gregory Kurtzer
4d752a67db Added controllers, services, and lots of various optimizations and fixes 2020-11-30 23:07:42 -08:00