Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-01 | BSDP: Add MessageTypeFromPacket helper | Sean Karlage | |
This is a helper function to extract the BSDP message type from a given `dhcpv4.DHCPv4` packet structure. It's useful in helping to identify what kind of BSDP packet you're dealing with (since the distinction is only made in one of the vendor-specific options encapsulated in Option 43). | |||
2018-08-15 | Merge branch 'master' into bsdp-acks | Sean Karlage | |
2018-08-15 | Put back NewInformListForInterface to maintain compat | Sean Karlage | |
2018-08-15 | Add nil check for Images slice | Sean Karlage | |
2018-08-14 | BSDP: Add code to generate ACKs for INFORMs | Sean Karlage | |
2018-07-29 | Add some helper tools for tests | Sean Karlage | |
Adds new `OptionGetter` interface that helps when asserting that certain packets/vendor-specific opts contain specific options. | |||
2018-07-29 | DHCPv4: Refactor methods for easier testing | Sean Karlage | |
This refactors the input parameters for construction DISCOVER/INFORM* packets so that it's easier to write unit tests for DHCPv4 and BSDP methods. It also adds a bunch of unit tests for both packages and rounds out their test coverage. | |||
2018-07-29 | add NewReplyFromRequest (#100) | Pablo Mazzini | |
2018-07-27 | BSDP: Refactor to use dhcpv4.GetOneOption (#94) | Sean Karlage | |
Refactors BSDP code to use `dhcpv4.GetOneOption` instead of manually searching through the list of options. | |||
2018-03-30 | Remove build tags (#27) | Sean Karlage | |
Removes build tags from BSDP and breaks vendor class identifier into OS-specific implementations so it is easier to integrate bsdp with other libs. | |||
2018-03-26 | Add some more specific bsdp options + vendor specific implementation (#21) | Sean Karlage | |
Add some more specific options + vendor specific implementation | |||
2018-03-22 | Add vendor specific information option | Sean Karlage | |
2018-03-22 | Add specific BSDP options | Sean Karlage | |
2018-03-16 | Add more specific dhcpv4 options (#17) | Sean Karlage | |
Added several DHCPv4 options | |||
2018-03-13 | Add OptionGeneric, comment out other code so tests compile/pass | Sean Karlage | |
2018-03-06 | Refactor tests to use stretchr/testify/require | Sean Karlage | |
2018-03-05 | Move bsdp functionality to its own subpackage. Bring in ↵ | Sean Karlage | |
stretchr/testify/assert for nicer asserts |