From a32b2a9e86493592e155aeb355b0c27b3ae352e5 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 3 Feb 2024 21:43:20 +0100 Subject: rpki: T6011: known-hosts-file is no longer supported by FRR (cherry picked from commit 586863bf3a9cb1dd1c0d74b628d00096b905740f) --- src/conf_mode/protocols_rpki.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/conf_mode/protocols_rpki.py') diff --git a/src/conf_mode/protocols_rpki.py b/src/conf_mode/protocols_rpki.py index 05e876f3b..0fc14e868 100755 --- a/src/conf_mode/protocols_rpki.py +++ b/src/conf_mode/protocols_rpki.py @@ -63,11 +63,11 @@ def verify(rpki): preferences.append(preference) if 'ssh' in peer_config: - files = ['private_key_file', 'public_key_file', 'known_hosts_file'] + files = ['private_key_file', 'public_key_file'] for file in files: if file not in peer_config['ssh']: - raise ConfigError('RPKI+SSH requires username, public/private ' \ - 'keys and known-hosts file to be defined!') + raise ConfigError('RPKI+SSH requires username and public/private ' \ + 'key file to be defined!') filename = peer_config['ssh'][file] if not os.path.exists(filename): -- cgit v1.2.3