mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Extend API support. (#110)
This commit is contained in:
parent
776b599ffe
commit
3c0ad57eb5
4 changed files with 87 additions and 0 deletions
|
@ -732,6 +732,7 @@ PATHS = {
|
|||
'dhcp-options': KeyInfo(default='hostname,clientid'),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'interface': KeyInfo(),
|
||||
'script': KeyInfo(can_disable=True),
|
||||
'use-peer-dns': KeyInfo(default=True),
|
||||
'use-peer-ntp': KeyInfo(default=True),
|
||||
},
|
||||
|
@ -893,6 +894,82 @@ PATHS = {
|
|||
'ttl': KeyInfo(can_disable=True),
|
||||
},
|
||||
),
|
||||
('ip', 'firewall', 'mangle'): APIData(
|
||||
fully_understood=True,
|
||||
stratify_keys=('chain', ),
|
||||
fields={
|
||||
'action': KeyInfo(),
|
||||
'chain': KeyInfo(),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'connection-bytes': KeyInfo(can_disable=True),
|
||||
'connection-limit': KeyInfo(can_disable=True),
|
||||
'connection-mark': KeyInfo(can_disable=True),
|
||||
'connection-nat-state': KeyInfo(can_disable=True),
|
||||
'connection-rate': KeyInfo(can_disable=True),
|
||||
'connection-state': KeyInfo(can_disable=True),
|
||||
'connection-type': KeyInfo(can_disable=True),
|
||||
'content': KeyInfo(can_disable=True),
|
||||
'disabled': KeyInfo(),
|
||||
'dscp': KeyInfo(can_disable=True),
|
||||
'dst-address': KeyInfo(can_disable=True),
|
||||
'dst-address-list': KeyInfo(can_disable=True),
|
||||
'dst-address-type': KeyInfo(can_disable=True),
|
||||
'dst-limit': KeyInfo(can_disable=True),
|
||||
'dst-port': KeyInfo(can_disable=True),
|
||||
'fragment': KeyInfo(can_disable=True),
|
||||
'hotspot': KeyInfo(can_disable=True),
|
||||
'icmp-options': KeyInfo(can_disable=True),
|
||||
'in-bridge-port': KeyInfo(can_disable=True),
|
||||
'in-bridge-port-list': KeyInfo(can_disable=True),
|
||||
'in-interface': KeyInfo(can_disable=True),
|
||||
'in-interface-list': KeyInfo(can_disable=True),
|
||||
'ingress-priority': KeyInfo(can_disable=True),
|
||||
'ipsec-policy': KeyInfo(can_disable=True),
|
||||
'ipv4-options': KeyInfo(can_disable=True),
|
||||
'layer7-protocol': KeyInfo(can_disable=True),
|
||||
'limit': KeyInfo(can_disable=True),
|
||||
'log': KeyInfo(),
|
||||
'log-prefix': KeyInfo(),
|
||||
'new-connection-mark': KeyInfo(can_disable=True),
|
||||
'new-dscp': KeyInfo(can_disable=True),
|
||||
'new-mss': KeyInfo(can_disable=True),
|
||||
'new-packet-mark': KeyInfo(can_disable=True),
|
||||
'new-priority': KeyInfo(can_disable=True),
|
||||
'new-routing-mark': KeyInfo(can_disable=True),
|
||||
'new-ttl': KeyInfo(can_disable=True),
|
||||
'nth': KeyInfo(can_disable=True),
|
||||
'out-bridge-port': KeyInfo(can_disable=True),
|
||||
'out-bridge-port-list': KeyInfo(can_disable=True),
|
||||
'out-interface': KeyInfo(can_disable=True),
|
||||
'out-interface-list': KeyInfo(can_disable=True),
|
||||
'p2p': KeyInfo(can_disable=True),
|
||||
'packet-mark': KeyInfo(can_disable=True),
|
||||
'packet-size': KeyInfo(can_disable=True),
|
||||
'passthrough': KeyInfo(can_disable=True),
|
||||
'per-connection-classifier': KeyInfo(can_disable=True),
|
||||
'port': KeyInfo(can_disable=True),
|
||||
'priority': KeyInfo(can_disable=True),
|
||||
'protocol': KeyInfo(can_disable=True),
|
||||
'psd': KeyInfo(can_disable=True),
|
||||
'random': KeyInfo(can_disable=True),
|
||||
'route-dst': KeyInfo(can_disable=True),
|
||||
'routing-mark': KeyInfo(can_disable=True),
|
||||
'routing-table': KeyInfo(can_disable=True),
|
||||
'sniff-id': KeyInfo(can_disable=True),
|
||||
'sniff-target': KeyInfo(can_disable=True),
|
||||
'sniff-target-port': KeyInfo(can_disable=True),
|
||||
'src-address': KeyInfo(can_disable=True),
|
||||
'src-address-list': KeyInfo(can_disable=True),
|
||||
'src-address-type': KeyInfo(can_disable=True),
|
||||
'src-mac-address': KeyInfo(can_disable=True),
|
||||
'src-port': KeyInfo(can_disable=True),
|
||||
'tcp-flags': KeyInfo(can_disable=True),
|
||||
'tcp-mss': KeyInfo(can_disable=True),
|
||||
'time': KeyInfo(can_disable=True),
|
||||
'tls-host': KeyInfo(can_disable=True),
|
||||
'ttl': KeyInfo(can_disable=True),
|
||||
},
|
||||
),
|
||||
('ip', 'firewall', 'nat'): APIData(
|
||||
fully_understood=True,
|
||||
stratify_keys=('chain', ),
|
||||
|
@ -902,6 +979,8 @@ PATHS = {
|
|||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'dst-address': KeyInfo(can_disable=True),
|
||||
'dst-port': KeyInfo(can_disable=True),
|
||||
'in-interface': KeyInfo(can_disable=True),
|
||||
'in-interface-list': KeyInfo(can_disable=True),
|
||||
'out-interface': KeyInfo(can_disable=True),
|
||||
'out-interface-list': KeyInfo(can_disable=True),
|
||||
'protocol': KeyInfo(can_disable=True),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue