]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: fix topotest
authorckishimo <carles.kishimoto@gmail.com>
Wed, 5 Jan 2022 22:46:24 +0000 (23:46 +0100)
committerCarles Kishimoto Bisbe <carles.kishimoto@cern.ch>
Mon, 28 Mar 2022 20:19:53 +0000 (22:19 +0200)
commit9a974f22928a2795843e68ac823f323ea81304f1
tree9e0e3087bc430c38e694dfd80aa2df3cd8284205
parent3cd5108d828b5c6a0c4b0f28c984846750d3734b
ospf6d: fix topotest

The routes in the test_nssa_range() are E2

  "routes":{
    "2001:db8:1000::2/128":{
      "destinationType":"Network",
      "installedTimeSince":"00:06:29",
      "changedTimeSince":"00:06:29",
      "numberOfLock":2,
      "flags":"BA--",
      "associatedArea":"0.0.0.2",
      "pathType":"External-2",
      "lsOriginRoutePathType":"NSSA",
      "lsId":"0.0.0.3",
      "lsAdvertisingRouter":"10.254.254.4",
      "options":"--|-|-|--|-|--",
      "routerBits":"--------",
      "prefixOptions":"--|P|--|--|--",
      "metricType":2,
      "metricCost":10,
      "metricCostE2":20,
      "pathsCount":1,
      "nextHopCount":1,
      "nextHops":[
        {
          "nextHop":"::",
          "interfaceName":"r2-eth2"
        }
      ]
    }

This PR fixes the key from `metricCost` to `metricCostE2`

Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
tests/topotests/ospf6_topo2/test_ospf6_topo2.py