Skip to content

TPA

Third Party Application (TPA) manages the communication between IOS-XR and Linux applications running on the router. TPA controls how Linux applications access the network through IOS-XR, including update source configuration for routing Linux traffic through specific interfaces, east-west interface forwarding between VRFs, and statistics collection for monitoring TPA activity.

Diagram
NameTypeConstraintMandatoryDefault Value
tpaClass[tpa]No

NameTypeConstraintMandatoryDefault Value
loggingClass[logging]No
statisticsClass[statistics]No
vrfsList[vrfs]No

NameTypeConstraintMandatoryDefault Value
file_max_size_kbIntegermin: 1No
rotation_max_filesIntegermin: 1No

statistics (iosxr.devices.configuration.tpa)

Section titled “statistics (iosxr.devices.configuration.tpa)”
NameTypeConstraintMandatoryDefault Value
disableBooleantrue, falseNo
max_intf_eventsIntegermin: 1No
max_lpts_eventsIntegermin: 1No
update_frequencyIntegermin: 1No

NameTypeConstraintMandatoryDefault Value
nameStringYes
address_family_ipv4Class[address_family_ipv4]No
address_family_ipv6Class[address_family_ipv6]No
east_west_interfacesList[east_west_interfaces]No

address_family_ipv4 (iosxr.devices.configuration.tpa.vrfs)

Section titled “address_family_ipv4 (iosxr.devices.configuration.tpa.vrfs)”
NameTypeConstraintMandatoryDefault Value
default_route_mgmtBooleantrue, falseNo
update_sourceStringNo
update_source_active_managementBooleantrue, falseNo

east_west_interfaces (iosxr.devices.configuration.tpa.vrfs)

Section titled “east_west_interfaces (iosxr.devices.configuration.tpa.vrfs)”
NameTypeConstraintMandatoryDefault Value
nameStringYes

Example-1: TPA with statistics and logging

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
tpa:
statistics:
update_frequency: 60
max_lpts_events: 10000000
max_intf_events: 10000000
logging:
file_max_size_kb: 1024
rotation_max_files: 10
vrfs:
- name: default
address_family_ipv4:
default_route_mgmt: true
address_family_ipv6:
default_route_mgmt: true

Example-2: TPA with update source and east-west interfaces

iosxr:
devices:
- name: router-1
host: 10.10.10.1:57400
configuration:
hostname: router-1
tpa:
statistics:
update_frequency: 120
vrfs:
- name: default
address_family_ipv4:
default_route_mgmt: true
update_source: GigabitEthernet0/0/0/0
address_family_ipv6:
default_route_mgmt: true
update_source: GigabitEthernet0/0/0/0
east_west_interfaces:
- name: GigabitEthernet0/0/0/1