[Xorp-hackers] [greearb/xorp.ct] f55e0e: trivial: ws fixes

GitHub noreply at github.com
Thu Apr 12 10:55:41 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/greearb/xorp.ct
  Commit: f55e0e26f32e736b4a2b58eb9d94a3eb6e418c41
      https://github.com/greearb/xorp.ct/commit/f55e0e26f32e736b4a2b58eb9d94a3eb6e418c41
  Author: Igor Maravic <igorm at etf.rs>
  Date:   2012-04-12 (Thu, 12 Apr 2012)

  Changed paths:
    M xorp/policy/backend/policy_redist_map.hh
    M xorp/policy/common/policy_utils.cc
    M xorp/policy/configuration.hh
    M xorp/policy/policy_target.cc
    M xorp/policy/process_watch.cc
    M xorp/policy/xrl_target.cc
    M xorp/rib/rib_manager.cc
    M xorp/rib/rib_manager.hh
    M xorp/rib/xrl_target.hh

  Log Message:
  -----------
  trivial: ws fixes

Signed-off-by: Igor Maravic <igorm at etf.rs>


  Commit: e2e485a1f4776b0fdad94bd14891488a5ec31117
      https://github.com/greearb/xorp.ct/commit/e2e485a1f4776b0fdad94bd14891488a5ec31117
  Author: Igor Maravic <igorm at etf.rs>
  Date:   2012-04-12 (Thu, 12 Apr 2012)

  Changed paths:
    M xorp/policy/policy_target.cc

  Log Message:
  -----------
  xorp: policy: Fix behaviour on protocol death

When protocol dies clear export and import protocol policies just like the user deleted them manually.

Old way crashed XORP when protocol was deleted, and then re-added with new export/import policies.

Signed-off-by: Igor Maravic <igorm at etf.rs>


  Commit: 099fe362c5786b339bbbe6691c4da2a71a822ab8
      https://github.com/greearb/xorp.ct/commit/099fe362c5786b339bbbe6691c4da2a71a822ab8
  Author: Igor Maravic <igorm at etf.rs>
  Date:   2012-04-12 (Thu, 12 Apr 2012)

  Changed paths:
    M xorp/policy/configuration.cc
    M xorp/policy/configuration.hh

  Log Message:
  -----------
  xorp: policy: Remove tags from _protocol_tags when removing tags from _tagmap

If we don't remove them here they're just going to pile up.

Signed-off-by: Igor Maravic <igorm at etf.rs>


  Commit: eaee556718a8955fcb23acd851b163dbc48f729e
      https://github.com/greearb/xorp.ct/commit/eaee556718a8955fcb23acd851b163dbc48f729e
  Author: Igor Maravic <igorm at etf.rs>
  Date:   2012-04-12 (Thu, 12 Apr 2012)

  Changed paths:
    M xorp/policy/backend/policy_redist_map.cc
    M xorp/policy/backend/policy_redist_map.hh
    M xorp/policy/filter_manager.cc
    M xorp/rib/rib_manager.cc
    M xorp/rib/rib_manager.hh
    M xorp/rib/xrl_target.cc
    M xorp/rib/xrl_target.hh
    M xorp/xrl/interfaces/rib.xif

  Log Message:
  -----------
  xorp: Remove protocol's tags from rib when it dies

Added new function in rib.xif to enable that. FilterManager calls it when protocol dies.

>From rib's tag map, all protocol's tags are removed.

Signed-off-by: Igor Maravic <igorm at etf.rs>


  Commit: 08cde50c77260ecfa38aaa3c3b529f323d4e7246
      https://github.com/greearb/xorp.ct/commit/08cde50c77260ecfa38aaa3c3b529f323d4e7246
  Author: Igor Maravic <igorm at etf.rs>
  Date:   2012-04-12 (Thu, 12 Apr 2012)

  Changed paths:
    M xorp/policy/common/policy_utils.cc

  Log Message:
  -----------
  xorp: policy: common: Strip ws from string when creating list of strings

Strip ws from string, so in export/import statements we could write ws betwen "," and policy name.

Signed-off-by: Igor Maravic <igorm at etf.rs>


Compare: https://github.com/greearb/xorp.ct/compare/a67f53b...08cde50


More information about the Xorp-hackers mailing list