# # BGP4/test/dictionary.dml # # A repository of reusable simulation parts. # # a simple AS with 1 router and 1 host simple_AS [ AS_status boundary router [ id 1 _extends .bgprtr ] host [ id 101 _extends .basic_host ] link [ attach 1(0) attach 101(0) delay 0.001 ] # attach router to host ] # a simple AS with 1 router and 1 client/server host simple_cs_AS [ AS_status boundary router [ id 1 _extends .bgprtr ] host [ id 101 _extends .cs_host ] link [ attach 1(0) attach 101(0) delay 0.001 ] # attach router to host ] # a router running BGP bgprtr [ graph [ ProtocolSession [ name bgp use SSF.OS.BGP4.BGPSession autoconfig true ] ProtocolSession [ name socket use SSF.OS.Socket.socketMaster ] ProtocolSession [ name tcp use SSF.OS.TCP.tcpSessionMaster ] ProtocolSession [ name ip use SSF.OS.IP warn_packet_drop true warn_no_route true ] ] interface [ idrange [ from 0 to 5 ] ] ] # a router running BGP and OSPF bgp_ospf_rtr [ graph [ ProtocolSession [ name bgp use SSF.OS.BGP4.BGPSession autoconfig true ] ProtocolSession [ name ospf use SSF.OS.OSPF.sOSPF ] ProtocolSession [ name socket use SSF.OS.Socket.socketMaster ] ProtocolSession [ name tcp use SSF.OS.TCP.tcpSessionMaster ] ProtocolSession [ name ip use SSF.OS.IP warn_packet_drop true warn_no_route true ] ] interface [ idrange [ from 0 to 6 ] ] ] # a basic host basic_host [ graph [ ProtocolSession [ name ip use SSF.OS.IP ] ] interface [ id 0 ] route [ dest default interface 0 ] ] # a quiet client/server host with frequency of 6 cs_host [ graph [ ProtocolSession [ name ip use SSF.OS.IP ] ProtocolSession [ name test use SSF.OS.BGP4.test.App.AppSession sender true dest all frequency 6 receiver true verbose false ] ] interface [ id 0 ] route [ dest default interface 0 ] ] basic_neighbor [ hold_time 90 keep_alive_time 30 min_adver_time 30 infilter [ _extends .filters.permit_all ] outfilter [ _extends .filters.permit_all ] ] filters [ permit_all [ clause [ precedence 1 predicate [] action [ primary permit ] ] ] deny_all [ # zero clauses => deny all routes ] ]