Skip to content

Add generic next hop information field in JSON responses #149

@DRiKE

Description

@DRiKE

Realisation after merging #148:

Next hop information can reside in multiple different places within a response, as the information is carried by different path attributes: the NEXT_HOP attribute for conventional IPv4 announcements, or within the MP_REACH_NLRI attribute for MP announcements.

This is technically correct and all, but, we should consider adding a generic next hop field outside of the actual path attributes, as a helper to the consumer of such responses.

Look into https://json-spec.readthedocs.io/reference.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions