Add support for "ip firewall layer7-protocol" (#153)

* Add support for "ip firewall layer7-protocol"

* Add changelog fragment

* Add changelog fragment
This commit is contained in:
phox142 2023-02-27 22:37:00 +01:00 committed by GitHub
parent bbf5be5d71
commit ab87a27018
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- api_modify - support API paths ``ip firewall layer7-protocol`` (https://github.com/ansible-collections/community.routeros/pull/153).

View file

@ -2759,6 +2759,15 @@ PATHS = {
'sip-timeout': KeyInfo(), 'sip-timeout': KeyInfo(),
}, },
), ),
('ip', 'firewall', 'layer7-protocol'): APIData(
primary_keys=('name', ),
fully_understood=True,
fields={
'comment': KeyInfo(can_disable=True, remove_value=''),
'name': KeyInfo(),
'regexp': KeyInfo(),
},
),
('ip', 'hotspot', 'service-port'): APIData( ('ip', 'hotspot', 'service-port'): APIData(
fixed_entries=True, fixed_entries=True,
primary_keys=('name', ), primary_keys=('name', ),

View file

@ -102,6 +102,7 @@ options:
- ip firewall nat - ip firewall nat
- ip firewall raw - ip firewall raw
- ip firewall service-port - ip firewall service-port
- ip firewall layer7-protocol
- ip hotspot service-port - ip hotspot service-port
- ip ipsec identity - ip ipsec identity
- ip ipsec peer - ip ipsec peer

View file

@ -107,6 +107,7 @@ options:
- ip firewall nat - ip firewall nat
- ip firewall raw - ip firewall raw
- ip firewall service-port - ip firewall service-port
- ip firewall layer7-protocol
- ip hotspot service-port - ip hotspot service-port
- ip ipsec identity - ip ipsec identity
- ip ipsec peer - ip ipsec peer