]> git.puffer.fish Git - matthieu/frr.git/commitdiff
fabricd: Disabling OpenFabric optimization to avoid considering T0 devices only as...
authorRodny Molina <rmolina@linkedin.com>
Tue, 27 Nov 2018 01:21:31 +0000 (01:21 +0000)
committerRodny Molina <rmolina@linkedin.com>
Fri, 7 Dec 2018 19:51:05 +0000 (19:51 +0000)
Signed-off-by: Rodny Molina <rmolina@linkedin.com>
isisd/fabricd.c

index 302b7e17e32693aacef510abf228f34dccfabc78..152bfb5283c20c304f0e2745b4b6ca2b3ab0a070 100644 (file)
@@ -645,25 +645,9 @@ void fabricd_lsp_flood(struct isis_lsp *lsp, struct isis_circuit *circuit)
        void *cursor = NULL;
        struct neighbor_entry *n;
 
-       /* Mark all elements in NL as present and move T0s into DNR */
+       /* Mark all elements in NL as present */
        while (!skiplist_next(f->neighbors, NULL, (void **)&n, &cursor)) {
                n->present = true;
-
-               struct isis_lsp *node_lsp = lsp_for_neighbor(f, n);
-               if (!node_lsp
-                   || !node_lsp->tlvs
-                   || !node_lsp->tlvs->spine_leaf
-                   || !node_lsp->tlvs->spine_leaf->has_tier
-                   || node_lsp->tlvs->spine_leaf->tier != 0) {
-                       continue;
-               }
-
-               if (isis->debugs & DEBUG_FLOODING) {
-                       zlog_debug("Moving %s to DNR because it's T0",
-                                  rawlspid_print(node_lsp->hdr.lsp_id));
-               }
-
-               move_to_queue(lsp, n, TX_LSP_CIRCUIT_SCOPED, circuit);
        }
 
        /* Mark all elements in NN as present */