Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Routing

The routing information for a vantage point.

Properties

Optional asLabel

asLabel: undefined | string

The registry label for {@code asn}, usually the name of the organization that owns the ASN. May be omitted or null.

Optional asn

asn: undefined | number

The Autonomous System Number (ASN) identifying the organization responsible for routing packets to {@code prefix}. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional prefix

prefix: undefined | string

An IP prefix (CIDR syntax) that is less specific than {@code address}, through which {@code address} is routed.

Optional weight

weight: undefined | number

An integer between 0 and 100 used to select between multiple origin ASNs when routing to {@code prefix}. Most prefixes have exactly one origin ASN, in which case {@code weight} will be 100. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Routing): object

getJsonObj