James Shubin
04d54e8d82
engine: resources: Mask normal closing error
...
This could possibly be fixed upstream, but we'll workaround it for now.
2023-11-22 22:11:50 -05:00
James Shubin
f4d70068b1
engine: resources: Add a default NBP option to dhcp:server
...
This let's us do some overrides and is a good alternative since
send/recv+autogrouping doesn't work yet.
2023-11-22 20:22:50 -05:00
James Shubin
7ccda7e99b
engine: Add a ctx to the CheckApply API
...
This is just a rough port, there are lots of optimizations to be done
and lots of timeout values that should be replaced by a new timeout meta
param!
2023-09-02 01:34:42 -04:00
James Shubin
514927c0b3
engine: resources, graph: Change the Close method to Cleanup
...
This also changes a few similarly named methods. Clearer what it's doing
in terms of cleanup vs. causing some action.
2023-08-08 01:11:29 -04:00
James Shubin
963393e3d9
engine: graph, resources: Change Watch to use ctx
...
This is a general port. There are many optimizations and cleanups we can
do now that we have a proper context passed in. That's for a future
patch.
2023-08-08 01:11:29 -04:00
James Shubin
53a878bf61
engine: resources, graph: Change the done channel into a ctx
...
This is part one of porting Watch to context.
2023-08-08 01:11:29 -04:00
James Shubin
a7624a2bf9
legal: Happy 2023 everyone...
...
Done with:
ack '2022+' -l | xargs sed -i -e 's/2022+/2023+/g'
Checked manually with:
git add -p
Hello to future James from 2024, and Happy Hacking!
2023-03-05 18:31:52 -05:00
James Shubin
3cea422365
legal: Happy 2022 everyone...
...
Done with:
ack '2021+' -l | xargs sed -i -e 's/2021+/2022+/g'
Checked manually with:
git add -p
Hello to future James from 2023, and Happy Hacking!
2022-08-05 23:06:27 -04:00
James Shubin
336a38081a
legal: Happy 2021 everyone...
...
Done with:
ack '2020+' -l | xargs sed -i -e 's/2020+/2021+/g'
Checked manually with:
git add -p
Hello to future James from 2022, and Happy Hacking!
2021-01-31 16:52:46 -05:00
James Shubin
583344138a
engine: resources: Add dhcp:server and dhcp:host resources
...
This adds a new dhcp server resource, as well as a dhcp host resource
used to specify the static mapping between mac address and ip address.
It also adds a simple, pure-golang example dhcp client which might make
testing easier.
The dhcp resource is not meant to be a full-featured dhcp server
replacement, and it might still be useful to use the venerable dhcpd,
however for integrated, pure-golang bootstrapping environments, this
might prove to be very useful.
It can be combined with the tftp resource to build PXE setups with mgmt.
This resource can be extended further to support a dhcp:range directive,
automatic edges, and more!
2020-04-11 02:45:18 -04:00