summaryrefslogtreecommitdiff
path: root/tests/unittests/test_net.py
diff options
context:
space:
mode:
authorsshedi <53473811+sshedi@users.noreply.github.com>2021-06-29 00:12:34 +0530
committerGitHub <noreply@github.com>2021-06-28 13:42:34 -0500
commitb5aecbe9512fa546255cc93b178b4081342fc247 (patch)
treee7300b313984dfdde9799294d8f2a02f276e19c0 /tests/unittests/test_net.py
parent35aa9db6f8e2ba05d366776c0e8d97f52217e930 (diff)
downloadvyos-cloud-init-b5aecbe9512fa546255cc93b178b4081342fc247.tar.gz
vyos-cloud-init-b5aecbe9512fa546255cc93b178b4081342fc247.zip
Removed distro specific network code from Photon (#929)
Minor fixes in networkd renderer & fixed corresponding tests Removed datasource_list for Photon from cloud.cfg.tmpl & added a comment in cloud.cfg.tmpl about not to use multiline array for datasource_list. Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Diffstat (limited to 'tests/unittests/test_net.py')
-rw-r--r--tests/unittests/test_net.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unittests/test_net.py b/tests/unittests/test_net.py
index b2ddbf99..1aab51ee 100644
--- a/tests/unittests/test_net.py
+++ b/tests/unittests/test_net.py
@@ -825,10 +825,14 @@ NETWORK_CONFIGS = {
[Match]
Name=eth99
MACAddress=c0:d6:9f:2c:e8:80
+ [Address]
+ Address=192.168.21.3/24
[Network]
DHCP=ipv4
+ Domains=barley.maas sach.maas
Domains=wark.maas
DNS=1.2.3.4 5.6.7.8
+ DNS=8.8.8.8 8.8.4.4
[Route]
Gateway=65.61.151.37
Destination=0.0.0.0/0