process parsed-route-backend {
	run ./run/syslog-1.py;
	encoder json;
}

neighbor 10.0.0.3 {
	description "will pass received routes to the program";
	router-id 10.0.0.2;
	local-address 10.0.0.2;
	local-as 123456;
	peer-as 123456;
	hold-time 180;

	capability {
		multi-session;
	}

	api {
		processes [ parsed-route-backend ];
		receive {
			parsed;
			update;
		}
	}

	static {
		route 10.0.0.0/24 next-hop 192.0.2.1;
		route 10.0.1.0/24 next-hop 192.0.2.1;
		route 10.0.2.0/24 next-hop 192.0.2.1;
		route 10.0.3.0/24 next-hop 192.0.2.1;

		route 2A02:B80:0:1::/64 next-hop 2A02:B80:0:2::1 community [30740:0 30740:30740] local-preference 200;
	}
}
