Field name change in 'routing bgp connection' (from 'address-families' to 'afi') (#360)

* Field name change in 'routing bgp connection' (from 'address-families' to 'afi')

* Field name change in 'routing bgp connection' (from 'address-families' to 'afi')
This commit is contained in:
Tim de Boer 2025-04-10 12:03:08 +01:00 committed by GitHub
parent 3a34752296
commit 9dba8082f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- api_modify, api_info - field name change in ``routing bgp connection`` path implemented by RouterOS 7.19 and newer (https://github.com/ansible-collections/community.routeros/pull/360).

View file

@ -4982,10 +4982,13 @@ PATHS = {
('routing', 'bgp', 'connection'): APIData( ('routing', 'bgp', 'connection'): APIData(
unversioned=VersionedAPIData( unversioned=VersionedAPIData(
fully_understood=True, fully_understood=True,
versioned_fields=[
([('7.19', '<')], 'address-families', KeyInfo()),
([('7.19', '>=')], 'afi', KeyInfo()),
],
fields={ fields={
'as': KeyInfo(), 'as': KeyInfo(),
'add-path-out': KeyInfo(), 'add-path-out': KeyInfo(),
'address-families': KeyInfo(),
'cisco-vpls-nlri-len-fmt': KeyInfo(), 'cisco-vpls-nlri-len-fmt': KeyInfo(),
'cluster-id': KeyInfo(), 'cluster-id': KeyInfo(),
'comment': KeyInfo(), 'comment': KeyInfo(),