311 Commits

Author SHA1 Message Date
David Anderson
fc62328e66 Switch the image building to happen on Go 1.10. 2018-08-12 20:30:37 -07:00
David Anderson
800f0e5470 Correct the working directory for the CI auto-deploy. 2018-08-12 18:25:21 -07:00
Anatoli Babenia
e76f0bd3d9 Simplify and add TL;DR with quick xyz option
It is not clear what `all-in-one` means for software that is
so specialized as `pixiecore`, so I removed that phrase. :)
2018-08-12 16:38:36 -07:00
Anatoli Babenia
545242b7db Update README.md
Put `pixiecore` program first as it is what most users want
2018-08-12 16:38:36 -07:00
Anatoli Babenia
48462f0844 Switch badge to CircleCI
Travis is gone in 870d490bda51
2018-08-12 12:21:35 -07:00
David Anderson
870d490bda Disable Travis builds, this repo is on CircleCI now. 2018-07-27 09:53:51 -07:00
David Anderson
44f388b48b Update CircleCI config to test 1.9, 1.10, 1.11beta2. 2018-07-27 09:43:56 -07:00
Matt Layher
d536e23ec2 dhcp4: add OptInterfaceMTU 2018-07-27 08:59:23 -07:00
Matt Layher
df529f74dc dhcp4: make all options use type Option 2018-07-27 08:59:23 -07:00
Naadir Jeewa
cc33920b4f Resolves #57: Add RF_NETLINK to RestrictedAddressFamilies in SystemD unit
for pixiecore

Signed-off-by: Naadir Jeewa <naadir@randomvariable.co.uk>
2018-03-24 20:22:14 -07:00
David Anderson
da5542b8ac Fix the image pushing command in CircleCI. 2018-02-07 00:14:43 -08:00
David Anderson
002834d7e0 Fix CircleCI config. 2018-02-07 00:10:15 -08:00
David Anderson
dc3fb1180a Stop testing on 1.8.
1.10 is nearly here, and 1.8 does silly things with vendor directories.
I could support it, but in practice this isn't RHEL, I don't feel like
supporting old versions for the sake of it.
2018-02-07 00:08:19 -08:00
David Anderson
6e814b1273 Remove unused enum value. 2018-02-07 00:02:42 -08:00
David Anderson
cf666186aa Delete the old dhcp_server prototype, it's unused and broken. 2018-02-07 00:02:11 -08:00
David Anderson
6c9aeff7b3 Update dep lock in a desperate attempt to make dep not suck ass. 2018-02-06 23:57:58 -08:00
David Anderson
4a9e5cc194 Enable verbose logging on dep ensure. 2018-02-06 23:51:34 -08:00
David Anderson
d63047cea3 Add a CircleCI configuration for building container images. 2018-02-06 23:45:09 -08:00
David Anderson
87f66d15c7 Rename some makefile targets that aren't exclusive to CircleCI. 2018-02-05 22:02:57 -08:00
David Anderson
baf5793687 Remove unneccessary conversions, further appeasing lint. 2018-02-05 22:00:13 -08:00
David Anderson
6061bfbc73 Appease golint some more with docstrings and unexporting of functions. 2018-02-05 21:55:51 -08:00
David Anderson
1404193a39 Rename X86_HTTP_CLIENT to appease golint. 2018-02-05 21:44:43 -08:00
David Anderson
7de0228ec0 gofmt -s all the things again. 2018-02-05 21:28:40 -08:00
David Anderson
bcaa633b65 Delete dead code. 2018-02-05 21:09:02 -08:00
David Anderson
52a742156e Fix dead code and reenable envvar parsing. 2018-02-05 21:09:02 -08:00
David Anderson
99cc04c381 Clean up more lint errors.
Also remove the 'vetshadow' linter, it's overly noisy on normal code.
2018-02-05 21:09:02 -08:00
David Anderson
31095fd432 Gofmt -s the code. 2018-02-05 21:09:02 -08:00
David Anderson
f1f04d854d Add a makefile to collect the various commands for CircleCI. 2018-02-05 21:09:02 -08:00
Dmitri Dolguikh
84c80e5484 Fixed "unused variable" in ReserveAddresses() function 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
8f56f51bbb Merged pixicorev6 package into pixicore 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
1ae9c3ab68 Replaced custom function for generation of random uint64s with rand.Uint64. 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
3268bf94a3 Removed goroutine that was used to periodically call ExpireIdentityAssociations.
ExpireIdentityAssociations is now being called synchronously, in the beginning of the ReserveAddresses() call.
2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
b36c94fc0a Moved address pool-related code into dhcp6/pool package. 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
a0fc6b6e06 Renamed MakePacket to Unmarshal and MakeOptions to UnmarshalOptions 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
09440c6b84 Renamed Options.AddOption to Options.Add 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
24498fac2f Create UDP address directly. Also dropped address zone from destination address as it wasn't needed. 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
08daa9f0da moved boot_configuration concrete implementations to pixicorev6 package 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
0a07827a1e Fixing remaining coding style issues 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
7f45a529cd Added last chunk of documentation 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
fb66f2fcb8 Added more docs 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
13846a9809 Added more docs 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
5d5adcf2b9 Added docs for AddressPool and BootConfiguration interfaces and their implementations 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
aa977487cd More coding-style related changes 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
8725ede99b fixing coding-style related issues 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
11a8e61c10 For compatibility with 1.7 replaced rand.Uint64() call with calls to rand.Uint32() 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
43551d9de3 Fixed a bug around setting of server duid 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
5f428cfb4a moar tests for "dns servers" option generation 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
6c11f1e722 added support for generation of "dns servers" option 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
b78d515ee1 Added cli options for address pool configuration 2018-02-05 12:33:17 -08:00
Dmitri Dolguikh
794097f861 Merged MakeMsgReplyWithNoAddrsAvailable and MakeMsgReply methods 2018-02-05 12:33:17 -08:00