10 Commits

Author SHA1 Message Date
Erik Hollensbe 9b0a21f2c8 zeronsd 0.4.2
Fixes a number of building issues as well as tests

Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-02 02:48:49 -07:00
Erik Hollensbe 76e32aa37e Support duplicate records in hosts files
closes #102

Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-08-27 13:28:11 -07:00
Erik Hollensbe 14885358a4 Tests for IPv6 functionality
This also includes several traits and file organization structuring to
make things a little easier to work with when adding future tests.

rfc4193 and sixplane are tested as well as ipv4 now.

Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-06-22 22:42:33 -07:00
Erik Hollensbe 84c59c78e9 Supervision support for wildcards
Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-06-15 23:24:05 -07:00
Erik Hollensbe a3236247a4 Forgot to update the fixtures again
Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-06-15 12:34:23 -07:00
Erik Hollensbe a65ed00e27 Fix the units+fixtures after the systemd change
Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-06-09 12:24:44 -07:00
Erik Hollensbe 3b219ac339 Fix member config and get private networks running for test-integration
Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-05-29 18:32:05 -07:00
Erik Hollensbe 1ab625e7ad integration-tests: Move networking settings for creating a network to their own files
Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-05-29 13:37:13 -07:00
Erik Hollensbe 7380900ac8 Start of authority tests
Also: integration test restructuring

This implements an integration test harness for zerotier-one that joins
and leaves networks it creates. It also removes the need for passing the
token if you have provided a `test-token.txt` in the root of the
repository.
2021-05-29 04:30:19 -07:00
Erik Hollensbe fdea6dcef2 Fix a lot of things
- Right now, the serial is bumped N times for every API call, which is
  really not great when you consider that systemd-networkd and others
  like it are caching name resolvers.
  - This can be elided by checking if a matching record exists in the
    catalog before inserting it.
- Tests were added. Fixtures in some spots were created. Read
  `src/tests.rs` before trying tests.
  - Code was heavily reorganized as a result.

Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
2021-05-23 20:45:21 -07:00