1process reader {
2	run "##OBJDIR##/api-exabgp" -t 10 "##OBJDIR##/attr.fifo";
3	encoder text;
4}
5
6neighbor 10.12.57.1 {
7	router-id 10.12.57.2;
8	local-address 10.12.57.2;
9	local-as 64501;
10	peer-as 64500;
11	group-updates;
12	adj-rib-in false;
13	passive false;
14
15	family {
16		ipv4 unicast;
17	}
18
19	api {
20		processes [ reader ];
21		neighbor-changes;
22		receive {
23			parsed;
24			update;
25			notification;
26		}
27	}
28}
29
30neighbor 10.12.57.1 {
31	router-id 10.12.57.3;
32	local-address 10.12.57.3;
33	local-as 64502;
34	peer-as 64500;
35	group-updates;
36	adj-rib-in false;
37	passive false;
38
39	family {
40		ipv4 unicast;
41	}
42
43	static {
44		route 10.12.0.0/24 next-hop self;
45		# aggregator
46		route 10.12.1.0/24 next-hop self attribute [ 0x07 0xc0 0x02 ];
47		# communities
48		route 10.12.2.0/24 next-hop self attribute [ 0x08 0xc0 0x02 ];
49		# ext communities
50		route 10.12.3.0/24 next-hop self attribute [ 0x10 0xc0 0x02 ];
51		# as4-path
52		route 10.12.4.0/24 next-hop self attribute [ 0x11 0xc0 0x02 ];
53		# as4-aggregator
54		route 10.12.5.0/24 next-hop self attribute [ 0x12 0xc0 0x02 ];
55		# large communities
56		route 10.12.6.0/24 next-hop self attribute [ 0x20 0xc0 0x02 ];
57		# OTC
58		route 10.12.7.0/24 next-hop self attribute [ 0x23 0xc0 0x02 ];
59	}
60}
61