Permalink
Browse files

Merge pull request #4 from sfd/dag-load-balancing

Add DAG load balancing support
  • Loading branch information...
cardigliano committed Feb 23, 2018
2 parents 1f2712d + 39e15da commit 91d2787c2f83c117ff06c2594fb7b02e8867d5da
Showing with 4 additions and 0 deletions.
  1. +4 −0 broctl/lb_pf_ring.py
@@ -74,6 +74,10 @@ def init(self):
nn.env_vars.setdefault("PCAP_PF_RING_DNA_RSS", "1")
nn.interface = "%s@%d" % (nn.interface, app_instance)
elif nn.interface.startswith("pf_ring::dag:"):
# For the case where a user is running dag HLB
nn.interface = "%s@%d" % (nn.interface, app_instance*2)
else:
nn.env_vars.setdefault("PCAP_PF_RING_CLUSTER_ID", dd[nn.host][nn.interface])

0 comments on commit 91d2787

Please sign in to comment.