From 7c6beb9217932cf929e1e1be33abef46f0ca2053 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 12 Feb 2024 21:17:43 +0100 Subject: rpki: T6024: add migration scripts from file based keys to PKI subsystem (cherry picked from commit 4d76e9ef3e7773ed96c037108021c292675b101c) --- smoketest/configs/rpki-only | 64 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 smoketest/configs/rpki-only (limited to 'smoketest/configs') diff --git a/smoketest/configs/rpki-only b/smoketest/configs/rpki-only new file mode 100644 index 000000000..8f2f693c7 --- /dev/null +++ b/smoketest/configs/rpki-only @@ -0,0 +1,64 @@ +interfaces { + ethernet eth0 { + duplex auto + speed auto + address 192.0.2.1/24 + } +} +protocols { + rpki { + cache 1.2.3.4 { + port 3323 + preference 10 + } + cache 5.6.7.8 { + port 2222 + preference 20 + ssh { + known-hosts-file "/config/known-hosts-file" + private-key-file "/config/id_rsa" + public-key-file "/config/id_rsa.pub" + username vyos + } + } + } +} +system { + config-management { + commit-revisions 200 + } + conntrack { + modules { + ftp + h323 + nfs + pptp + sip + sqlnet + tftp + } + } + host-name vyos + login { + user vyos { + authentication { + encrypted-password $6$r/Yw/07NXNY$/ZB.Rjf9jxEV.BYoDyLdH.kH14rU52pOBtrX.4S34qlPt77chflCHvpTCq9a6huLzwaMR50rEICzA5GoIRZlM0 + plaintext-password "" + } + } + } + syslog { + global { + facility all { + level debug + } + facility protocols { + level debug + } + } + } +} + +// Warning: Do not remove the following line. +// vyos-config-version: "broadcast-relay@1:cluster@1:config-management@1:conntrack@3:conntrack-sync@2:container@1:dhcp-relay@2:dhcp-server@6:dhcpv6-server@1:dns-forwarding@3:firewall@5:https@2:interfaces@22:ipoe-server@1:ipsec@5:isis@1:l2tp@3:lldp@1:mdns@1:nat@5:ntp@1:pppoe-server@5:pptp@2:qos@1:quagga@8:rpki@1:salt@1:snmp@2:ssh@2:sstp@3:system@21:vrrp@2:vyos-accel-ppp@2:wanloadbalance@3:webproxy@2:zone-policy@1" +// Release version: 1.3.5 -- cgit v1.2.3 From 86612b16ed2fa3df604c515dfcb6e45d700f3896 Mon Sep 17 00:00:00 2001 From: sarthurdev <965089+sarthurdev@users.noreply.github.com> Date: Mon, 12 Feb 2024 22:28:59 +0100 Subject: rpki: T6034: Add missing sections to configtest (cherry picked from commit 3bfbbef22954488541abd3cad262b1e196d4c240) --- smoketest/configs/rpki-only | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'smoketest/configs') diff --git a/smoketest/configs/rpki-only b/smoketest/configs/rpki-only index 8f2f693c7..0f89b9a1b 100644 --- a/smoketest/configs/rpki-only +++ b/smoketest/configs/rpki-only @@ -4,6 +4,8 @@ interfaces { speed auto address 192.0.2.1/24 } + loopback lo { + } } protocols { rpki { @@ -27,6 +29,11 @@ system { config-management { commit-revisions 200 } + console { + device ttyS0 { + speed 115200 + } + } conntrack { modules { ftp -- cgit v1.2.3