e68723738b
added sample config
...
- simplified configuration file
- simplified to only use ipv4 and macaddresses for now
- added update query
- if insert fails with already exists error, try to update instead
2024-12-02 12:20:39 -07:00
8bcb14a8af
fix validator for type not being inverted
2024-10-05 18:04:28 -06:00
0e4757c7b7
create validators for each part that would need it
2024-09-26 13:34:17 -06:00
c8ff16ec22
set generated strings to the line comment values
...
- keeps the name consistent with what is being looked up in the map
2024-09-24 17:10:39 -06:00
4d6d785924
add stringer to generate constant strings
...
- doing work on validation for each possible field
2024-09-24 16:58:42 -06:00
a78f001a41
working configuration for reservations
...
- Make ipv4 reservations in kea by directly writing to the database
- uses same configuration file as database configuration under the
heading reservationV4
2024-09-24 14:43:54 -06:00
003f9fca01
more work on fixing data access
2024-09-21 20:02:02 -06:00
1d0a5811ce
migrated to cobra structure
...
adding abstractions for database to avoid passing around the connection
2024-09-20 15:21:41 -06:00
312399093f
adding viper and cobra
...
moving configuration to external file that is loaded
2024-09-20 09:21:18 -06:00
6b6c92cc12
add a few more leases
2024-09-16 17:31:45 -06:00
0038b3ae5e
initial commit
2024-09-13 22:21:14 -06:00