mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
API update (#144)
* API update Signed-off-by: Tomas Herfert <herfik> * fix changelog fragment directory Signed-off-by: Tomas Herfert <herfik> Signed-off-by: Tomas Herfert <herfik> Co-authored-by: Tomas Herfert <herfik>
This commit is contained in:
parent
d2caf56215
commit
f38b01d7bb
4 changed files with 134 additions and 4 deletions
|
@ -1184,14 +1184,14 @@ PATHS = {
|
|||
fully_understood=True,
|
||||
primary_keys=('public-key', 'interface'),
|
||||
fields={
|
||||
'allowed-address': KeyInfo(),
|
||||
'allowed-address': KeyInfo(required=True),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'endpoint-address': KeyInfo(),
|
||||
'endpoint-address': KeyInfo(default=''),
|
||||
'endpoint-port': KeyInfo(default=0),
|
||||
'interface': KeyInfo(),
|
||||
'persistent-keepalive': KeyInfo(),
|
||||
'preshared-key': KeyInfo(),
|
||||
'persistent-keepalive': KeyInfo(can_disable=True, remove_value=0),
|
||||
'preshared-key': KeyInfo(can_disable=True, remove_value=''),
|
||||
'public-key': KeyInfo(),
|
||||
},
|
||||
),
|
||||
|
@ -1279,6 +1279,17 @@ PATHS = {
|
|||
'network': KeyInfo(automatically_computed_from=('address', )),
|
||||
},
|
||||
),
|
||||
('ip', 'arp'): APIData(
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'address': KeyInfo(default='0.0.0.0'),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'interface': KeyInfo(required=True),
|
||||
'mac-address': KeyInfo(default='00:00:00:00:00:00'),
|
||||
'published': KeyInfo(default=False),
|
||||
},
|
||||
),
|
||||
('ip', 'cloud'): APIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
|
@ -1616,6 +1627,62 @@ PATHS = {
|
|||
'ttl': KeyInfo(can_disable=True),
|
||||
},
|
||||
),
|
||||
('ip', 'firewall', 'raw'): APIData(
|
||||
fully_understood=True,
|
||||
stratify_keys=('chain',),
|
||||
fields={
|
||||
'action': KeyInfo(),
|
||||
'address-list': KeyInfo(),
|
||||
'address-list-timeout': KeyInfo(),
|
||||
'chain': KeyInfo(),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'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),
|
||||
'jump-target': KeyInfo(),
|
||||
'limit': KeyInfo(can_disable=True),
|
||||
'log': KeyInfo(),
|
||||
'log-prefix': KeyInfo(),
|
||||
'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),
|
||||
'packet-mark': KeyInfo(can_disable=True),
|
||||
'packet-size': 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),
|
||||
'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', 'hotspot', 'user'): APIData(
|
||||
unknown_mechanism=True,
|
||||
# primary_keys=('default', ),
|
||||
|
@ -1973,6 +2040,59 @@ PATHS = {
|
|||
'tls-host': KeyInfo(can_disable=True),
|
||||
}
|
||||
),
|
||||
('ipv6', 'firewall', 'raw'): APIData(
|
||||
fully_understood=True,
|
||||
stratify_keys=('chain',),
|
||||
fields={
|
||||
'action': KeyInfo(),
|
||||
'address-list': KeyInfo(),
|
||||
'address-list-timeout': KeyInfo(),
|
||||
'chain': KeyInfo(),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'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),
|
||||
'headers': KeyInfo(can_disable=True),
|
||||
'hop-limit': 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),
|
||||
'jump-target': KeyInfo(),
|
||||
'limit': KeyInfo(can_disable=True),
|
||||
'log': KeyInfo(),
|
||||
'log-prefix': KeyInfo(),
|
||||
'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),
|
||||
'packet-mark': KeyInfo(can_disable=True),
|
||||
'packet-size': 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),
|
||||
'random': 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),
|
||||
}
|
||||
),
|
||||
('ipv6', 'nd'): APIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('interface', ),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue