svinota / pyroute2

Python Netlink and PF_ROUTE library — network configuration and monitoring
https://pyroute2.org/
Other
948 stars 243 forks source link

NDB lost sync in apply() trying to set GRE tunnel configs #878

Open carloslockward opened 2 years ago

carloslockward commented 2 years ago

I found this issue while trying to change the configuration of an existing GRE(or any other kind) tunnel using pyroute2 version 0.6.5

Exception

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/auth_manager.py", line 69, in guard
    return f(obj, *argv, **kwarg)
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/objects/__init__.py", line 676, in commit
    self.apply()
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/auth_manager.py", line 69, in guard
    return f(obj, *argv, **kwarg)
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/objects/interface.py", line 702, in apply
    super(Interface, self).apply(rollback, req_filter)
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/auth_manager.py", line 69, in guard
    return f(obj, *argv, **kwarg)
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/objects/__init__.py", line 892, in apply
    raise Exception('lost sync in apply()')
Exception: lost sync in apply()

Steps to reproduce

  1. Create a GRE tunnel ip.link("add", ifname="testtun", kind="gre", gre_local="10.10.10.2", gre_remote="10.10.100.3", gre_ttl=254)
  2. Try to change it with NDB ndb.interfaces["testtun"].set("gre_local", "10.10.10.3").commit()

Notes

I also tried to change the tunnel using these commands but they didn't work(didn't throw an exception but value was not changed):

svinota commented 2 years ago

Got it, thanks! Fixing

svinota commented 2 years ago

The root cause has been found. Preparing the fix.

svinota commented 2 years ago

The issue is fixed.

For NDB it's as simple as

ndb
.interfaces["testtun"]
.set("gre_local", "10.10.10.3")
.commit()

For IPRoute it's a bit more complicated.

The GRE tunnels while setting an endpoint require both endpoints to be specified as well as some other GRE attributes. Thus if you want only to change IFLA_GRE_LOCAL, you need anyways to specify all the attributes:

ip.link('set',
        index=31,
        kind='gre',                # important! required to properly populate IFLA_LINKINFO
        gre_local='10.10.10.3',    # setup the new local ip
        gre_remote='10.10.100.3',  # the remote ip must be specified as well
        gre_ttl=254)               # preserve TTL
carloslockward commented 2 years ago

I commented a suggestion on your fix! I don't really know the full architecture of pyroute2 so I could be wrong but by looking at your commit I could infer that other tunnels kinds might need the same fix. Give it a look and let me know!

svinota commented 2 years ago

Yep, still testing other tunnel types.

svinota commented 2 years ago

Added some more supported types.

carloslockward commented 2 years ago

Seems like the problem is still not fixed on 0.6.6

Creating a GRE tunnel as before i get this tunnel.

{
    "flags": 144,
    "state": "down",
    "ifname": "TEST-GRE",
    "target": "localhost",
    "tflags": 0,
    "index": 8,
    "family": 0,
    "ifi_type": 778,
    "change": 4294967295,
    "address": "0a:0a:01:64:08:00",
    "broadcast": "0a:c8:0a:01:c4:00",
    "mtu": 1476,
    "link": 0,
    "qdisc": "noop",
    "master": None,
    "txqlen": 1000,
    "linkmode": 0,
    "net_ns_pid": None,
    "ifalias": None,
    "num_vf": None,
    "group": 0,
    "ext_mask": None,
    "promiscuity": 0,
    "num_tx_queues": 1,
    "num_rx_queues": 1,
    "carrier": 1,
    "carrier_changes": 0,
    "link_netnsid": None,
    "phys_port_name": None,
    "proto_down": 0,
    "gso_max_segs": 65535,
    "gso_max_size": 65536,
    "if_netnsid": None,
    "carrier_up_count": 0,
    "carrier_down_count": 0,
    "new_ifindex": None,
    "min_mtu": 0,
    "max_mtu": 0,
    "alt_ifname": None,
    "kind": "gre",
    "slave_kind": None,
    "xdp_attached": None,
    "xdp_flags": None,
    "xdp_prog_id": None,
    "xdp_drv_prog_id": None,
    "xdp_skb_prog_id": None,
    "xdp_hw_prog_id": None,
    "gre_link": 0,
    "gre_iflags": 0,
    "gre_oflags": 0,
    "gre_ikey": 0,
    "gre_okey": 0,
    "gre_local": "10.10.1.100",
    "gre_remote": "10.200.10.1",
    "gre_ttl": 0,
    "gre_tos": 0,
    "gre_pmtudisc": 1,
    "gre_encap_limit": None,
    "gre_flowinfo": None,
    "gre_flags": None,
    "gre_encap_type": 0,
    "gre_encap_flags": 0,
    "gre_encap_sport": 0,
    "gre_encap_dport": 0,
    "gre_ignore_df": 0,
    "gre_fwmark": 0,
}

I tried to modify it using NDB by doing:

ndb.interfaces["TEST-GRE"].set("gre_local", "10.1.1.201").commit()

Which didn't fail(progress!), however the tunnel value was not updated. As seen bellow.

>>> ndb.interfaces["TEST-GRE"]["gre_local"]
'10.10.1.100'

And ip.link("set") still didn't work either Even when specifying all the values as you suggested.

>>> ip.link("set", index=8, kind="gre", gre_local="10.10.200.1", gre_remote="10.200.10.1", gre_ttl=0)
>>> ndb.interfaces["TEST-GRE"]["gre_local"]
'10.10.1.100'

No exception thrown but the values are not updated.

Thanks for the support and let me know if you need any additional info.

svinota commented 2 years ago

Yeah, it's another issue. The down tunnels don't send updates, I ignore that in the code — but forgot to force attributes reading.

The interface attributes are changed in the system, but it's NDB that doesn't get updated. Will be fixed within an hour.

svinota commented 2 years ago

Done.

carloslockward commented 2 years ago

Awesome thank you! I assume this is not going to make it to version 0.6.6 so I will download the source and try to test again tomorrow.

carloslockward commented 2 years ago

I tested from source (version '0.6.6.post8'). Editing GRE tunnel configurations seems to be working now! Thank you.

svinota commented 2 years ago

Thanks for the feedback! I'm closing the ticket, but don't hesitate to report any further issues.

carloslockward commented 2 years ago

If possible, could do a 0.6.7 release including this fix? It will make my life so much easier.

svinota commented 2 years ago

Yep, why not if it helps.

svinota commented 2 years ago

Preparing 0.6.7 to be tagged tonight.

svinota commented 2 years ago

@carloslockward , during tests I've found a critical issue: https://github.com/svinota/pyroute2/issues/883

Tagging 0.6.7 as promised, but 0.6.8 fixing the issue is on the way and will be available this week.

carloslockward commented 2 years ago

@svinota I've been testing 0.6.7 more thoroughly now and if found an issue when updating gre keys specifically.

>>> test.ndb.interfaces["gre-WAN"].set(f"gre_ikey", 10).set(f"gre_okey", 10).commit()
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/snap/iotr-cr-sysmgr/x1/lib/python3.8/site-packages/pr2modules/ndb/auth_manager.py", line 68, in guard
    return f(obj, *argv, **kwarg)
  File "/snap/iotr-cr-sysmgr/x1/lib/python3.8/site-packages/pr2modules/ndb/objects/__init__.py", line 697, in commit
    self.apply()
  File "/snap/iotr-cr-sysmgr/x1/lib/python3.8/site-packages/pr2modules/ndb/auth_manager.py", line 68, in guard
    return f(obj, *argv, **kwarg)
  File "/snap/iotr-cr-sysmgr/x1/lib/python3.8/site-packages/pr2modules/ndb/objects/interface.py", line 808, in apply
    super(Interface, self).apply(rollback, req_filter)
  File "/snap/iotr-cr-sysmgr/x1/lib/python3.8/site-packages/pr2modules/ndb/auth_manager.py", line 68, in guard
    return f(obj, *argv, **kwarg)
  File "/snap/iotr-cr-sysmgr/x1/lib/python3.8/site-packages/pr2modules/ndb/objects/__init__.py", line 911, in apply
    raise Exception('lost sync in apply()')
Exception: lost sync in apply()

The incorrect gre flags message repeats multiple times and then the command hangs for about 8 seconds and then ends up in a lost sync in apply.

Should I open another issue to track this or should we reopen this one?

svinota commented 2 years ago

I reopened the issue. Thanks for keeping an eye on that!

svinota commented 2 years ago

@carloslockward may I ask you what kind of architecture do you use? Or at least is it BE or LE?

carloslockward commented 2 years ago

I'm running on arm64(aarch64). Its Little Endian.

svinota commented 2 years ago

@carloslockward if it is possible, could you please run the same on NDB(log='debug'), and send the full log — but before pls check if there is no sensitive IP address info. I still can not reproduce the error, although it obviously happens.

carloslockward commented 2 years ago

I was able to narrow it down to "gre_iflags" and "gre_oflags". I originally tried to set the both to 32 and that caused the issue. If I delete and recreate the tunnel and try to change the gre keys it works no problem, but as soon as you set the gre flags to 32 the issue arises.

After a bit of reading issue #531 I realize that this is probably not a valid flag. But i am still unclear what the valid flags actually are(0x2000 for keyed gre?). If possible could you give a list of the valid flags?

Logs are pretty long so brace yourself. No sensitive info here.

>>> test.ndb.interfaces["gre-WAN"].set(f"gre_ikey", 9).set(f"gre_okey", 9).set(f"gre_iflags", 32).set(f"gre_oflags", 32).commit()
2022-02-22 18:03:37,177    DEBUG pyroute2.ndb.281472924644112.rtnl_object: init
2022-02-22 18:03:37,178    DEBUG pyroute2.ndb.281472924644112.view.interfaces: check if the key {'ifname': 'gre-WAN', 'target': 'localhost'} exists in table interfaces
2022-02-22 18:03:37,180    DEBUG pyroute2.ndb.281472924644112.view.interfaces: exists
2022-02-22 18:03:37,181    DEBUG pyroute2.ndb.281472924644112.rtnl_object: complete key {'ifname': 'gre-WAN', 'target': 'localhost'} from table interfaces
2022-02-22 18:03:37,183    DEBUG pyroute2.ndb.281472924644112.rtnl_object: got {'ifname': 'gre-WAN', 'target': 'localhost', 'tflags': 0, 'index': 26}
2022-02-22 18:03:37,183    DEBUG pyroute2.ndb.281472924644112.view.interfaces: cache hit (('target', 'localhost'), ('tflags', 0), ('index', 26))
2022-02-22 18:03:37,184    DEBUG pyroute2.ndb.281472924644112.rtnl_object: commit: [(1645552872.5271432, 'invalid'), (1645552881.022525, 'system')]
2022-02-22 18:03:37,185    DEBUG pyroute2.ndb.281472924644112.rtnl_object: init
2022-02-22 18:03:37,186    DEBUG pyroute2.ndb.281472924644112.view.interfaces: check if the key {'target': 'localhost', 'tflags': 0, 'index': 26} exists in table interfaces
2022-02-22 18:03:37,187    DEBUG pyroute2.ndb.281472924644112.view.interfaces: exists
2022-02-22 18:03:37,188    DEBUG pyroute2.ndb.281472924644112.rtnl_object: complete key OrderedDict([('target', 'localhost'), ('tflags', 0), ('index', 26)]) from table interfaces_281472898962512
2022-02-22 18:03:37,188    DEBUG pyroute2.ndb.281472924644112.rtnl_object: got {'target': 'localhost', 'tflags': 0, 'index': 26}
2022-02-22 18:03:37,190    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,199    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot interfaces_281472898962512
2022-02-22 18:03:37,201    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot af_bridge_ifs_281472898962512
2022-02-22 18:03:37,202    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot af_bridge_vlans_281472898962512
2022-02-22 18:03:37,203    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot p2p_281472898962512
2022-02-22 18:03:37,204    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_bridge_281472898962512
2022-02-22 18:03:37,205    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_bond_281472898962512
2022-02-22 18:03:37,206    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_vlan_281472898962512
2022-02-22 18:03:37,207    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_vxlan_281472898962512
2022-02-22 18:03:37,208    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_gre_281472898962512
2022-02-22 18:03:37,209    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_gretap_281472898962512
2022-02-22 18:03:37,210    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_ip6gre_281472898962512
2022-02-22 18:03:37,211    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_ip6gretap_281472898962512
2022-02-22 18:03:37,212    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_ip6tnl_281472898962512
2022-02-22 18:03:37,213    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_ipip_281472898962512
2022-02-22 18:03:37,213    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_sit_281472898962512
2022-02-22 18:03:37,214    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_macvlan_281472898962512
2022-02-22 18:03:37,215    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_macvtap_281472898962512
2022-02-22 18:03:37,216    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_tun_281472898962512
2022-02-22 18:03:37,217    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_vrf_281472898962512
2022-02-22 18:03:37,218    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_vti_281472898962512
2022-02-22 18:03:37,219    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot ifinfo_vti6_281472898962512
2022-02-22 18:03:37,219    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot addresses_281472898962512
2022-02-22 18:03:37,220    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot neighbours_281472898962512
2022-02-22 18:03:37,221    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot af_bridge_fdb_281472898962512
2022-02-22 18:03:37,222    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot routes_281472898962512
2022-02-22 18:03:37,223    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot nh_281472898962512
2022-02-22 18:03:37,224    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot metrics_281472898962512
2022-02-22 18:03:37,225    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot enc_mpls_281472898962512
2022-02-22 18:03:37,226    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot netns_281472898962512
2022-02-22 18:03:37,227    DEBUG pyroute2.ndb.281472924644112.schema: create snapshot rules_281472898962512
2022-02-22 18:03:37,241    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply: [(1645552872.5271432, 'invalid'), (1645552881.022525, 'system')]
2022-02-22 18:03:37,244    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,248    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply req: {'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1}
2022-02-22 18:03:37,248    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply idx_req: {'target': 'localhost', 'tflags': 0, 'index': 26}
2022-02-22 18:03:37,249    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply state: system
2022-02-22 18:03:37,249    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,255    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,275    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 266, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,276    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,278    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,280    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.2792282, 'system')]
2022-02-22 18:03:37,281    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,281    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,282    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,287    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,308    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 268, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,309    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,311    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,313    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.3120055, 'system')]
2022-02-22 18:03:37,313    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,314    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,314    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,319    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.2, mqsize 1, nqsize 0}
2022-02-22 18:03:37,339    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 270, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,340    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,342    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,344    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.3433897, 'system')]
2022-02-22 18:03:37,345    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,346    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,346    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,351    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.30000000000000004, mqsize 1, nqsize 0}
2022-02-22 18:03:37,371    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 272, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,372    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,374    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,377    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.375481, 'system')]
2022-02-22 18:03:37,377    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,377    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,378    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,385    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.4, mqsize 1, nqsize 0}
2022-02-22 18:03:37,404    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 274, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,405    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,408    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,410    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.4088504, 'system')]
2022-02-22 18:03:37,411    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,411    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,411    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,417    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.5, mqsize 1, nqsize 0}
2022-02-22 18:03:37,436    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 276, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,437    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,440    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,442    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.4408133, 'system')]
2022-02-22 18:03:37,442    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,443    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,443    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,448    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.6000000000000001, mqsize 1, nqsize 0}
2022-02-22 18:03:37,481    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 278, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,482    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,484    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,486    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.4853356, 'system')]
2022-02-22 18:03:37,487    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,487    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,487    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,493    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.7000000000000001, mqsize 1, nqsize 0}
2022-02-22 18:03:37,512    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 280, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,513    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,515    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,518    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.5164557, 'system')]
2022-02-22 18:03:37,518    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,518    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,519    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,524    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.8, mqsize 1, nqsize 0}
2022-02-22 18:03:37,543    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 282, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,544    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,547    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,549    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.5477314, 'system')]
2022-02-22 18:03:37,549    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,549    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,550    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,555    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 0.9, mqsize 1, nqsize 0}
2022-02-22 18:03:37,576    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 284, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,577    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,579    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,581    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.5802815, 'system')]
2022-02-22 18:03:37,582    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,582    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,582    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,588    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1.0, mqsize 1, nqsize 0}
2022-02-22 18:03:37,607    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 286, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,608    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,610    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,612    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.6115172, 'system')]
2022-02-22 18:03:37,613    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,613    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,613    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,619    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,638    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 288, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,639    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,641    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,644    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.6424522, 'system')]
2022-02-22 18:03:37,644    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,644    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,645    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,651    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,671    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 290, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,672    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,674    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,676    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.6751554, 'system')]
2022-02-22 18:03:37,677    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,677    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,677    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,683    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,702    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 292, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,703    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,705    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,708    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.706525, 'system')]
2022-02-22 18:03:37,708    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,708    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,709    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,714    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,735    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 294, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,736    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,738    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,740    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.739312, 'system')]
2022-02-22 18:03:37,741    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,741    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,742    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,747    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,766    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 296, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,767    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,770    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,772    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.7707937, 'system')]
2022-02-22 18:03:37,772    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,772    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,773    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,778    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,797    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 298, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,798    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,801    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,803    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.8018432, 'system')]
2022-02-22 18:03:37,803    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,804    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,804    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,809    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,830    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 300, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,831    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,833    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,835    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.8343713, 'system')]
2022-02-22 18:03:37,836    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,836    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,837    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,842    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,861    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 302, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,862    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,865    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,867    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.8657813, 'system')]
2022-02-22 18:03:37,867    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,868    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,868    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 9, 'gre_oflags': 32, 'gre_iflags': 32, 'gre_okey': 9, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
possibly incorrect GRE flags, see https://github.com/svinota/pyroute2/issues/531
2022-02-22 18:03:37,873    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898962512, wtime 1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,892    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 304, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,894    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,896    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,898    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645552872.5271432, 'invalid'), (1645553017.8971055, 'system')]
2022-02-22 18:03:37,898    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check changed: {'gre_oflags', 'gre_iflags'}
2022-02-22 18:03:37,899    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,899    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: 281472898962512 apply set fail
2022-02-22 18:03:37,899    DEBUG pyroute2.ndb.281472924644112.rtnl_object: rollback: [(1645552872.5271432, 'invalid'), (1645553017.8971055, 'system')]
2022-02-22 18:03:37,900    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply: [(1645553017.1856008, 'invalid'), (1645553017.9002156, 'system')]
2022-02-22 18:03:37,903    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,908    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply req: {'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 11, 'gre_okey': 11, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1}
2022-02-22 18:03:37,908    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply idx_req: {'target': 'localhost', 'tflags': 0, 'index': 26}
2022-02-22 18:03:37,908    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply state: system
2022-02-22 18:03:37,909    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run set ({'target': 'localhost', 'tflags': 0, 'index': 26, 'gre_ikey': 11, 'gre_okey': 11, 'master': None, 'kind': 'gre', 'gre_local': '10.10.201.1', 'gre_remote': '10.10.202.1', 'gre_pmtudisc': 1})
2022-02-22 18:03:37,913    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply set {objid 281472898670480, wtime 0.1, mqsize 1, nqsize 0}
2022-02-22 18:03:37,934    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_rtnl: {'length': 1464, 'type': 16, 'flags': 0, 'sequence_number': 306, 'pid': 2445033793, 'error': None, 'target': 'localhost', 'stats': Stats(qsize=0, delta=0, delay=0)}
2022-02-22 18:03:37,935    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,938    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 0, 778, 26, 144, 0, '0a:0a:c9:01:08:00', '0a:0a:ca:01:c4:00', 'gre-WAN', 1476, 0, 'noop', None, 1000, 0, None, None, None, 0, None, 0, 1, 1, 1, 0, None, None, 0, 65535, 65536, None, 0, 0, None, 0, 0, None, 'down', 'gre', None, None, None, None, None, None, None)
2022-02-22 18:03:37,940    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.1856008, 'invalid'), (1645553017.9392607, 'system')]
2022-02-22 18:03:37,940    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: True
2022-02-22 18:03:37,941    DEBUG pyroute2.ndb.281472924644112.rtnl_object: checked
2022-02-22 18:03:37,941    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: 281472898670480 pass
2022-02-22 18:03:37,947    DEBUG pyroute2.ndb.281472924644112.rtnl_object: init
2022-02-22 18:03:37,948    DEBUG pyroute2.ndb.281472924644112.view.interfaces: check if the key {'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': ''} exists in table interfaces
2022-02-22 18:03:37,951    DEBUG pyroute2.ndb.281472924644112.view.interfaces: not exists
2022-02-22 18:03:37,951    DEBUG pyroute2.ndb.281472924644112.rtnl_object: complete key {'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'table': 255} from table routes
2022-02-22 18:03:37,952    DEBUG pyroute2.ndb.281472924644112.rtnl_object: got {'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'table': 255}
2022-02-22 18:03:37,956    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: ('localhost', 0, 2, 32, 0, 0, 255, 2, 254, 2, 0, '10.10.1.1', None, None, 26, None, 0, '10.10.1.1', None, None, 255, None, '', '', None, None, None, None, 0)
2022-02-22 18:03:37,956    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:37,960    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:37,961    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply req: {'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': ''}
2022-02-22 18:03:37,962    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply idx_req: {'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': ''}
2022-02-22 18:03:37,962    DEBUG pyroute2.ndb.281472924644112.rtnl_object: apply state: invalid
2022-02-22 18:03:37,962    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:37,966    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:37,967    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:37,967    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:37,970    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.0, mqsize 0, nqsize 0}
2022-02-22 18:03:37,972    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:37,973    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:37,973    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:37,974    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:37,974    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:37,978    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:37,978    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:37,978    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:37,982    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.1, mqsize 0, nqsize 0}
2022-02-22 18:03:37,984    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:37,985    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:37,985    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:37,986    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:38,087    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:38,090    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:38,091    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:38,091    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:38,095    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.2, mqsize 0, nqsize 0}
2022-02-22 18:03:38,097    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:38,097    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:38,098    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:38,098    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:38,299    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:38,303    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:38,303    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:38,304    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:38,307    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.30000000000000004, mqsize 0, nqsize 0}
2022-02-22 18:03:38,309    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:38,310    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:38,310    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:38,310    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:38,611    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:38,615    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:38,616    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:38,616    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:38,620    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.4, mqsize 0, nqsize 0}
2022-02-22 18:03:38,622    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:38,623    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:38,623    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:38,623    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:39,024    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:39,028    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:39,029    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:39,029    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:39,032    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.5, mqsize 0, nqsize 0}
2022-02-22 18:03:39,035    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:39,035    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:39,036    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:39,036    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:39,537    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:39,542    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:39,543    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:39,543    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:39,547    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.6000000000000001, mqsize 0, nqsize 0}
2022-02-22 18:03:39,549    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:39,549    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:39,550    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:39,550    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:40,151    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:40,155    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:40,156    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:40,156    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:40,159    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.7000000000000001, mqsize 0, nqsize 0}
2022-02-22 18:03:40,162    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:40,162    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:40,163    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:40,163    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:40,864    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:40,868    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:40,868    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:40,869    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:40,872    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.8, mqsize 0, nqsize 0}
2022-02-22 18:03:40,874    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:40,875    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:40,875    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:40,875    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:41,676    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:41,680    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:41,681    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:41,681    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:41,684    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 0.9, mqsize 0, nqsize 0}
2022-02-22 18:03:41,687    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:41,687    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:41,688    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:41,688    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:42,589    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:42,592    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:42,593    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:42,593    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:42,597    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1.0, mqsize 0, nqsize 0}
2022-02-22 18:03:42,599    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:42,599    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:42,600    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:42,600    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:43,601    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:43,605    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:43,605    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:43,606    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:43,609    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1, mqsize 0, nqsize 0}
2022-02-22 18:03:43,611    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:43,612    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:43,612    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:43,612    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:44,613    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:44,617    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:44,618    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:44,618    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:44,622    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1, mqsize 0, nqsize 0}
2022-02-22 18:03:44,624    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:44,624    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:44,624    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:44,625    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:45,626    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:45,631    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:45,632    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:45,632    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:45,635    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1, mqsize 0, nqsize 0}
2022-02-22 18:03:45,638    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:45,638    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:45,639    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:45,639    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:46,640    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:46,644    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:46,644    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:46,645    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:46,648    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1, mqsize 0, nqsize 0}
2022-02-22 18:03:46,650    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:46,651    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:46,651    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:46,651    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:47,652    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:47,656    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:47,657    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:47,657    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:47,660    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1, mqsize 0, nqsize 0}
2022-02-22 18:03:47,663    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:47,663    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:47,664    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:47,664    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:48,665    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:48,669    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:48,669    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:48,670    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:48,673    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1, mqsize 0, nqsize 0}
2022-02-22 18:03:48,675    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:48,676    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:48,676    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:48,676    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:49,677    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:49,681    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:49,682    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:49,682    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:49,686    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1, mqsize 0, nqsize 0}
2022-02-22 18:03:49,688    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:49,688    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:49,689    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:49,689    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:50,690    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:50,694    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:50,694    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:50,695    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:50,698    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1, mqsize 0, nqsize 0}
2022-02-22 18:03:50,701    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:50,701    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:50,701    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:50,702    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:51,703    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run add ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:51,707    DEBUG pyroute2.ndb.281472924644112.rtnl_object: error: (17, 'File exists')
2022-02-22 18:03:51,707    DEBUG pyroute2.ndb.281472924644112.rtnl_object: ignore error 17 for {'multipath': [], 'metrics': {}, 'deps': 0, 'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'src': None, 'iif': None, 'gateway': None, 'prefsrc': '10.10.1.1', 'protoinfo': None, 'flow': None, 'mark': None, 'pref': None, 'encap_type': None, 'route_id': None, 'gc_mark': None}
2022-02-22 18:03:51,708    DEBUG pyroute2.ndb.281472924644112.rtnl_object: run fallback set ({'target': 'localhost', 'tflags': 0, 'family': 2, 'dst_len': 32, 'tos': 0, 'scope': 254, 'RTA_DST': '10.10.1.1', 'RTA_OIF': 26, 'RTA_PRIORITY': 0, 'RTA_TABLE': 255, 'RTA_VIA': '', 'RTA_NEWDST': '', 'multipath': [], 'metrics': {}, 'deps': 0, 'dst': '10.10.1.1', 'oif': 26, 'priority': 0, 'table': 255, 'via': '', 'newdst': '', 'src_len': 0, 'proto': 2, 'type': 2, 'flags': 0, 'prefsrc': '10.10.1.1'})
2022-02-22 18:03:51,711    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: apply add {objid 281472898662864, wtime 1, mqsize 0, nqsize 0}
2022-02-22 18:03:51,713    DEBUG pyroute2.ndb.281472924644112.rtnl_object: load_sql: None
2022-02-22 18:03:51,714    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check: [(1645553017.9481273, 'invalid'), (1645553017.956619, 'system'), (1645553017.9567204, 'invalid')]
2022-02-22 18:03:51,714    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check state: False
2022-02-22 18:03:51,714    DEBUG pyroute2.ndb.281472924644112.rtnl_object: check failed
2022-02-22 18:03:52,715    DEBUG pyroute2.ndb.281472924644112.rtnl_object: stats: 281472898662864 apply add fail
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/auth_manager.py", line 68, in guard
    return f(obj, *argv, **kwarg)
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/objects/__init__.py", line 697, in commit
    self.apply()
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/auth_manager.py", line 68, in guard
    return f(obj, *argv, **kwarg)
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/objects/interface.py", line 808, in apply
    super(Interface, self).apply(rollback, req_filter)
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/auth_manager.py", line 68, in guard
    return f(obj, *argv, **kwarg)
  File "/snap/iotr-cr-sysmgr/x2/lib/python3.8/site-packages/pr2modules/ndb/objects/__init__.py", line 911, in apply
    raise Exception('lost sync in apply()')
Exception: lost sync in apply()

Now if you would try to run test.ndb.interfaces["gre-WAN"].set(f"gre_ikey", 9).set(f"gre_okey", 9).commit() issue will happen again.

svinota commented 2 years ago

related code:

// include/uapi/linux/if_tunnel.h

#define TUNNEL_CSUM     __cpu_to_be16(0x01)
#define TUNNEL_ROUTING      __cpu_to_be16(0x02)
#define TUNNEL_KEY      __cpu_to_be16(0x04)
#define TUNNEL_SEQ      __cpu_to_be16(0x08)
#define TUNNEL_STRICT       __cpu_to_be16(0x10)
#define TUNNEL_REC      __cpu_to_be16(0x20)
#define TUNNEL_VERSION      __cpu_to_be16(0x40)
#define TUNNEL_NO_KEY       __cpu_to_be16(0x80)
#define TUNNEL_DONT_FRAGMENT    __cpu_to_be16(0x0100)
#define TUNNEL_OAM      __cpu_to_be16(0x0200)
#define TUNNEL_CRIT_OPT     __cpu_to_be16(0x0400)
#define TUNNEL_GENEVE_OPT   __cpu_to_be16(0x0800)
#define TUNNEL_VXLAN_OPT    __cpu_to_be16(0x1000)
#define TUNNEL_NOCACHE      __cpu_to_be16(0x2000)
#define TUNNEL_ERSPAN_OPT   __cpu_to_be16(0x4000)
#define TUNNEL_GTP_OPT      __cpu_to_be16(0x8000)
// include/net/gre.h
static inline __be16 gre_tnl_flags_to_gre_flags(__be16 tflags)
{
    __be16 flags = 0;

    if (tflags & TUNNEL_CSUM)
        flags |= GRE_CSUM;
    if (tflags & TUNNEL_ROUTING)
        flags |= GRE_ROUTING;
    if (tflags & TUNNEL_KEY)
        flags |= GRE_KEY;
    if (tflags & TUNNEL_SEQ)
        flags |= GRE_SEQ;
    if (tflags & TUNNEL_STRICT)
        flags |= GRE_STRICT;
    if (tflags & TUNNEL_REC)
        flags |= GRE_REC;
    if (tflags & TUNNEL_VERSION)
        flags |= GRE_VERSION;

    return flags;
}

Probably we need some key validator, but not sure yet. Moving the ticket to the backlog for the time being.

carloslockward commented 2 years ago

Thanks!