Changes between Version 16 and Version 17 of NeoContainers


Ignore:
Timestamp:
Oct 2, 2015 2:16:43 PM (9 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NeoContainers

    v16 v17  
    3838
    39393. 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
     41The final NS file will look something like this.
     42
     43{{{
     44set ns [new Simulator]
     45source tb_compat.tcl
     46
     47tb-make-soft-vtype container0 {pc2133 MicroCloud}
     48set pnode(0000) [$ns node]
     49tb-set-node-os ${pnode(0000)} CONT-BASE
     50tb-set-hardware ${pnode(0000)} container0
     51tb-set-node-failure-action ${pnode(0000)} "nonfatal"
     52
     53$ns rtproto Static
     54$ns run
     55}}}
     56
    4057
    41584. 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: