]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Drop `interfaceIp` from `show ip ospf neigh json`
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 11 Jun 2024 08:59:37 +0000 (11:59 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 11 Jun 2024 08:59:37 +0000 (11:59 +0300)
commite24ff4c275f0729f75be9f68d08be80ac1e0ec56
tree7135b99595edbc906e874932e02745f9bf0ea1a7
parentd5b0c76eddc8c30b8306ed7f53f6c8d94f4b0c37
ospfd: Drop `interfaceIp` from `show ip ospf neigh json`

Deprecated. Now it's under interface field directly:

```
{
  "interfaces":{
    "enp3s0":{
      "ifUp":true,
      "ifIndex":2,
      "mtuBytes":1500,
      "bandwidthMbit":100,
      "ifFlags":"<UP,LOWER_UP,BROADCAST,RUNNING,MULTICAST>",
      "ospfEnabled":true,
      "ipAddress":"192.168.10.19",
      "ipAddressPrefixlen":24,
      "ospfIfType":"Broadcast",
      "localIfUsed":"192.168.10.255",
      "area":"0.0.0.0",
      "routerId":"100.100.100.100",
      "networkType":"POINTOPOINT",
      "cost":1000,
      "transmitDelaySecs":1,
      "state":"Point-To-Point",
      "priority":1,
      "opaqueCapable":true,
      "mcastMemberOspfAllRouters":true,
      "timerMsecs":10000,
      "timerDeadSecs":40,
      "timerWaitSecs":40,
      "timerRetransmitSecs":5,
      "timerHelloInMsecs":2924,
      "nbrCount":0,
      "nbrAdjacentCount":0,
      "grHelloDelaySecs":10,
      "prefixSuppression":false,
      "nbrFilterPrefixList":"N\/A"
    }
  }
}
```

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
ospfd/ospf_vty.c