[Xorp-hackers] [greearb/xorp.ct] bc8cdc: pim: Store enable & should-start info in permanen...

GitHub noreply at github.com
Fri Aug 31 10:56:40 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/greearb/xorp.ct
  Commit: bc8cdcb279e896c12d97011763862426f71fdc37
      https://github.com/greearb/xorp.ct/commit/bc8cdcb279e896c12d97011763862426f71fdc37
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M xorp/libxorp/vif.hh
    M xorp/pim/pim_node.cc
    M xorp/pim/pim_vif.cc
    M xorp/pim/pim_vif.hh

  Log Message:
  -----------
  pim:  Store enable & should-start info in permanent structure.

This allows us to properly re-start the PIM protocol for
interfaces that are deleted and then come back.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 9b765ab6ec25572b45303e9c13cd86edcfc5add3
      https://github.com/greearb/xorp.ct/commit/9b765ab6ec25572b45303e9c13cd86edcfc5add3
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M xorp/libxorp/vif.hh
    M xorp/mld6igmp/mld6igmp_node.cc
    M xorp/mld6igmp/mld6igmp_vif.cc
    M xorp/mld6igmp/mld6igmp_vif.hh
    M xorp/pim/pim_node.cc
    M xorp/pim/pim_vif.cc
    M xorp/pim/pim_vif.hh

  Log Message:
  -----------
  igmp/pim:  Store enabled & should-start in permanent structure.

This allows us to properly re-start the PIM protocol for
interfaces that are deleted and then come back.  Move some
common code to the vif.hh class.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: d76b02fe96085ea5b081c3197d6bee620f818326
      https://github.com/greearb/xorp.ct/commit/d76b02fe96085ea5b081c3197d6bee620f818326
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2012-08-29 (Wed, 29 Aug 2012)

  Changed paths:
    M xorp/fea/mfea_config.cc
    M xorp/fea/mfea_node.cc
    M xorp/fea/mfea_vif.cc
    M xorp/fea/mfea_vif.hh

  Log Message:
  -----------
  mefa:  Store enabled & should-start in permanent structure.

This allows us to properly re-start the MFEA protocol for
interfaces that are deleted and then come back.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 843fee0b96d2809d7458109afd59f3ff0496add7
      https://github.com/greearb/xorp.ct/commit/843fee0b96d2809d7458109afd59f3ff0496add7
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2012-08-30 (Thu, 30 Aug 2012)

  Changed paths:
    M xorp/fea/data_plane/io/io_ip_socket.cc
    M xorp/fea/io_ip.hh
    M xorp/fea/xrl_fea_target.cc
    M xorp/pim/xrl_pim_node.cc
    M xorp/site_scons/config/allconfig.py

  Log Message:
  -----------
  FEA:  Fix tx Mcast packets with duplicate local IPs.

When multiple interfaces have the same IP, we must pass
in the interface ifindex instead of just the IP address
when binding the socket before sending mcast packets.

Keep fallback code for systems that do not support
ip_mreqn.  They will work fine as long as there are no
duplicate IP addresses.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 979d25422df23d97ce208d98e7c21e839eee92a7
      https://github.com/greearb/xorp.ct/commit/979d25422df23d97ce208d98e7c21e839eee92a7
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2012-08-30 (Thu, 30 Aug 2012)

  Changed paths:
    M xorp/SConstruct
    M xorp/fea/mfea_mrouter.cc

  Log Message:
  -----------
  mfea:  Allow VIFF_USE_IFINDEX option.

This is required when multiple interfaces have the same IP.
It also requires a recent linux kernel...2.6.31+ or so.

See:
http://patchwork.ozlabs.org/patch/33723/

To enable this feature:

scons enable_viff_use_ifindex=true

Signed-off-by:  Ben Greear <greearb at candelatech.com>


  Commit: f294c5a36bb4a4075488f887411ff752d9923b79
      https://github.com/greearb/xorp.ct/commit/f294c5a36bb4a4075488f887411ff752d9923b79
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2012-08-30 (Thu, 30 Aug 2012)

  Changed paths:
    M xorp/pim/xrl_pim_node.cc

  Log Message:
  -----------
  pim:  Don't assert if failed to register protocol.

Happens under normal cases if xorp is started w/out
interface existing yet.

Signed-off-by: Ben Greear <greearb at candelatech.com>


  Commit: 5c213a6a1be157324ccf42d1a6ab52a5aae2233f
      https://github.com/greearb/xorp.ct/commit/5c213a6a1be157324ccf42d1a6ab52a5aae2233f
  Author: Ben Greear <greearb at candelatech.com>
  Date:   2012-08-31 (Fri, 31 Aug 2012)

  Changed paths:
    M xorp/fea/mfea_node.cc

  Log Message:
  -----------
  mfea:  Ensure phantom ports can later start.

Previous work in this area was incomplete.  This fixes the
case where interface does not exist when Xorp is started.

Signed-off-by: Ben Greear <greearb at candelatech.com>


Compare: https://github.com/greearb/xorp.ct/compare/6a1c44115ec0...5c213a6a1be1


More information about the Xorp-hackers mailing list