David Anderson
|
baf5793687
|
Remove unneccessary conversions, further appeasing lint.
|
2018-02-05 22:00:13 -08:00 |
|
David Anderson
|
7de0228ec0
|
gofmt -s all the things again.
|
2018-02-05 21:28:40 -08:00 |
|
Dmitri Dolguikh
|
84c80e5484
|
Fixed "unused variable" in ReserveAddresses() function
|
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
|
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 |
|
Dmitri Dolguikh
|
c0ce892172
|
extracted packet builder into a dedicated file
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
a3a8cf5188
|
added tests to verify generation of replies when no ip addresses can be assigned
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
2c6281a8fd
|
Correct replies to solicit and request messages when address pool is exhausted are now generated
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
76a6f8118b
|
fixed broken tests
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
1cf3ef9b5b
|
Added handling of multiple IANAs per solicit/request/release message
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
f89f6af9a6
|
added support for setting server preference option
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
4d45c38c40
|
replace channel-based lock with a mutex
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
2c42665a0b
|
added ipv6api command
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
da6402caf7
|
Bootfile urls can be retrieved via remote api calls now
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
02db3ab76d
|
extracted packet generation into a dedicated class
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
ea2d223a25
|
clients are now given ip addresses from an address pool
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
f3faa8e10a
|
added packet-generation tests
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
c39e902fd4
|
and moar testability changes
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
f00c8cae74
|
moar changes around packet construction to make testing easier
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
bf8701a8c5
|
Made dhcpv6 packet easier to test
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
b6741d78b8
|
added options tests
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
cb79b8eaa4
|
Added bootipv6 command
|
2018-02-05 12:33:17 -08:00 |
|
Dmitri Dolguikh
|
3a5808cb30
|
first stab at dhcpv6 support
|
2018-02-05 12:33:17 -08:00 |
|