next up previous contents index
Next: 17. Restructuring ns node Up: 16. Satellite Networking in Previous: 16.3.3 Detailed look at

   
16.4 Commands at a glance

Following is a list of commands related to satellite networking:

$ns_ satnode-polar alt inc lon alpha plane linkargs chan
This a simulator wrapper method for creating a polar satellite node. Two links, uplink and downlink, are created along with two channels, uplink channel and downlink channel. <alt> is the polar satellite altitude, <inc> is orbit inclination w.r.t equator, <lon> is the longitude of ascending node, <alpha> gives the initial position of the satellite along this orbit, <plane> defines the plane of the polar satellite. <linkargs> is a list of link argument options that defines the network interface (like LL, Qtype, Qlim, PHY, MAC etc).

$ns_ satnode-geo lon linkargs chan
This is a wrapper method for creating a geo satellite node that first creates a satnode plus two link interfaces (uplink and downlink) plus two satellite channels (uplink and downlink). <chan> defines the type of channel.

$ns_ satnode-geo-repeater lon chan
This is a wrapper method for making a geo satellite repeater node that first creates a satnode plus two link interfaces (uplink and downlink) plus two satellite channels (uplink and downlink).

$ns_ satnode-terminal lat lon
This is a wrapper method that simply creates a terminal node. The <lat> and <lon> defines the latitude and longitude respectively of the terminal.

$ns_ satnode type args
This is a more primitive method for creating satnodes of type <type> which can be polar, geo or terminal.

$satnode add-interface type ll qtype qlim mac_bw phy
This is an internal method of Node/SatNode that sets up link layer, mac layer, interface queue and physical layer structures for the satellite nodes.

$satnode add-isl ltype node1 node2 bw qtype qlim
This method creates an ISL (inter-satellite link) between the two nodes. The link type (inter, intra or cross-seam), BW of the link, the queue-type and queue-limit are all specified.

$satnode add-gsl ltype opt_ll opt_ifq opt_qlim opt_mac opt_bw opt_phy opt_inlink opt_outlink
This method creates a GSL (ground to satellite link). First a network stack is created that is defined by LL, IfQ, Qlim, MAC, BW and PHY layers. Next the node is attached to the channel inlink and outlink.


next up previous contents index
Next: 17. Restructuring ns node Up: 16. Satellite Networking in Previous: 16.3.3 Detailed look at

2000-08-24