summaryrefslogtreecommitdiff
path: root/smoketest/config-tests/ospf-simple
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-04 21:25:54 +0200
committerGitHub <noreply@github.com>2024-04-04 21:25:54 +0200
commit92a1c2c4a1b57d98cfe9b4a39f1740cfd68e23e6 (patch)
treed29cfa9d0c858b3707a7513cfbc2327222e7a2aa /smoketest/config-tests/ospf-simple
parent44bd4c360dc032e4bde55b11423ddae0f042600e (diff)
parentef8d9a73335bc685084e3ff97238836e452dfa8c (diff)
downloadvyos-1x-92a1c2c4a1b57d98cfe9b4a39f1740cfd68e23e6.tar.gz
vyos-1x-92a1c2c4a1b57d98cfe9b4a39f1740cfd68e23e6.zip
Merge pull request #3249 from c-po/ospf-T6089
ospf: T6089: fix invalid "ospf passive-interface default"
Diffstat (limited to 'smoketest/config-tests/ospf-simple')
-rw-r--r--smoketest/config-tests/ospf-simple20
1 files changed, 20 insertions, 0 deletions
diff --git a/smoketest/config-tests/ospf-simple b/smoketest/config-tests/ospf-simple
new file mode 100644
index 000000000..13d5e7038
--- /dev/null
+++ b/smoketest/config-tests/ospf-simple
@@ -0,0 +1,20 @@
+set interfaces ethernet eth0 vif 20 address '193.201.42.173/28'
+set interfaces ethernet eth0 vif 666 address '10.66.66.1/24'
+set interfaces loopback lo
+set protocols ospf area 0 network '10.66.66.0/24'
+set protocols ospf area 0 network '193.201.42.160/28'
+set protocols ospf area 0 area-type normal
+set protocols ospf interface eth0.20 cost '999'
+set protocols ospf interface eth0.20 dead-interval '4'
+set protocols ospf interface eth0.20 hello-interval '1'
+set protocols ospf interface eth0.20 priority '255'
+set protocols ospf interface eth0.20 retransmit-interval '5'
+set protocols ospf interface eth0.20 transmit-delay '1'
+set protocols ospf interface eth0.666 passive
+set protocols ospf log-adjacency-changes detail
+set protocols static route 0.0.0.0/0 next-hop 193.201.42.170 distance '130'
+set system config-management commit-revisions '100'
+set system host-name 'lab-vyos-r1'
+set system login user vyos authentication encrypted-password '$6$R.OnGzfXSfl6J$Iba/hl9bmjBs0VPtZ2zdW.Snh/nHuvxUwi0R6ruypgW63iKEbicJH.uUst8xZCyByURblxRtjAC1lAnYfIt.b0'
+set system login user vyos authentication plaintext-password ''
+set system console device ttyS0 speed '115200'