subinterface defns for dnacluster:21@x interfaces in lb_pf_ring.py not reset

Description

When more than one system in node.cgf is defined with dnacluster interfaces, the subinterface (ie x value in dnacluster:21@x) is not reset when the parser goes to a new physical system. This causes a "no interface" error.

One line fix to lb_pf_ring.py

  •  

    •  

      • /home/bro/SOFTWARE/bro/aux/broctl/BroControl/plugins/lb_pf_ring.py 2014-04-22 08:47:24.884212793 -0700

      • /home/bro/lib/broctl/plugins/lb_pf_ring.py 2014-04-24 08:19:07.128480987 -0700
        ***************

      • 48,53 ****

      • 48,54 ----
        app_instance = first_app_instance
        dd[nn.host][nn.interface] = cluster_id + len(dd[nn.host])
        else:
        + app_instance = 0
        dd[nn.host] = { nn.interface : cluster_id }

  1. Apply environment variables, but do not override values from

Environment

scientific linux

Assignee

Unassigned

Reporter

scampbell

Labels

External issue ID

None

Components

Affects versions

Priority

High
Configure