Changes between Version 25 and Version 26 of velocity-templates

Show
Ignore:
Timestamp:
06/13/13 10:04:03 (6 years ago)
Author:
ibaldin (IP: 152.54.9.21)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • velocity-templates

    v25 v26  
    11 
    22== Overview == 
    3 A post-boot script can be added to any node within a slice. This script can be written in any language that can be interpreted by the compute node (that said, the most common script language in use is shell or Bash). The script is executed immediately after boot is complete. Prior to execution these scripts are processed by a Velocity template engine inside ORCA that performs macro substitutions and allows the script to reference entities within the slice (virtual machines, network links, etc.) as objects. In addition, Velocity is a Turing-complete language suitable for code auto-generation using macros like #foreach ad #if. This represents a rich 'network scripting' capability within substrates running ORCA. 
     3A post-boot script can be added to any node within a slice. This script can be written in any language that can be interpreted by the compute node (that said, the most common script language in use is shell or Bash). The script is executed immediately after boot is complete. Prior to execution these scripts are processed by a Velocity template engine inside ORCA that performs macro substitutions and allows the script to reference entities within the slice (virtual machines, network links, etc.) as objects. In addition, Velocity is a Turing-complete language suitable for code auto-generation using macros like #foreach and #if. This represents a rich 'network scripting' capability within substrates running ORCA. 
    44 
    55This document explains the use of the templating features in post-boot scripts. Post-boot scripts can be specified natively in Flukes, or as [wiki:orca-and-rspec RSpec extension].