NetworkManager / Client / list_core_network_routing_information

list_core_network_routing_information

NetworkManager.Client.list_core_network_routing_information(**kwargs)

Lists routing information for a core network, including routes and their attributes.

See also: AWS API Documentation

Request Syntax

response = client.list_core_network_routing_information(
    CoreNetworkId='string',
    SegmentName='string',
    EdgeLocation='string',
    NextHopFilters={
        'string': [
            'string',
        ]
    },
    LocalPreferenceMatches=[
        'string',
    ],
    ExactAsPathMatches=[
        'string',
    ],
    MedMatches=[
        'string',
    ],
    CommunityMatches=[
        'string',
    ],
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • CoreNetworkId (string) –

    [REQUIRED]

    The ID of the core network to retrieve routing information for.

  • SegmentName (string) –

    [REQUIRED]

    The name of the segment to filter routing information by.

  • EdgeLocation (string) –

    [REQUIRED]

    The edge location to filter routing information by.

  • NextHopFilters (dict) –

    Filters to apply based on next hop information.

    • (string) –

      • (list) –

        • (string) –

  • LocalPreferenceMatches (list) –

    Local preference values to match when filtering routing information.

    • (string) –

  • ExactAsPathMatches (list) –

    Exact AS path values to match when filtering routing information.

    • (string) –

  • MedMatches (list) –

    Multi-Exit Discriminator (MED) values to match when filtering routing information.

    • (string) –

  • CommunityMatches (list) –

    BGP community values to match when filtering routing information.

    • (string) –

  • MaxResults (integer) – The maximum number of routing information entries to return in a single page.

  • NextToken (string) – The token for the next page of results.

Return type:

dict

Returns:

Response Syntax

{
    'CoreNetworkRoutingInformation': [
        {
            'Prefix': 'string',
            'NextHop': {
                'IpAddress': 'string',
                'CoreNetworkAttachmentId': 'string',
                'ResourceId': 'string',
                'ResourceType': 'string',
                'SegmentName': 'string',
                'EdgeLocation': 'string'
            },
            'LocalPreference': 'string',
            'Med': 'string',
            'AsPath': [
                'string',
            ],
            'Communities': [
                'string',
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • CoreNetworkRoutingInformation (list) –

      The list of routing information for the core network.

      • (dict) –

        Routing information for a core network, including route details and BGP attributes.

        • Prefix (string) –

          The IP prefix for the route.

        • NextHop (dict) –

          The next hop information for the route.

          • IpAddress (string) –

            The IP address of the next hop.

          • CoreNetworkAttachmentId (string) –

            The ID of the core network attachment for the next hop.

          • ResourceId (string) –

            The ID of the resource for the next hop.

          • ResourceType (string) –

            The type of resource for the next hop.

          • SegmentName (string) –

            The name of the segment for the next hop.

          • EdgeLocation (string) –

            The edge location for the next hop.

        • LocalPreference (string) –

          The BGP local preference value for the route.

        • Med (string) –

          The BGP Multi-Exit Discriminator (MED) value for the route.

        • AsPath (list) –

          The BGP AS path for the route.

          • (string) –

        • Communities (list) –

          The BGP community values for the route.

          • (string) –

    • NextToken (string) –

      The token for the next page of results.

Exceptions

  • NetworkManager.Client.exceptions.ValidationException

  • NetworkManager.Client.exceptions.AccessDeniedException

  • NetworkManager.Client.exceptions.ResourceNotFoundException

  • NetworkManager.Client.exceptions.ThrottlingException

  • NetworkManager.Client.exceptions.InternalServerException