diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-10-27 23:25:56 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-10-31 01:35:05 +0100 |
commit | fa4d3fed46a97ee45a4aeba4d9540015bf5cab7b (patch) | |
tree | e3df4c394df545ee9dbfd61ee084d42558bc06b8 /test/test-network/conf | |
parent | network: try to reconfigure when some information is updated (diff) | |
download | systemd-fa4d3fed46a97ee45a4aeba4d9540015bf5cab7b.tar.xz systemd-fa4d3fed46a97ee45a4aeba4d9540015bf5cab7b.zip |
test-network: add testcase for reconfiguring interface
Diffstat (limited to 'test/test-network/conf')
6 files changed, 48 insertions, 0 deletions
diff --git a/test/test-network/conf/12-dummy-altname.link b/test/test-network/conf/12-dummy-altname.link new file mode 100644 index 0000000000..ff47fec7d4 --- /dev/null +++ b/test/test-network/conf/12-dummy-altname.link @@ -0,0 +1,7 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +[Match] +OriginalName=dummy98-2 +Driver=dummy + +[Link] +AlternativeName=dummy98-2-altname diff --git a/test/test-network/conf/12-dummy-mac.netdev b/test/test-network/conf/12-dummy-mac.netdev new file mode 100644 index 0000000000..254ec94293 --- /dev/null +++ b/test/test-network/conf/12-dummy-mac.netdev @@ -0,0 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +[NetDev] +Name=dummy98 +Kind=dummy +MACAddress=12:34:56:78:9a:01 diff --git a/test/test-network/conf/12-dummy-match-altname.network b/test/test-network/conf/12-dummy-match-altname.network new file mode 100644 index 0000000000..28d98c8edb --- /dev/null +++ b/test/test-network/conf/12-dummy-match-altname.network @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +[Match] +Name=dummy98-2-altname +Driver=dummy +MACAddress=12:34:56:78:9a:02 + +[Network] +IPv6AcceptRA=no +Address=10.0.2.2/16 diff --git a/test/test-network/conf/12-dummy-match-mac-01.network b/test/test-network/conf/12-dummy-match-mac-01.network new file mode 100644 index 0000000000..300bad6f9d --- /dev/null +++ b/test/test-network/conf/12-dummy-match-mac-01.network @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +[Match] +Name=dummy98 +Driver=dummy +MACAddress=12:34:56:78:9a:01 + +[Network] +IPv6AcceptRA=no +Address=10.0.0.1/16 diff --git a/test/test-network/conf/12-dummy-match-mac-02.network b/test/test-network/conf/12-dummy-match-mac-02.network new file mode 100644 index 0000000000..328469193a --- /dev/null +++ b/test/test-network/conf/12-dummy-match-mac-02.network @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +[Match] +Name=dummy98 +Driver=dummy +MACAddress=12:34:56:78:9a:02 + +[Network] +IPv6AcceptRA=no +Address=10.0.0.2/16 diff --git a/test/test-network/conf/12-dummy-match-renamed.network b/test/test-network/conf/12-dummy-match-renamed.network new file mode 100644 index 0000000000..bdac469bc3 --- /dev/null +++ b/test/test-network/conf/12-dummy-match-renamed.network @@ -0,0 +1,9 @@ +# SPDX-License-Identifier: LGPL-2.1-or-later +[Match] +Name=dummy98-1 +Driver=dummy +MACAddress=12:34:56:78:9a:02 + +[Network] +IPv6AcceptRA=no +Address=10.0.1.2/16 |