Changes between Version 1 and Version 2 of Tutorial/HowtoWriteScripts/OrbitRuby
- Timestamp:
- Sep 5, 2006, 8:40:49 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorial/HowtoWriteScripts/OrbitRuby
v1 v2 6 6 )'', ''info( 7 7 )'', and ''debug( 8 )''. How do they work? Like assertions? What arguments do they take? Besides these debugging methods, there are three classes of ORBIT-specific methods discussed below: implicit, Experiment, and NodeSet.8 )''. How do they work? Like assertions? What arguments do they take? Besides these debugging methods, there are three classes of ORBIT-specific methods discussed below: implicit, Experiment, and !NodeSet. 9 9 10 10 Among the implicit methods two are used to define resources: … … 36 36 It is anticipated that the 'Experiment' prefix will be removed in future versions. 37 37 38 Other ORBIT-specific methods are NodeSet methods that set properties for the specified set of nodes. They have the form38 Other ORBIT-specific methods are !NodeSet methods that set properties for the specified set of nodes. They have the form 39 39 {{{ 40 40 NodeSet ( nodes(setName).method ) … … 63 63 with other node sets: [nodeSet1, nodeSet2] 64 64 }}} 65 These methods are useful for declaring common functionality over multiple sets. The various network parameters that may be configured within a defNodes orallNodes block are shown in Figure 9 below, here the first and second Ethernet interfaces are e0 and e1, and the first and second wireless interfaces are w0 and w1.65 These methods are useful for declaring common functionality over multiple sets. The various network parameters that may be configured within a !defNodes or !allNodes block are shown in Figure 9 below, here the first and second Ethernet interfaces are e0 and e1, and the first and second wireless interfaces are w0 and w1. 66 66 67 67 {{{