summaryrefslogtreecommitdiff
path: root/smoketest/config-tests
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-11-20 18:13:19 +0000
committerGitHub <noreply@github.com>2023-11-20 18:13:19 +0000
commit3ab206b04350aec4872ed72ae4bd3440a47204f0 (patch)
treefc9732b59bb32531bb59bf385b154b3165a49f51 /smoketest/config-tests
parent13f6688bdbdeaf869ace5c892154c14c4b007d43 (diff)
parentf5e43b1361fb59a9c260739bdb28729d5119507c (diff)
downloadvyos-1x-3ab206b04350aec4872ed72ae4bd3440a47204f0.tar.gz
vyos-1x-3ab206b04350aec4872ed72ae4bd3440a47204f0.zip
Merge pull request #2508 from c-po/t5762-https-api-socket
http: T5762: api: make API socket backend communication the one and only default
Diffstat (limited to 'smoketest/config-tests')
-rw-r--r--smoketest/config-tests/basic-api-service12
1 files changed, 12 insertions, 0 deletions
diff --git a/smoketest/config-tests/basic-api-service b/smoketest/config-tests/basic-api-service
new file mode 100644
index 000000000..d78062402
--- /dev/null
+++ b/smoketest/config-tests/basic-api-service
@@ -0,0 +1,12 @@
+set interfaces ethernet eth0 address '192.0.2.1/31'
+set interfaces ethernet eth0 address '2001:db8::1234/64'
+set interfaces loopback lo
+set service ntp server time1.vyos.net
+set service ntp server time2.vyos.net
+set service ntp server time3.vyos.net
+set service https api keys id 1 key 'S3cur3'
+set system config-management commit-revisions '100'
+set system host-name 'vyos'
+set system login user vyos authentication encrypted-password '$6$2Ta6TWHd/U$NmrX0x9kexCimeOcYK1MfhMpITF9ELxHcaBU/znBq.X2ukQOj61fVI2UYP/xBzP4QtiTcdkgs7WOQMHWsRymO/'
+set system login user vyos authentication plaintext-password ''
+set system console device ttyS0 speed '115200'