Fixes #191: Add path 'ip traffic-flow target' (#192)

* Fixes #191: Add path 'ip traffic-flow target'

* Fixes #191: Add changelog fragment

* Fixes #192: Change changetype from major to minor as it is only adding a path and neither breaking existing things nor adding completely new functionality

---------

Co-authored-by: Johannes Münch <git@washiza.eu>
This commit is contained in:
derdeagle 2023-07-23 21:27:32 +02:00 committed by GitHub
parent e570c582d0
commit 6e62283120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- api_info, api_modify - add path ``ip traffic-flow target`` (https://github.com/ansible-collections/community.routeros/issues/191, https://github.com/ansible-collections/community.routeros/pull/192).

View file

@ -1846,6 +1846,20 @@ PATHS = {
'udp-length': KeyInfo(default=True),
},
),
('ip', 'traffic-flow', 'target'): APIData(
single_value=True,
fully_understood=True,
fields={
'address': KeyInfo(),
'disabled': KeyInfo(default=False),
'dst-address': KeyInfo(),
'port': KeyInfo(default=2055),
'src-address': KeyInfo(),
'v9-template-refresh': KeyInfo(default=20),
'v9-template-timeout': KeyInfo(),
'version': KeyInfo(),
},
),
('ip', 'upnp'): APIData(
single_value=True,
fully_understood=True,

View file

@ -123,6 +123,7 @@ options:
- ip tftp settings
- ip traffic-flow
- ip traffic-flow ipfix
- ip traffic-flow target
- ip upnp
- ipv6 address
- ipv6 dhcp-client

View file

@ -128,6 +128,7 @@ options:
- ip tftp settings
- ip traffic-flow
- ip traffic-flow ipfix
- ip traffic-flow target
- ip upnp
- ipv6 address
- ipv6 dhcp-client