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
devicesListdevicesNo
device_groupsListdevice_groupsNo
globalClassglobalNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
configurationClassconfigurationNo

NameTypeConstraintMandatoryDefault Value
tpaClasstpaNo

NameTypeConstraintMandatoryDefault Value
loggingClassloggingNo
statisticsClassstatisticsNo
vrfsListvrfsNo

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_ipv4Classaddress_family_ipv4No
address_family_ipv6Classaddress_family_ipv6No
east_west_interfacesListeast_west_interfacesNo

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

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

Section titled “address_family_ipv6 (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