pub mod test_cache; pub mod test_peer; pub mod test_server; /// The policy a peer has with nothing configured, but for one thing: the /// peers of these tests are all at 127.0.0.1, which no route can have as /// its next hop, so their routes name another. pub fn default_policy() -> bgp_server::policy::ImportPolicy { bgp_server::policy::ImportPolicy { accept_third_party_next_hop: true, ..Default::default() } }