Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-503

Introduce is_unreachable flag to ip_add_del_route

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 16.12
    • None
    • None
    • None

      According to ietf-routing model, there are 4 special states for hop :

      leaf special-next-hop {
      type enumeration {
      enum blackhole

      { description "Silently discard the packet."; }

      enum unreachable

      { description "Discard the packet and notify the sender with an error message indicating that the destination host is unreachable."; }

      enum prohibit

      { description "Discard the packet and notify the sender with an error message indicating that the communication is administratively prohibited."; }

      enum receive

      { description "The packet will be received by the local network device."; }

      }
      description
      "Special next-hop options.";
      }

      options blackhole(is_drop) and receive(is_local) are allready supported. unreachable should be possible to implement, in case of prohibit,it should be also implemented ,if possible

            nranns Neale Ranns
            jsrnicek_cisco Jan Srnicek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: