Add parameter host-key-type for ip ssh path (#297)

Add changelog fragment
This commit is contained in:
Johannes Münch 2024-06-29 17:33:08 +02:00 committed by GitHub
parent c2b43ac395
commit 3c717e40f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add parameter ``host-key-type`` for ``ip ssh`` path (https://github.com/ansible-collections/community.routeros/issues/280, https://github.com/ansible-collections/community.routeros/pull/297).

View file

@ -3205,6 +3205,9 @@ PATHS = {
unversioned=VersionedAPIData( unversioned=VersionedAPIData(
single_value=True, single_value=True,
fully_understood=True, fully_understood=True,
versioned_fields=[
([('7.9', '>=')], 'host-key-type', KeyInfo(default='rsa')),
],
fields={ fields={
'allow-none-crypto': KeyInfo(default=False), 'allow-none-crypto': KeyInfo(default=False),
'always-allow-password-login': KeyInfo(default=False), 'always-allow-password-login': KeyInfo(default=False),