Changes between Version 16 and Version 17 of NeoContainers
- Timestamp:
- Oct 2, 2015 2:16:43 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NeoContainers
v16 v17 38 38 39 39 3. Use the NS file to create a containerized experiment using the existing containers scripts (on users): {{{/share/containers/containerize.py [group] [experiment] [ns file]}}}. Note that the experiment must currently be created in the {{{Deter}}} group as that's where the custom images are. This will change. 40 41 The final NS file will look something like this. 42 43 {{{ 44 set ns [new Simulator] 45 source tb_compat.tcl 46 47 tb-make-soft-vtype container0 {pc2133 MicroCloud} 48 set pnode(0000) [$ns node] 49 tb-set-node-os ${pnode(0000)} CONT-BASE 50 tb-set-hardware ${pnode(0000)} container0 51 tb-set-node-failure-action ${pnode(0000)} "nonfatal" 52 53 $ns rtproto Static 54 $ns run 55 }}} 56 40 57 41 58 4. Modify the NS file generated by {{{containerize.py}}} to have a new image for the pnode machines. Navigate to the new experiment page and click {{{Modify Experiment}}}. Change the OS type of the pnodes to {{{PNODE_BASE}}} and the hardware type to {{{MicroCloud}}}. I.e. for each pnode in the NS file, make the lines have the form: