Skip to content

AsPathSegment

Source code in docs_src/capo_direct_connect/types/as_path_segment.py
class AsPathSegment(TypedDict, closed=True):
    path_type: NotRequired["capo_direct_connect.types.as_path_type.AsPathType"]
    """<p>The type of the AS path segment.</p> <p>The valid values are <code>seq</code> (an ordered <code>AS_SEQUENCE</code>) and <code>set</code> (an unordered <code>AS_SET</code>).</p>"""
    path: NotRequired["capo_direct_connect.types.as_path_list.AsPathList"]
    """<p>The autonomous system (AS) numbers in the segment.</p>"""

path instance-attribute

path: NotRequired[AsPathList]

The autonomous system (AS) numbers in the segment.

path_type instance-attribute

path_type: NotRequired[AsPathType]

The type of the AS path segment.

The valid values are seq (an ordered AS_SEQUENCE) and set (an unordered AS_SET).